Skip to main content

Using Shopify as our trigger for new order, and we want to get the 2 uploaded file value(link) we can see the 2 values on our test trigger, But in the next step the 2 values are combined.

Any tip on how I can get those different values separately?

 

Hi @Jhon 

Shopify data can be a bit tricky to use especially for the custom fields that come thru in what’s know as an array (aka line items).

Try using options in the Formatter > Utilities app: https://zapier.com/help/doc/how-use-line-items-formatterv2

Otherwise, you may have to take a more advanced approach and use a Code step to isolate the desired data points: https://zapier.com/apps/code/help

 

Will there ALWAYS be 2 images?

Keep in mind, that if there could be 0 images, 1 image, 2 images, 2+ images, then your Zap logic may have to be more dynamic, so always be sure to TEST the different use cases.


Hey @Jhon,

Just checking in here, did the information from Troy help out?

The Formatter’s Utilities - Line Item to Text action can break the line item array out into multiple individual items. However, it will be important to note that the position of the items may change if their position in the order changes from order to order.