Automated Lead Capture and Follow-Up
Each new Google Forms lead lands in your CRM sheet, gets a welcome email with a booking link, and triggers a follow-up reminder and a sales alert.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/automate-lead-capture-from-google-forms-to-google-sheets/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Sales · Lead management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/automate-lead-capture-from-google-forms-to-google-sheets
Set it up with the CLI
- Add it. Copies the folder into
zaps/automate-lead-capture-from-google-forms-to-google-sheets/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/automate-lead-capture-from-google-forms-to-google-sheets - 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 automate-lead-capture-from-google-forms-to-google-sheets - Check it. Its recent runs, with status and errors.
npx zap-pack logs automate-lead-capture-from-google-forms-to-google-sheets
zaps/automate-lead-capture-from-google-forms-to-google-sheets/
- 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 11 to fill in
- connections/gmail.tsThe
gmailaccount it uses - connections/google-calendar.tsThe
google-calendaraccount it uses - connections/google-forms.tsThe
google-formsaccount it uses - connections/google-sheets.tsThe
google-sheetsaccount it uses - triggers/new-form-response.tsWhat starts it:
google-formsnew_form_response1 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 new response is submitted to the lead form (
google-forms,new_form_response). - Google Sheets logs the lead to the CRM worksheet with its submission time, name, email, phone, company, lead source, status
New Lead, scoreCold, and a follow-up date 24 hours out. - Gmail sends the lead a personalized welcome email with a booking link.
- Google Calendar creates a follow-up reminder for the team at the follow-up time.
- Gmail sends the sales team member a summary of the lead.
If a submission has no name or no email, the Zap logs it to the Incomplete Leads tab and stops there, so no welcome email goes out.
If one action fails, the Zap records the error and runs the rest, so a single failure doesn't lose the lead.
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 | Where | What goes there |
|---|---|---|
formId |
triggers/new-form-response.ts |
The Google Form that collects leads: look up its ID (the long ID in the form's URL) with the user's Google Forms connection |
SPREADSHEET_ID |
config.ts |
The Google Sheet that holds the lead CRM: look up its ID (the long ID in its URL) with the user's Google Sheets connection |
INCOMPLETE_WORKSHEET_ID |
config.ts |
The worksheet ID of an "Incomplete Leads" tab in the CRM sheet. Ask the user to add the tab first |
FORM_QUESTIONS (name, email, phone, company, source) |
config.ts |
The exact title of the form question for each field. If the form doesn't ask for one, the column stays blank |
COMPANY_INTRO |
config.ts |
One or two sentences about the company, shown under the greeting in every welcome email |
BOOKING_LINK |
config.ts |
The scheduling link leads use to book a consultation or demo |
SALES_EMAIL |
config.ts |
The sales team member who gets a new-lead alert |
CALENDAR_ID |
config.ts |
The calendar that holds the follow-up reminders: look up its ID with the user's Google Calendar connection |
Also review the defaults with them: CRM_WORKSHEET_ID (the first tab is "0"), the COL$A–COL$I column keys (map the user's headers to their column letters), FOLLOW_UP_HOURS and FOLLOW_UP_MINUTES.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/automate-lead-capture-from-google-forms-to-google-sheets, replace each REPLACE_… value as this file says, then run npx zap-pack deploy automate-lead-capture-from-google-forms-to-google-sheets, 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
google-formsto the user's Google Forms connection for the account that owns the lead form,google-sheetsto the connection for the account that owns the CRM sheet,gmailto the account that sends the welcome and alert emails, andgoogle-calendarto the account that holds the follow-up calendar. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-form-response.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 whosekeyisnew_form_response, 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 trigger's fields with the user's Google Forms connection, so the form question titles in
FORM_QUESTIONSmatch the keys the trigger delivers. Then inspect the Google Sheetsadd_rowaction, the Gmailmessageaction and the Google Calendardetailed_eventaction, and fix any key inworkflow.tsthat doesn't match.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP) with a test form the user owns, and send the welcome and alert emails only to the user's own address:
{
"Name": "Test Lead",
"Email": "test@example.com",
"Phone": "555-0100",
"Company": "Example Co",
"How did you hear about us?": "Search"
}
The question keys above are placeholders: replace them with the form's real question titles before the run.
Confirm that one row appears in the CRM sheet with status New Lead, that the welcome email and the sales alert arrived, and that the follow-up reminder is on the calendar 24 hours out. If run-status tools aren't available, check each result in its app directly. The user deletes the test row, email and calendar event, not the agent.
Notes
- The follow-up reminder is created for every lead. The template's original "only if no booking is made" check needs a booking lookup this Zap doesn't make; the reminder is a 24-hour nudge to check the calendar.
- The welcome email is plain text with no signature or open tracking.
- Submissions with no name or no email go to the Incomplete Leads tab and get no emails.
- Never commit a real form ID, spreadsheet ID, calendar ID, booking link or email address.