Pause a pipeline for approval with a Checkpoint
A Checkpoint is a pipeline task that tells people when the data reaches a point, and can hold the pipeline until someone approves it. Add one from the Transform menu under Controls > Checkpoint Alert. A Project Admin, or a member whose custom role includes Approve/reject Checkpoint gates, can approve a paused pipeline.
Got an approval email? Go to Approve a Checkpoint that is waiting for you.
To test data automatically instead of asking a person, use a Data Check (Remove duplicate rows and add data quality checks).
Choose an Alert or an Approval Gate
| Alert | Approval Gate | |
|---|---|---|
| What it does | Sends notifications and the pipeline carries on | Sends notifications and pauses the pipeline until someone approves |
| Needs action | No | Yes: someone must click Approve and Continue |
| Use it when | You want people to know, with no manual step | A person must review before data moves on |
| Status after it triggers | Sent | Pending (the status window shows Pending Approval) |
Add a Checkpoint to a pipeline
- Open the Transform menu and choose the Controls category.
- Select Checkpoint Alert.
- Under When the pipeline reaches this checkpoint, choose Notify only (an Alert) or Pause for approval (an Approval Gate).
- Choose email recipients from the project's members. Optional: click Add webhook and enter a URL (Send a Checkpoint by webhook).
- Optional: click Add a message to add context to the email. For an Approval Gate, the approver also sees it in the status window.
- Click Apply.
The Checkpoint appears in the Pipeline panel with its type and number of recipients, for example Approval Gate - 2 recipients. It needs email, a webhook or both; with email on, choose at least one recipient.
What the Checkpoint email contains
Recipients get an email as soon as an Alert triggers, or when an Approval Gate needs approval. It includes:
- the View name, the project name and a link to the View;
- where the Checkpoint sits, for example task 4 of 8, and when it triggered;
- whether it is an Alert (Checkpoint reached) or an Approval Gate (Approval required);
- your message, if you added one.
Checkpoint statuses
| Status | Meaning |
|---|---|
| Sent | An Alert triggered. Notifications went out and the pipeline carried on. |
| Pending (Pending Approval in the status window) | An Approval Gate triggered. The pipeline is paused until someone approves. |
| Approved | A reviewer approved. The pipeline has resumed or finished. |
| Bypassed | The Checkpoint was skipped in a partial rerun |
Why a Checkpoint shows Bypassed after a partial rerun
When you rerun a pipeline from a task partway down, Checkpoints before that task are marked Bypassed, unless already waiting for approval or approved. A Bypassed Checkpoint doesn't trigger again in that rerun: no notification goes out, no approval is asked for, and the pipeline moves past it. To test it again, run the full pipeline from the start.
Troubleshooting Checkpoints
| Symptom | Cause | Fix |
|---|---|---|
| The Checkpoint won't save | It has no notification method, or email is on with no recipient | Add a webhook, or choose at least one email recipient |
| No email arrived after a rerun | The rerun started after the Checkpoint, so it was Bypassed | Run the full pipeline |
| The pipeline is still paused | The Approval Gate is waiting for approval | Approve it from the Pending chip or from Monitor |
Related
- Approve a Checkpoint that is waiting for you: the reviewer's steps and who can approve.
- Send a Checkpoint to Slack, Teams or another system by webhook: the fixed payload and a test.
- Activity log and Monitor: the Needs Attention tab.
- Notifications: other ways Mammoth tells you what happened.
Something wrong? support@mammoth.io