• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Choose only a few items inside an iterator

Akiladevi

Member
Hi Pabbly support team,

The Pabbly account I handle is [email protected]. The workflow is called the WooCommerce to Master Revenue sheet. In this workflow, I fetched the data from the webhook. This workflow fetches Woocommerce order data and stores it in a Google sheet. The workflow should be able to handle even if there are multiple items in a single order. For that, I used an iterator for Line item[ ]. Inside Line item[ ] there is another array called Meta data[ ]. I used another iterator for Meta data, but the problem is that the Meta data[ ] has many items like id:55812, id:55813, id:55814, id:55827, id:55828, id:55829, and so on. Out of these I need only [{"key":"Translation","value":"Russian","id":"1725237117","raw_value":"Russian","raw_price":38,"price_type":"flat_fee"},{"key":"Transcription","value":"Russian","id":"1725237118","raw_value":"Russian","raw_price":99,"price_type":"flat_fee"}]}

How to pick only a few items from the iterator?
Link to the workflow:https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTZjMDYzMzA0Mzc1MjY0NTUzZDUxMzci_pc

Thanks in advance,
Regards,
Akila.
 

ArshilAhmad

Moderator
Staff member
Hi @Akiladevi,

You can add a Filter step after the Iterator and set the filter conditions as per your need. This will ensure that the following steps are executed only if the filter conditions are met.
 
Top