Skip to main content

Hi Zapier community.

 

I’m developing a custom Zapier integration, and therefore also developing my a custom trigger.

This trigger uses the “code mode”.

 

Now I have to do some checks on the response body, to determine if the request was valid or invalid (because the underlying API is a Graphql API, it will always respond with status code 200).

Can I for example require lodash to make this more easy?

In general, what javascript runtime am I developing in here?

Hi @alexb - That’s only possible with integrations built with the CLI instead of the Visual Builder.


Ok I will start looking more into the CLI then 😀

Is it possible with the CLI to have all the zapier setting in version control and then “just” sync them to zapier with the CLI when there are changes?


@alexb - I don’t think it’s possible right now. Actually, I thought of building a similar tool before that would allow me to push the app and update its name, description, logo etc from a config file that’s included in the app repository. However, I didn’t have time to implement it. Might do that in the near future!


Ok - I will just update my triggers by including a bit more javascript then 😇


Yeah, should be easier! Also, don’t forget to choose the best answer ;)