Skip to main content
Best answer

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


alexb
Forum|alt.badge.img

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?

Best answer by ikbelkirasanBest answer by ikbelkirasan

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

View original
Did this topic help you find an answer to your question?
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

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • Answer
  • January 4, 2021

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


alexb
Forum|alt.badge.img
  • Author
  • Tinkerer
  • 16 replies
  • January 4, 2021

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?


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • January 4, 2021

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


alexb
Forum|alt.badge.img
  • Author
  • Tinkerer
  • 16 replies
  • January 4, 2021

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


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • January 4, 2021

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