Skip to main content
Best answer

Arrays inside Line Items

  • September 24, 2020
  • 2 replies
  • 208 views

Openside
Forum|alt.badge.img+3

Hi team,

 i'm still having issues dealing with arrays inside of line items.  I made video disclosing the issue and would love to see if any plans to address this bug:

https://www.loom.com/share/9fe1f4e241cf4dcbba32a08d1be5280b

Best answer by Troy Tessalone

Here’s the response I got from Zapier Support the other day when following up on this same issue:

I checked into the progress on the bug, and a fair bit of research has been done and it has progressed in a manner of speaking, but isn't solved yet. Our team is still looking for options to handle this better on a platform level.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

andywingrave
Forum|alt.badge.img+9
  • Zapier Expert
  • 854 replies
  • October 3, 2020

Hey! I have come up against this a lot, and I’m sad to say there’s no true workaround without code. 

 

The best way to handle it I’ve found is to perform an API request inside a code step so you can handle the JSON response in a typical way. 

 

Alternatively, Add two Formatter Steps and a Code Step. The Formatter Steps are for converting the Line Items of the value name and value into text separated by something that doesn't appear in the names or values. e.g - use three pipes "|||". We can feed the text into a Code Step to output an object with the names as keys and the values as values.

Honestly? You’re better off using JavaScript +Requests though - It’s more efficient. 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30916 replies
  • Answer
  • October 3, 2020

Here’s the response I got from Zapier Support the other day when following up on this same issue:

I checked into the progress on the bug, and a fair bit of research has been done and it has progressed in a manner of speaking, but isn't solved yet. Our team is still looking for options to handle this better on a platform level.