Best answer

Can I use an external library when developing a Zapier integration?

  • 4 January 2021
  • 5 replies
  • 492 views

Userlevel 2
Badge

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?

icon

Best answer by ikbelkirasan 4 January 2021, 11:16

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Userlevel 7
Badge +12

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

Userlevel 2
Badge

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?

Userlevel 7
Badge +12

@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!

Userlevel 2
Badge

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

Userlevel 7
Badge +12

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