SMS lead alert
Texts you every new lead the moment it comes in: their name, number, what they need, and a reply you can send back.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/sms-lead-alert/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Sales · Lead management
- Author
- andrewckor
- Source
- zapier/awesome-zaps, folder zaps/sms-lead-alert
Set it up with the CLI
- Add it. Copies the folder into
zaps/sms-lead-alert/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/sms-lead-alert - 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 sms-lead-alert - Check it. Its recent runs, with status and errors.
npx zap-pack logs sms-lead-alert
zaps/sms-lead-alert/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- connections/sms.tsThe
smsaccount it uses - triggers/hook.tsWhat starts it:
webhookhook_v2 - 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 new lead arrives at a Webhooks by Zapier catch hook (
webhook,hook_v2). Any website form can post to it. Facebook Lead Ads "New Lead" can be added as a second trigger. - AI by Zapier reads the raw submission, even with odd field names, and returns
name,phone,need(under 45 characters, with city and timing) andreply(a friendly text under 60 characters using the lead's first name). - SMS by Zapier texts the owner:
Maria Lopez (201) 555-0148 Leaking water heater, Union City, today Reply: "Hi Maria, I can come by this afternoon. Does 3pm work?"
The Zap alerts the owner only. It never texts the lead.
Ask the user
This zap has no REPLACE_… values, so nothing is filled in per person. Its settings are the SMS by Zapier connection and the trigger.
- Is their SMS by Zapier connection set up with the phone that should get the alerts? SMS by Zapier only texts the number verified on that connection.
- Where do leads come from: a website form, Facebook Lead Ads, or both?
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/sms-lead-alert, replace each REPLACE_… value as this file says, then run npx zap-pack deploy sms-lead-alert, 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
smsto the user's SMS by Zapier connection, the one with the phone that should get the alerts. Webhooks by Zapier and AI by Zapier need no connection. In the code,authentication_id: "0"on the AI step means Zapier's managed AI credentials; leave it as is. - Source: publish
workflow.tsas it is, since it has no settings to fill in.triggers/hook.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. The catch hook has no connection. Facebook Lead Ads is an optional second trigger; add it only if the user asks. If your tools take only one trigger per workflow, install the sameworkflow.tsonce per trigger and name the copies so the user can tell them apart. - 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. The catch hook has no sample to pull; the test lead below is its first input.
Test it
Run this sample lead as a draft test run before publishing. Posting to the webhook URL only works once the workflow is published.
{
"full_name": "Maria Lopez",
"tel": "(201) 555-0148",
"msg": "Water heater leaking, Union City, can someone come today?"
}
Check that the text arrives within about a minute, with the name, number, need and reply filled in.
Then test from the lead source, with test data only:
- Website form: submit the form once with a test name and number. Check that the AI still finds the name, phone and need from the form's real field names.
- Facebook Lead Ads: with the trigger connected to the right page and form, create a test lead with Meta's Lead Ads Testing Tool, then pull it with the trigger's test and run the workflow. Check that the text arrives for it too.
If run-status tools aren't available, check the text in SMS by Zapier directly. Publish only after these pass, and confirm the trigger is active. The user deletes any test data, not the agent.
Notes
- SMS by Zapier texts only the verified owner number, so the alerts go to the owner, not the lead.
- Anyone who has the webhook URL can trigger texts. Never commit the URL or a real phone number.
- To change the message format, edit the
messagetemplate inworkflow.ts. To change reply tone or length, edit the AIinstructions. To add lead sources, add triggers such as Facebook Lead Ads.