• 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

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

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
 
D

Deleted member 15445

Guest
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