• 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

Nested Iterators

sb96

Member
Hi all!

I am trying to process a json response which takes a format similar to the example format below. What I want to do is I want to create an airtable element for each option of each element in the outer list.

The way I thought of implementing this is to have two nested Pabbly iterators, one going over the elements of the outer list, and then a following one to go over each element's options.

However, when I run the integrations, it seems to only process the first option of the first element (i.e. name="first element", optionId=1, value="yes").
What could I be doing wrong? Am I actually able to use nested iterators? I know in other tools like Zapier this isn't possible, but Pabbly let me create the iterators, so I was hoping that was possible?

Attaching also a screenshot of the shape of my workflow at the bottom.

Code:
[
{
    "name": "first element",
    "options": [
        {
            "optionId": 1,
            "value": "yes"
        }
    ]
},
{
    "name": "second element",
    "options": [
        {
            "optionId": 1,
            "value": "no"
        },
        {
            "optionId": 2,
            "value": "yes"
        }
    ]
},
{
    "name": "third element",
    "options": [
        {
            "optionId": 1,
            "value": "yes"
        },
        {
            "optionId": 2,
            "value": "yes"
        }
    ]
}, ...

]







Screenshot 2024-10-30 at 17.58.34.png
 
Top