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

Iterate via a comma separated list

bnicholes

Member
Hello,

I have data coming in as a string. Sometimes the data has multiple elements separated by a comma, other times not.

What I would like to do is test to see if there are multiple elements, and if so, then perform an action over each of the items in the list.

For example, here is my input data: "[email protected],[email protected],[email protected]"

I would like to add each of these three emails onto a subscriber list separately.

Please help.

Thanks,
Ben
 
P

Pabblymember11

Guest
Hey @bnicholes

Could you please share the name of the workflow in which you want to pass the Line items? So that we can look into it and can guide you accordingly.
 

bnicholes

Member
Hello, yes,

The workflow I am referring to is "New Sales Sheet -- Automatic Sale Notification".

The use case I am trying to accomplish is exactly what is described in my first post above. I have a comma separated list and I want to iterate over these values and add them all to an email subscriber list.

Thanks,
Ben
 
P

Pabblymember11

Guest
Hey @bnicholes

If you want to use the Iterator action step you need to first convert/take the email address in the JSON array format and then can pass the data in format.

Please check the following screenshot for your better understanding.

1656747867775.png
 
Top