Updating woocommerce order status to google sheets with multiple items

Asim

Member
Hi everyone,

I created a workflow with Iterator to add woocommerce new order that has multiple items to google sheets and is working fine and adding multiple rows for orders that has more than one item.

Now, I need to create another workflow to update the order status once changed in woocommerce to the existing orders with multiple items in google sheets. I used "Lookup spreadsheet rows" which gives more than one row index and didn't know how to map them in next action.

Your help is extremely appreciated.

Thanks,
Asim
 

ArshilAhmad

Well-known member
Staff member
Hi @Asim,

You can disable Simple Response, then click on 'Save & Send Test Request.' This will give you a response in the form of an array. Next, you can add an Iterator to your workflow and map the Iterator response in the 'Update Cell Value' action step. The Iterator will allow you to iterate through all the rows that contain the specific ID and update those cells.
1705868257089.png
 
Top