Create daily crawl health check ticket for monitoring
Every morning a new Zendesk ticket is opened with a crawl health checklist and the run time, so monitoring staff start the day with the same triage steps.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-daily-crawl-health-check-ticket-for-monitoring/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- IT · IT service management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/create-daily-crawl-health-check-ticket-for-monitoring
Set it up with the CLI
- Add it. Copies the folder into
zaps/create-daily-crawl-health-check-ticket-for-monitoring/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/create-daily-crawl-health-check-ticket-for-monitoring - 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 create-daily-crawl-health-check-ticket-for-monitoring - Check it. Its recent runs, with status and errors.
npx zap-pack logs create-daily-crawl-health-check-ticket-for-monitoring
zaps/create-daily-crawl-health-check-ticket-for-monitoring/
- 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 2 to fill in
- connections/zendesk.tsThe
zendeskaccount it uses - triggers/every-day.tsWhat starts it:
scheduleeveryDay - 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:
schedule(everyDay) fires every day at 9:00 AM in the account timezone, weekends included. - Code: builds the ticket subject (
Daily crawl health check: <date>) and a checklist comment with the run time and a fixed list of checklist items. No app call. - Zendesk (
zendesk) creates one ticket with that subject and checklist as its first comment, assigned to the monitoring group, with the priority, type and tags set inconfig.ts. The requester is the service account set there.
The checklist is a fixed template: the Zap does not read crawl diagnostics.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
REPLACE_REQUESTER_NAME |
The service account the tickets are requested by: look up its name in Zendesk (config.ts) |
REPLACE_REQUESTER_EMAIL |
That same service account's email, looked up in Zendesk (config.ts) |
MONITORING_GROUP_ID |
The numeric ID of the Zendesk group that owns the tickets, looked up in Zendesk (workflow.ts, replaces the 0 placeholder) |
Also review the defaults with them: TICKET_PRIORITY (normal), TICKET_TYPE (incident), TICKET_TAGS (crawl-health,monitoring,daily-check), FIRST_COMMENT_PUBLIC (no, so the checklist is internal), and the checklist items in workflow.ts. The trigger runs at 9:00 AM in the account timezone; if that is not the time they want, set a timezone override on the trigger.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-daily-crawl-health-check-ticket-for-monitoring, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-daily-crawl-health-check-ticket-for-monitoring, 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
zendeskto the user's Zendesk connection for the account that owns the monitoring queue. Schedule by Zapier needs no connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/every-day.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 each action's fields with the user's connections 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 an empty input {}, since the trigger sends no fields the code reads. Check that:
- one ticket appears in the monitoring group with the subject
Daily crawl health check: <today>; - its first comment lists the run time and the checklist items;
- the requester, priority, type and tags match the settings.
If run-status tools aren't available, check the result in Zendesk directly. Ask the user to close or delete the test ticket; the agent doesn't delete test data. Then publish and confirm the trigger is active.
Notes
- The checklist is a fixed template, so it carries no crawl data. To add it, pull logs or a monitoring snapshot in a step before the ticket and attach them.
- To post the new ticket's link to an on-call channel, add a step after the ticket is created.