I have a bigger network of hundreds of zaps connected by webhooks. They are all using code steps running javascript functions to clean data, run scripts, make fetches, ect.
Needless to say, many of the functions I am using have to be reused across zaps, and managing them is increasingly becomming difficult. If I have to change one function/parameter, I have to change it manually in all zaps. Exporting the zaps is not possible, as the webhook triggers are changed once they are imported (sadly).
I am looking for a way to centralize my common functions, but haven't been able to figure out a solution that would work.
So far:
I tried to convert functions into strings, save them through the
store
function and then usenew Function()
to convert them back to functions. This didn't work well, especially when trying to use complex functions.I also considered building my own Zapier App, where I easily could store common functions which seems as a good solution. The problem here is that I would end up with 150 different "create" steps, which wouldn't be very easy to use. I haven't been able to find anywhere if it is possible to have "dynamic" create-steps just as the
inputFields
where you can search to find the options you need.
Maybe there exist a "modifiable" code app for Zapier, where I can define my functions and add them to an code editor so it is thereby supercharged with my functions? That would be cool.
I am hoping that I am missing some obvious option here, as I am stuck at this moment. I am also pretty sure, that others have been where I am now, I just haven't been able to find the question in here.
Any suggestions?