Question

2 values where combined into 1

  • 24 March 2021
  • 2 replies
  • 146 views

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?

 


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

Userlevel 7
Badge +14

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.

Userlevel 3
Badge +6

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.