Skip to main content

I’m currently creating a zapier and xero automation where I need to add multiple items in Xero,

Currently, Crete Quote Draft function in Zapier only accepts 1 Line item field.

 

I also tried to create custom step but still receiving error. I hope you can help in achieving this.

Hi ​@AAC 

For us to have more info, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings visible in the CONFIGURE tab so we can see the field types.

TIP: Click field labels to see tooltips with more info.


Thanks Troy,

This is the Zap Step/Flow that I created.

 

The Quoted items under Line Items is what I needed since in Xero, there are 3 line items or rows in draft quote. I want to create multiple line items. I tried to do custom action but receiving failed api whenever I test it.

 


@AAC 

The Line Items section handles line items.

If you are trying to have more than 1 line item, then the data needs to be structured as an array of items.

e.g. If you want to line items, then each field in the line items section that is populated must have data structured as an array with 2 items.

 

Help links for handling arrays in Zaps: 

Help link for expected values in dropdown lists: https://help.zapier.com/hc/en-us/articles/8496241696141-Add-custom-values-to-dropdown-menu-fields-in-Zaps

 

 


Thank you!

I might need further support items with Array to manage items.

How can I array result from LeadConnector as Trigger?

I believe with single Item entry like Item Code, I can stack the result output as such however for Description, It is a mix of varying contents for every Line Item and each will require custom variables to be captured.

 


@AAC 

Depends on how the data from the Zap step you are trying to use is formatted as DATA OUT.

It may already be structured as an array.

 

Help links for handling arrays in Zaps: 

 

Apps & Actions

Help: https://help.zapier.com/hc/en-us/articles/8496277737997

Zap apps/actions to use to handle arrays with line items in Zapier...

+ App Actions (with Line Item Support)


Hey ​@AAC, just checking in 👋 Did Troy’s replies help to point you in the right direction? 

Let us know if you still need any help with those line items, want to make sure you’re all set! 🙂