Skip to content

Webhooks

Webhooks connect Doxtly with other systems in both directions. An incoming webhook is a private web address that belongs to your organization. Another system, such as a shop, a CRM or a payment provider, sends a request to that address whenever something happens, and Doxtly starts your workflow with the data it brought. You want one when an event in another program should produce paperwork in Doxtly without anybody copying data across. An outgoing webhook is the reverse: Doxtly calls the other system whenever an event you chose happens here, such as a contract nearing its end. It has a page of its own; the rest of this page is about incoming webhooks.

Available when: your role includes View webhooks and their requests (creating and changing them takes Manage webhooks)

Webhooks are in the sidebar under Resources > Webhooks. The page has three tabs: Incoming, the addresses themselves, Requests, a log of every call they received, and Outgoing, the outgoing webhooks that send your events elsewhere.

Northbridge Advisory sells training courses through an online shop. When someone pays, the shop calls a webhook named Course orders with the order as JSON. A workflow listening to that webhook generates an invoice request, emails the course confirmation and adds a row to a spreadsheet. Nobody in the office touches it, and every call stays in the Requests log with what it brought and how it was answered.

Other things people connect this way:

  • a CRM that marks a deal as won, which sends the service agreement for signature;
  • a booking system that confirms a course date, which produces the attendance list;
  • a payment provider that reports a refund, which notifies the accounts team.

If you want to send data out to another system, you want the opposite thing: an outgoing webhook to report events as they happen, or the Webhook step to call another system’s API from a workflow. And if a program of yours needs a document back in the same call, use the API instead, because a webhook only says that it took the request.

  1. The other system sends a request to the webhook’s address.
  2. Doxtly checks it: is the webhook on, is the method right, is the caller who it should be, is the data acceptable. A check that fails answers with a status that says why.
  3. A request that passes starts every active workflow listening to the webhook, with the data it brought, and gets the answer you set, by default 202 Accepted. The other system is done at this point.
  4. The workflows carry on by themselves. That’s why the answer can only say the request was taken, never how the workflows ended.
  5. The request appears on the Requests tab with its outcome and the runs it started.
  1. Open Resources > Webhooks and, on the Incoming tab, click New webhook.

  2. Give it a Name, for example Course orders. Leave the rest as it is for now: it takes POST requests, checks a token and answers 202.

  3. Click Create webhook.

  4. The Webhook created window shows the address and the token. Copy both, and click Done. The token is not shown again after this window closes.

  5. Put the address and the token into the other system. Each program has its own settings for this, usually called webhooks or notifications. If a developer does it, send them Calling a webhook.

  6. In the workflow designer, click the workflow’s trigger, set Starts on to Webhook and choose Course orders as the Trigger source. Activate the workflow.

  7. Trigger a real event, or a test one, and check the Requests tab. You should see a green 202 · Accepted and 1 run.

The full list of settings is on Setting up a webhook, and the trigger side on Webhooks and workflows.

The Incoming tab with a search box, a status filter and a table of five webhooks showing method, authentication, status and usage, with the Requests and Outgoing tabs beside it
Column What it shows
Name The webhook’s name. Sortable.
Method The one HTTP method it accepts: POST, PUT, PATCH, DELETE or GET.
Authentication None, Token or Access key, followed by signed when it also checks a signature.
Status Active (green) or Inactive. Sortable.
Usage How many active workflows listen to it, and how many of its requests are kept.
Created The date it was created. Sortable.
Actions The menu described below.

The newest webhooks come first until you sort by a column, 25 to a page. The usage chip turns amber at 0 workflows: the webhook is taking requests that start nothing, which is fine during setup and a problem afterwards.

Two Usage cells, one above the other: an amber 0 workflows chip with 12 requests, and a neutral 1 workflow chip with 349 requests

The request count only covers requests that are still kept, so it can go down when old requests pass your retention period.

Above the table you can search by name and filter by Status (All, Active, Inactive). Each filter you set shows as a chip that you can remove on its own, or all at once with Clear filters. Filters, sorting and the page number are part of the page address, so a filtered view can be bookmarked. If nothing matches you see No matching webhooks, with a Clear filters button.

Click a row to open the webhook’s settings. That takes Manage webhooks: for anyone else the row doesn’t open, because the settings page is the webhook’s only page.

On a phone each webhook is a card with its method, status, authentication, usage and date. A tap opens it, for the same people as a click on a row. Cards can’t be sorted.

One webhook as a card on a phone, with POST and Active at the top and authentication, workflows, requests and date below

An organization with no webhooks sees No webhooks and a short explanation, with a New webhook button if you are allowed to add one.

The empty state reading No webhooks, with a New webhook button
The row menu of a webhook, open, with Show requests, Copy ID and Delete
Item What it does Who sees it
Show requests Opens the Requests tab filtered to this webhook. Everyone who can see webhooks
Copy ID Copies the webhook’s identifier. It is also the last part of its address. Useful for support and for the API. Everyone who can see webhooks, in a browser that allows copying
Delete Deletes the webhook, after you confirm. Refused while a workflow uses it: see Deleting what a workflow uses. People with Manage webhooks
The Delete the webhook? dialog naming the Course orders webhook, with the Used by section and Cancel and Delete

Deleting removes the webhook and every request made to it, content included, and it can’t be undone. Its address stops working at once: callers get a 404, and those calls aren’t recorded anywhere. Runs it started stay.

The dialog first shows Used by: while a workflow listens to the webhook, Delete is greyed out, so change that workflow’s trigger, or delete the workflow, before you come back.

To pause a webhook without losing its address or its history, switch it to Inactive in its settings instead.

The number of incoming webhooks is limited by your plan, and it counts all of them, active or not. Outgoing webhooks have a limit of their own.

Free Starter Pro Business
Webhooks 2 15 40 100

At the limit, New webhook is disabled and tells you why. Delete a webhook you no longer need, or change your plan.

The disabled New webhook button with a tooltip saying the plan's webhook limit has been reached

Two other limits come into play as requests arrive:

  • Each run a request starts counts against your plan’s workflow runs, like any other run. A new request that arrives when no runs are left is answered 503 and shown as Plan limit reached, and the sender can try again once there are runs. A repeat of a request already answered still gets its answer, because it starts nothing.
  • The requests’ content counts against your plan’s data space. When that is full, requests are still taken and workflows still run, but their content is no longer kept. The people who look after your subscription get a notification, and the dashboard says so too.

See Plans and limits for the whole picture.

Permission What it allows
View webhooks and their requests The list of webhooks, the list of requests and each request’s page with what it brought, and the outgoing webhooks with their deliveries.
Manage webhooks Creating, changing, switching off and deleting webhooks, incoming and outgoing, and deleting requests.

The built-in Administrator, Manager and Member roles hold both, and Viewer holds the first. You can change this in Roles.

Two things that sound related depend on other permissions. Setting a workflow to listen to a webhook takes Manage workflows, and it doesn’t need any webhook permission: the designer offers every webhook by name. Links from a webhook to its workflows, or from a request to its runs, appear only for people who may open them.

You can also look after webhooks from a program. An access key can hold List webhooks, Read a webhook, Create a webhook, Update a webhook, Delete a webhook, List webhook requests, Read a webhook request and Delete a webhook request, and the API reference covers those calls. Call webhooks is a different thing: it lets the key send requests to a webhook that takes access keys.