• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

How to split Multiple Records returned in API

fisto

Member
I have an "API By Pabbly" event that returns several records at once. I need each record (each set of OpportunitiesData1, Opportuntunities Data2, etc) to then be sent to a different POST API.

What is the best way to split each record set individually? Please note that it is not a fixed number of records that are sent, that quantity will always change.

1692142154458.png
1692142200848.png
1692142247274.png
 
P

Pabblymember11

Guest
Hey @fisto

Regarding your concern, you should have recorded the API response in advance response by toggling the "Simple Response" button.

Please check the following screenshot -

1692173801679.png
 

fisto

Member
I have updated it like you said.

But that isn't the problem. Please review the screenshots in my original post.

I need each record (each set of OpportunitiesData1, Opportuntunities Data2, etc) to then be sent to a different POST API.
 
P

Pabblymember11

Guest
In that case, you can make use of the Iterator action step to process the individual key-value data one by one.

You may also refer to the following video lesson on the same.

 

fisto

Member
I did that, but it only shows one set of values. I need each set of values individually.

Please check my Workflow URL again and help me troubleshoot where I am going wrong. Thank you.
 
P

Pabblymember11

Guest
Please note that while setting up the workflow using an iterator it will only show you 1st item of the array, but when the workflow actually triggers it will send messages to all the numbers in the array.
 

fisto

Member
I don't understand this at all.

Suppose I want to add all this data to a Google sheet.

There are 12 sets of Opportunities Data. I want each set to be it's own column.

And then each set of data has 8 variables, which will be the rows.

How can I do this, if Pabbly only outputs the first set of data in the iterator?
 
P

Pabblymember11

Guest
Can you please provide a short video on how you want the data to be shown in the desired application?
 
P

Pabblymember11

Guest
We couldn't find any action step in your shared workflow where you have tried that and having the issue.

1692337889386.png

Also, shuffling line products and passing in column-wise in a row is currently not possible.
 

fisto

Member
Is there someone else who can assist me with this? I've gone back and forth with you for 5 days, and you are still unable to understand what I wrote about in the first post.

It isn't complicated at all.
 
Top