Reminder: As of August 9th, the demo API key will only be allowed to make GET requests. Please see the announcement for more details.

Using webhooks in workflows

Last updated June 3, 2019

Notes:
  • The webhooks used in workflows are completely separate from the webhooks sent for an OAuth app that would be managed through the Webhooks API. For more details about that type of webhook, please see the documentation here.
  • Webhook actions are only available with an Enterprise subscription. See this article for more details.

For more details on setting up a webhook action in a workflow, see this knowledge article.

The webhook will POST the data for the contact going through the workflow. The data will be the exact same data you'd get when pulling that contact using the Contacts API.

Webhooks follow these rules for connecting and retrying requests:

  • Workflows waits up to 3 seconds to connect to a tcp socket, if this fails we will retry.
  • Workflows waits up to 30 seconds for a response (aka request timeout).
  • Workflows will not retry after receiving 4XX series response status codes.
    • One exception to this rule is 429 rate limit errors; workflows will automatically retry after receiving a 429 response, and will respect the Retry-After header if present.
  • Workflows will retry after receiving a 5xx series error.
    • When we encounter a 5xx error, the request will be retried over the next 3 days before failing permanently.
  • Workflows will issue webhook attempts at up to 20 requests per second.