AGENT?GET /zapier/awesome-zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event/SKILL.mdand deploy the files next to it
All zaps

Enroll webhook signups into SMS reminder campaign for event

When someone signs up for your event through a form, they're saved as a lead in LeadConnector and enrolled in your SMS reminder campaign, so they get reminders without anyone adding them by hand.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
Webhooks by ZapierLeadConnector
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event

Set it up with the CLI

  1. Add it. Copies the folder into zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event
  2. 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.
  3. 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 enroll-webhook-signups-into-sms-reminder-campaign-for-event
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs enroll-webhook-signups-into-sms-reminder-campaign-for-event

zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event/

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.

What it does

  1. Trigger: a signup arrives at a Webhooks by Zapier catch hook (webhook, hook_v2), posted by a registration form or script. The payload's first_name, last_name, email and phone are read; a missing field is treated as blank.
  2. Plain code normalizes the phone number to E.164 (+ then digits), adding the default country code to 10-digit numbers. If there is neither an email nor a phone number, the run stops and writes nothing.
  3. LeadConnector adds or updates the contact, marked as a lead, with the source webhook. LeadConnector matches an existing contact by email, then by phone, and creates one when neither matches.
  4. LeadConnector adds that contact to the SMS reminder campaign.

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
CAMPAIGN_ID The LeadConnector campaign (workflow) that sends the SMS reminders for the event

Also review the defaults with them: DEFAULT_COUNTRY_CODE ("1", for US and Canada numbers without a + prefix) and SIGNUP_SOURCE ("webhook", written to each contact so enrollments can be traced).

Before building, confirm:

  • What field names does the signup form send? The code expects first_name, last_name, email and phone. Rename them in InputSchema if the form uses other names.
  • Should only signups that have opted in to SMS be enrolled? That is not built; see Notes.
  • Are phone numbers outside the US and Canada? If so, have the form send them with a + country code, or change DEFAULT_COUNTRY_CODE.

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/enroll-webhook-signups-into-sms-reminder-campaign-for-event, replace each REPLACE_… value as this file says, then run npx zap-pack deploy enroll-webhook-signups-into-sms-reminder-campaign-for-event, 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.

  1. Accounts: bind leadconnector to the user's LeadConnector connection for the account that holds the contacts and the SMS campaign. Webhooks by Zapier needs no connection.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/hook.ts and connections/ 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's selected_api, call search_triggers with that slug, find the row whose key is the trigger's event, and use <app_key>@<app_version> from it.
  3. Build guide: load Zapier's build guide with get_zapier_skill("zapier:build-workflows") and follow it to create, test and publish the workflow.
  4. 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.ts that doesn't match.

Test it

Run this sample as a draft test (run_workflow_draft in Zapier MCP) before publishing. Use a test contact whose phone number is the connected SMS by Zapier number, so no real person is texted:

{
  "first_name": "Test",
  "last_name": "Signup",
  "email": "install-test@example.com",
  "phone": "5555550100"
}

Check that the contact exists in LeadConnector with source webhook and the lead flag set, and that it is enrolled in the campaign. If run-status tools aren't available, check LeadConnector directly. Then ask the user to delete the test contact; the agent does not delete it.

Notes

  • LeadConnector matches contacts by email first and phone second. The code relies on that upsert and does not look contacts up itself.
  • A payload with neither email nor phone is skipped and writes nothing. The spec did not say what to do then; this is a decision made for the build.
  • After publishing, give the user the trigger's webhook URL to point their signup form at. Anyone with that URL can add contacts and enroll them in the campaign, so keep it private.
  • To enroll only opted-in signups, add a check for an SMS opt-in field in the payload. To tag the source, add UTM or source tags to the contact for reporting.