Hacker News new | ask | show | jobs
by Jiger104 1229 days ago
Zapier has a python / JS code step (basically a AWS lambda) you can use to do something like this. Downside is that it has a timeout of 10s
2 comments

Huh cool thanks I didn’t know that! I guess it’s just another action and not something “native” to Zapier (so if you want to later connect it to some off-the-shelf action you can’t).
You can connect code steps to other actions. For example, every Python code step has a reserved `output` variable which allows you to pass a list out to the next steps. It gets passed as stringified JSON: if it contains dicts, those values are made available automatically as inputs to other steps. You can also pass more complex, nested JSON and just json.loads it later.
And the second downside is that you don't necessarily get the same data as the normal no-code steps...

It's still a mess to manage arrays and arguments auto-split by commas