• 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.

  • Due to Diwali and Bhai Dooj celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed. Normal operations will resume on Friday, 24th October 2025.

Sort/Reverse Order of Array

acg

Member
How do I sort or reverse the order of an array before using the Pabbly Iterator?

I have an array that is a chat conversation. It is sent to Pabbly via webhook ordered newest --> oldest, but I need to reverse the order to oldest --> newest and then iterate.

As a reference, I previously did this in Integromat using the reverse(array[]) command, but I can't figure out how to do it in Pabbly.
 

Pabbly

Administrator
Staff member
You can use Array function for that as shown below -

1641184713720.png
 

acg

Member
Thanks! Once it is reversed, it seems that the iterator is no longer able to find it. How do I aggregate the the entire result as text for a future step?
 
P

Pabblymember11

Guest
Hey @acg

We have checked the function again and it is working accordingly. You might be confusing because Iterator only shows single line item data at a time in the workflow though while execution it will take all the entities one by one.

Sample Screenshot -

2022-01-04_11h11_25.png
 
Top