• 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

ITERATOR: how to select most recent response by data

dodosport

Member
Your Task History ID
test
Good morning,

I'm creating a workflow regarding my loyalty program: I want to send the datas of a fidelity card if the owner asks for them.

I'm facing an issue at the step when I ask with a API call to retrive all records of a fidelity card to my CRM.
The response is set on SIMPLE RESPONSE and it's the list of the records from the date of creation of the fidelity card.

Now I created a step with ITERATOR to separate datas received and it works.
But now I want to select only the 3 most recent records (ordered by data) how can I do that?

Thanks if someone could help me.

Tobia
 

Luv

Member
Staff member
Hey @dodosport

It appears that the API step will extract all the cards and it is not possible to stop the iterator in between the execution only for 3 cards.

Kindly check the API doc, for the application that you are using, if it has an endpoint where you can specify a number of latest cards to fetch.

Let us know if it works for you.
 
Top