How To handle Variable Data

CWD

Member
Hi,

I am trying to capture order information in the square from a Webhook. Each order has a different amount of items on the order. How would i set up mapping to take into account the different amount of iteams in each order?


Cheers

Chris
 
P

Pabblymember11

Guest
Hey @CWD

If you getting multiple line items from your trigger response, you can use the Iterator action step which will process your order one by one.

For this, you need to first capture the webhook response in advance response by turning off the "Simple Response" which will receive data in JSON format. And then you can use that data in the ITerator action step.

Kindly try this at your end and let us know if that works for you.

 
Top