Skip to main content
For written steps, go to REST Hook trigger implementation guide: Zapier Platform UI.

Video transcript

Unlike polling triggers, where there is a bit of delay between when the trigger event happens and when the Zap actually triggers, REST Hook triggers eliminate this delay. In REST Hook triggers, Zapier does not poll an endpoint constantly, which can be resource-intensive. Instead, when the trigger event happens, a webhook is sent to the associated Zap, immediately triggering the Zap while reducing unnecessary API calls. REST Hooks are particularly valuable because they provide real-time automation capabilities while being more resource-efficient than traditional polling triggers. Before setting up a REST Hook trigger, ensure that your app supports webhook functionality, that your API has an endpoint where existing data can be fetched from the connected account (this would be the polling endpoint used to test the trigger in the Zap editor), and that the data provided by this endpoint is of the exact same schema as that provided in the webhook payload. To set up a REST Hook trigger, start by navigating to the Zapier Platform, and accessing the integration on which this trigger is to be added. On this integration, go to the Triggers page, and click on Add Trigger. Define the trigger’s Key, Label, Noun, and Description. You can ignore the Directions, as that is only useful for static hook triggers, which is a type of trigger where users manually paste a webhook URL into the app. The Directions is used to direct users on where to manually paste this webhook URL. Click Save and continue. Optionally, add input fields if your API requires users to provide values that would be used for the webhook subscription. In the API Configuration section, select REST Hook as the trigger type. Then set up the different configurations. The Subscribe request is the subscription request to your API. This request should send the webhook URL of the associated Zap to your application so that webhook payloads can be sent to that webhook URL. The webhook URL is referenced by bundle.targetUrl. This request, which is usually a POST request, is performed when a user activates a Zap that starts with this REST Hook trigger. The Unsubscribe request is how Zapier notifies your API when a Zap has been deactivated or deleted, so the associated webhook URL is no longer available. This request should delete the webhook URL from your app. Not defining a Subscribe and Unsubscribe request makes the trigger a static hook trigger. This is fine if the intention is for the integration to be private on the Zapier platform, but for an integration intended to be public, the trigger needs to be a subscription trigger. The Perform List, which is usually a GET request, is used to collect sample data in the Zap editor when testing the trigger in the process of setting up the Zap. This request should ideally fetch existing data from the connected account in order to display them in the Zap. The Perform function is called each time your app delivers a webhook payload to Zapier. Here, you can use custom code to parse the webhook payload and modify it as required before returning it to the Zap as trigger data. The data returned from the function must be an array of objects. Then save the configuration. Test this trigger by creating a Zap in your Zapier account using this trigger and any action of your choice. Test the trigger in the Zap editor to confirm that the Perform List works and provides live data from the app. Turn on the Zap to confirm that the subscription is successful. Perform the trigger event in the app to confirm that the webhook is sent to the Zap’s webhook URL and triggers the Zap. Compare the data returned from the Perform, which can be seen in the Zap history, with the data returned from the Perform List, and confirm that they are both in the same format and have the same information in them. Turn off the Zap to confirm that the unsubscription is successful. A successful unsubscription should delete the Zap’s webhook URL from your app. You can monitor the different requests that would get sent during the process by using the Monitoring tool. Back in the trigger setup, you can then define the sample data, which is the data that would be shown to users when they skip the testing of the trigger in the editor. Then define the Output Fields. After these have been done, click the Save Output & Finish button. By doing this, you would have successfully added a REST Hook trigger to your Zapier integration, which can enable users to trigger Zaps in real time.
Last modified on November 18, 2026