Skip to main content
An incoming event is a request that your system sends to ImpelLabs. ImpelLabs checks it, keeps it once, and raises an event that a workflow can start on. A webhook can listen to the same event. You make one receiver for each sender. A receiver has its own address and its own secret. The secret is yours, and no other workspace can use it.

Make a receiver

Any member can read receivers. Only an owner or an admin can make, change, rotate or remove one.
The reply has status 201. It is the receiver, and it carries the secret once. Store it now.
The request takes these fields. The event name is in.<prefix>.received. The prefix comes from the label. It is unique in the workspace.

Choose how a request is checked

verify.scheme is one of these. For hmac_sha256 and hmac_sha1, verify.header is required. You can also set verify.prefix (up to 20 characters, removed from the header before the check, such as sha256=) and verify.encoding (hex, the default, or base64). A bad verify returns 400 with the key verify.

Send an event

Send a POST with a JSON body, or with a form body (application/x-www-form-urlencoded). The body can be up to 256 KB.
The address needs no bearer token. The check of the scheme is the sign-in. ImpelLabs keeps each event once for each receiver and event id. It reads the id from the webhook-id header, then from the X-Event-Id header, then from id_path in the body. With none of them, it uses a hash of the body. Send a stable id so that a retry of yours is safe.

What ImpelLabs raises

For each stored request, ImpelLabs raises the event in.<prefix>.received with this data.
data is your body. object_id is the id key of the body, or empty. A body that is larger than 20000 characters once written as text is replaced by {"_cut": true}. The event is in the catalogue only while the receiver is on. Start a workflow on it, or choose it in a webhook. See event types. The list of deliveries shows what came and what it raised, never the body. Each item has id, external_id, status (received, done, refused or failed), event, error and at.

Lead sources

A lead source of the kind webhook is a receiver that also turns each event into a contact. It takes the same verify, secret and id_path. See forms and leads.

Events of a connected tool

When you connect a tool, ImpelLabs finds the events the tool can send, and the reads it can repeat on a schedule. Each one is off until you switch it on.
An event that the tool sends to ImpelLabs has its own address and its own check. The reply of PATCH shows both. A read on a schedule takes every_minutes (1 to 1440) and sometimes an input. The tool must be connected with your own account. Switching on a read that needs an input that you did not give returns 400.