I’m getting started with the Zapier CLI and I definitely would rather use rest hooks than polling. As I’m going through the CLI tutorial I see the example for creating a trigger file and it describes the convention as using a folder named “triggers”. I’m looking at the “How to use resthooks” section of the CLI documentation and I’m confused about the folder convention and file structure of these subscribeHook and unsubscribeHook functions. Are these resthook functions supposed to be separate files or are these functions supposed to be in my trigger file etc? Are there any sample applications that implement resthooks I could take a look at to understand the structure? I’m a backend developer so I understand implementing the resthooks in our API but I’m a little stuck on creating the JavaScript part of the integration via the Zapier CLI.
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.