Articles in this section

Webhook listeners overview

A webhook listener is a flow source in integrator.io that receives data pushed from another application the moment an event happens there. Instead of checking the source application on a schedule, your flow starts as soon as the application sends an HTTP POST or PUT request to the listener's URL. Use this article to decide whether a listener fits your integration and to learn the concepts you need before you build one.

How webhook listeners work

A webhook listener connects two pieces of configuration: a webhook in your source application and a listener in integrator.io.

  1. You create a listener in integrator.io. The listener generates a public URL that accepts incoming requests.
  2. You configure a webhook in the source application to send an HTTP POST or PUT request to that URL when a specific event occurs, such as an order being created.
  3. When the event occurs, the source application sends the request. The listener verifies it, accepts the data, and starts the flow with that data.

The flow step that follows the listener must use a connection that's available to receive data. If that connection isn't available, records from the listener can't continue through the flow.

Tip: Applications use different names for webhooks, such as callbacks, event subscriptions, or notifications. Check your source application's API documentation for the term it uses.

Listeners compared with exports

Listeners and exports are both flow sources, but they get data in opposite ways.

Listener Export
How data arrives The source application pushes data to integrator.io when an event occurs. integrator.io pulls data from the source application.
When the flow runs As soon as a request arrives. On a schedule or when triggered.
Best for Real-time updates from applications that support webhooks. Applications that can't send webhooks, and scheduled retrieval.

Use a listener when you need data in near real time and the source application can send webhooks. Use an export when the application can't send webhooks or when you need to retrieve records on a schedule.

Webhook connection types

You can create a webhook listener with either of two connection types:

  • Universal webhook connection — Works with any application that can send webhooks. It provides the full set of listener settings.
  • Webhook-supported application connection — A connection to an application that natively supports webhooks. It offers two views: Simple, which shows only the fields specific to that application, and Webhook, which shows the same full set of settings as a universal webhook connection.

Choose the Simple view when you want the application-specific setup. Choose the Webhook view or a universal webhook connection when you need full control over security, responses, or payload handling, or when you work with several applications and want one consistent setup.

Where listeners live

You typically create a listener as the source step of a flow in the flow builder. You can also create a listener as a standalone export from Resources > Exports and add it to a flow later.

Stop receiving webhook data

To stop a source application from sending data to integrator.io, disable the webhook in the source application. integrator.io can't turn off another application's webhook.

Two actions in integrator.io don't stop the source application from sending requests:

  • Refreshing the listener's token resets the listener's configuration in integrator.io only. The source application keeps sending requests to the same URL.
  • Turning off the flow doesn't stop requests either. integrator.io drops requests that arrive while the flow is off. Dropped requests aren't queued and aren't processed when you turn the flow back on.

Restrict webhook requests by IP address

You can limit a webhook listener to requests from specific IP addresses by assigning it a network policy. Requests from any other address receive HTTP 403, and the flow doesn't run. A webhook listener with no policy accepts requests from any address. Only account owners and administrators can assign a network policy. For steps, see Assign a network policy. To learn how network policies work, see Network policies overview.