Skip to content
Learn › Clean and shape data › Checkpoints: open the docs menu

Send a Checkpoint to Slack or Teams by webhook

A Checkpoint can call a webhook as well as, or instead of, sending email. In the Checkpoint Alert panel, click Add webhook and enter a URL that starts with https://. Mammoth calls it when the Checkpoint triggers, for example to post to Slack, Teams, PagerDuty or your own endpoint. The request times out after 10 seconds.

What the Checkpoint webhook sends

The payload is fixed: you can't change it. Every Checkpoint webhook sends this JSON body in a POST request:

{
  "checkpoint_id": 123,
  "checkpoint_name": "Finance team approval before final report",
  "checkpoint_type": "approval",
  "task_sequence": 4,
  "dataview_id": 654,
  "dataview_name": "View 1",
  "workspace_id": 22
}

checkpoint_type is "alert" or "approval".

Test that the webhook URL is reachable

  1. Click Payload under the webhook URL to open the payload editor.
  2. Write a test payload. Test turns on once the payload has content.
  3. Click Test. Your browser sends the draft to the URL.
  4. Read the result: Delivered · 200 or Endpoint returned an error.

The editor accepts these tokens: {{pipeline_name}}, {{pipeline_id}}, {{checkpoint_type}}, {{step_number}}, {{step_name}}, {{timestamp}}, {{status}}, {{project_name}} and {{triggered_by}}. Unknown tokens are sent as they are. The payload can be up to 10KB with up to 5 levels of nesting.

The test payload is never saved and doesn't change what is sent. A real trigger always sends the fixed payload above.

Troubleshooting Checkpoint webhooks

SymptomCauseFix
The webhook test shows Endpoint returned an errorThe URL refused or failed the requestCheck the URL and your endpoint, then test again
Was this page helpful?

Something wrong? support@mammoth.io