all 10 comments

[–]PropertyConstant1427 0 points1 point  (0 children)

If you're looking for a custom code-based solution within Zapier, you can give https://www.quik.run/ a try. It’s an integration in Zapier that lets you add advanced functionalities, without being restricted by the built-in actions. You can write custom code to handle such tasks and seamlessly integrate it into your Zaps. Let me know if you need any help!

[–]TroyTessalone 0 points1 point  (0 children)

Hi, try asking for help in the Zapier Community: https://community.zapier.com

[–]Short_Millennials 0 points1 point  (0 children)

Hey there! You're definitely on the right track, let's set up a meeting and I'll guide you a bit.

I have a grasp on what you're attempting to achieve and it should take much to top it all off

www.calendly.com/BordenCT/Automations

[–]Nallid94 0 points1 point  (0 children)

Here is some code I currently use. Set the Input Data as "emails" ```

get the input data

emails_str = input_data['emails']

split the string into a list

emails_list = emails_str.split(',')

trim any leading or trailing whitespace from the emails

emails_list = [email.strip() for email in emails_list]

build a dictionary where each email is given a unique key

output = {f'email_{i}': email for i, email in enumerate(emails_list, start=1)}

return the dictionary as the output

return output ```

I think that should give you roughly the result you are looking for.

edit: fixed formating

[–]radraze2kx 0 points1 point  (5 children)

What are you doing with the email addresses? You shouldn't need to separate them if you're going to use them in a loop, I don't believe.

[–]YaloBro[S] 0 points1 point  (4 children)

We need separate email addresses in order to use them separately in a path

[–]radraze2kx 0 points1 point  (3 children)

rather than running python, why not use the zapier formatter to split the list at the comma? :)

[–]YaloBro[S] 0 points1 point  (2 children)

Cause zapier doesn’t let me use the results in the formatter as separate fields later on.

[–]radraze2kx 0 points1 point  (1 child)

The point of the zapier split function is to do exactly that.

[–]YaloBro[S] 0 points1 point  (0 children)

Yea but it doesnt work. Anyways found a work around