Send milestone summaries to upgrade team by email
When a customer milestone event is coming up on your calendar, your upgrade team gets a short email with the account's notes, so they can act before the milestone.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-milestone-summaries-to-upgrade-team-by-email/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/send-milestone-summaries-to-upgrade-team-by-email
Set it up with the CLI
- Add it. Copies the folder into
zaps/send-milestone-summaries-to-upgrade-team-by-email/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/send-milestone-summaries-to-upgrade-team-by-email - 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-milestone-summaries-to-upgrade-team-by-email - Check it. Its recent runs, with status and errors.
npx zap-pack logs send-milestone-summaries-to-upgrade-team-by-email
zaps/send-milestone-summaries-to-upgrade-team-by-email/
- 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/gmail.tsThe
gmailaccount it uses - connections/google-calendar.tsThe
google-calendaraccount it uses - triggers/event-start.tsWhat starts it:
google-calendarevent_start1 to fill in - 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 Google Calendar Event Start trigger (
google-calendar,event_start) fires 15 minutes before an event on the chosen calendar starts. - Match: the event title is checked for a package code (
ENTERPRISE,BUSINESS,PROorSTARTER) and a milestone window (30,60,90or180days). If either is missing, the run stops and sends nothing. - Gmail sends one email to the upgrade address. The subject is the package, the day count and the event start time. The body has the event title, start time, the event's description (the milestone notes) and the event link.
Ask the user
Each REPLACE_… value is set per person. Resolve the calendar to its ID with the user's own Google Calendar connection; don't ask them to paste an ID you can look up.
| Setting | Where | What goes there |
|---|---|---|
REPLACE_CALENDAR_ID |
config.ts, CALENDAR_ID; calendarid in triggers/event-start.ts |
The Google Calendar that holds the milestone events |
REPLACE_UPGRADE_EMAIL |
config.ts, UPGRADE_EMAIL |
The address the summaries go to. It must be the Gmail account's own address unless the user confirms another |
Also review the defaults with them: PACKAGE_CODES and MILESTONE_DAYS in workflow.ts (change the package codes to the user's own tier names), and the 15-minute lead time in the trigger (time_length, time_unit).
Confirm that event titles follow the package and day-count pattern (for example "PRO 30-day milestone"). An event whose title doesn't match is skipped.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-milestone-summaries-to-upgrade-team-by-email, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-milestone-summaries-to-upgrade-team-by-email, 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
gmail(the account that sends the summaries) to the user's Gmail connection, andgoogle-calendar(the calendar the trigger watches) to their Google Calendar connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/event-start.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 and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run these samples as draft test runs before publishing.
Milestone sample (expects one email):
{
"summary": "[install-test] PRO 30-day milestone: Acme onboarding",
"description": "[install-test] Acme reached 30 days live. 12 seats active, asked about SSO.",
"start": { "dateTime": "2026-10-30T10:00:00-04:00" },
"htmlLink": "https://calendar.google.com/calendar/event?eid=install-test-sample",
"id": "install-test-sample"
}
Non-matching sample (expects a skip and no email):
{
"summary": "[install-test] Quarterly check-in",
"description": "[install-test] No package code or milestone in title; should be skipped.",
"start": { "dateTime": "2026-10-30T14:00:00-04:00" },
"htmlLink": "https://calendar.google.com/calendar/event?eid=install-test-skip",
"id": "install-test-skip"
}
Check that the milestone run completed and that one email reached the upgrade address with the subject PRO 30-day milestone (…) and the event text in the body, and that the non-matching run returned skipped: true with no send. If run-status tools aren't available, check the result in Gmail directly. The user deletes the test events and emails, not the agent. Publish only after both checks pass, and confirm the trigger is active.
Notes
- Events are matched by title, so titles must follow the package and day-count pattern. The day count is read from the title, since a trigger that fires before the event starts can't compute days since start.
- One email goes out per qualifying event; there is no batching.
- To log outreach, add a CRM or tracker row after the Gmail step with the outreach and owner. To post to a team chat instead of email, replace the email step with a message to a team channel.
- Never commit a real calendar ID or email address. Anyone who can read the workflow can see who gets the summaries.