Send ingestion pipeline status to team channel immediately
When an ingestion pipeline reports a finished run or any errors, a short success and failure summary lands in your team's Slack channel right away.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-ingestion-pipeline-status-to-team-channel-immediately/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Data & Analytics · Etl management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/send-ingestion-pipeline-status-to-team-channel-immediately
Set it up with the CLI
- Add it. Copies the folder into
zaps/send-ingestion-pipeline-status-to-team-channel-immediately/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/send-ingestion-pipeline-status-to-team-channel-immediately - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy send-ingestion-pipeline-status-to-team-channel-immediately - Check it. Its recent runs, with status and errors.
npx zap-pack logs send-ingestion-pipeline-status-to-team-channel-immediately
zaps/send-ingestion-pipeline-status-to-team-channel-immediately/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/slack.tsThe
slackaccount it uses - triggers/hook-raw.tsWhat starts it:
webhookhook_raw - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a status payload arrives at a Webhooks by Zapier catch-raw hook (
webhook,hook_raw). The pipeline or its CI step posts to it when a load finishes. - Code: reads
status,success_count,error_countand, if present,pipelinefrom the body. If the status is notcompletedand there are no errors, it stops and posts nothing. - Slack posts one message to the team channel. The headline shows a warning when there are errors and a check mark when there are none. The body shows the status, succeeded count and failed count. No one is mentioned unless the user turns that on.
Only the status and counts are posted. The Zap never changes the pipeline or its data.
Ask the user
Each REPLACE_… value is set per person. Resolve channel names to IDs with the user's Slack connection; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
SLACK_CHANNEL |
The channel that gets the status summaries, looked up with the user's Slack connection |
Also review the defaults with them: COMPLETED_STATUS ("completed", the status that means a run finished), and MENTION_ON_ERRORS in workflow.ts (false; set it to true to add @channel to error messages).
Before building, confirm what the pipeline sends. The code reads status, success_count, error_count and pipeline from the JSON body. If the sender uses other names, change them in workflow.ts first.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-ingestion-pipeline-status-to-team-channel-immediately, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-ingestion-pipeline-status-to-team-channel-immediately, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
slackto the user's Slack connection for the workspace that owns the channel. The webhook trigger needs no connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/hook-raw.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the Slack action's fields with the user's connection before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test, with the channel set to one the user controls:
{
"body": "{\"pipeline\": \"[install-test] orders_ingest\", \"status\": \"completed\", \"success_count\": 120, \"error_count\": 3}"
}
Check that one message appears in the channel with the warning headline, Status: completed · Succeeded: 120 · Failed: 3, and the pipeline name. If run-status tools aren't available, read the channel directly. Then publish, confirm the trigger is active, and ask the user to delete the test message. The user deletes test data, not the agent.
Notes
- After publishing, give the user the trigger's
webhook_url(shown on the workflow in the editor) to paste into the pipeline's notification step. Anyone with that URL can post into the channel, so don't share it or commit it. - The message says "completed" when there are no errors and "finished with errors" when there are. Anything other than
completedwith zero errors is skipped, whatever the pipeline's own status vocabulary. - Each payload posts one message. If the sender posts several times, each post is a separate message.
- To send a direct message to an on-call user when errors occur, add a second Slack step behind the same error check.
- To keep an audit trail, add a Google Sheets or Zapier Tables step after the Slack step that writes each summary.