Post Google Forms leads to Slack
When a lead submits your Google Form, a Slack message with their name and every answer is posted to your team channel, so follow-up starts quickly.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/post-google-forms-leads-to-slack/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Sales · Lead management
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/post-google-forms-leads-to-slack
Set it up with the CLI
- Add it. Copies the folder into
zaps/post-google-forms-leads-to-slack/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/post-google-forms-leads-to-slack - 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 post-google-forms-leads-to-slack - Check it. Its recent runs, with status and errors.
npx zap-pack logs post-google-forms-leads-to-slack
zaps/post-google-forms-leads-to-slack/
- 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 1 to fill in
- connections/google-forms.tsThe
google-formsaccount it uses - connections/slack.tsThe
slackaccount 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). The form is set on the trigger. - Code: builds one message. The first line is
New lead: <name>in bold, taken from the form question named inNAME_QUESTION. Below it, each answered question appears as*Question*: answer. Questions left blank are skipped, and multiple-choice answers with several picks are joined with commas. A response with no answers at all stops the run and posts nothing. - Slack: posts the message to the team channel. Mentions and link previews are switched off, so a lead's answers never ping anyone by accident.
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 |
|---|---|---|
REPLACE_FORM_ID |
triggers/new-form-response.ts, formId |
The Google Form that collects the leads, looked up from the user's Google Forms connection |
REPLACE_SLACK_CHANNEL |
config.ts, SLACK_CHANNEL |
The channel that gets the lead notices, looked up from the user's Slack connection. The Slack app must be in that channel. |
Also review the default with them: NAME_QUESTION in workflow.ts (Name) is the title of the form question that holds the lead's name. It must match the form's question exactly, or the headline reads New lead: (no name given).
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/post-google-forms-leads-to-slack, replace each REPLACE_… value as this file says, then run npx zap-pack deploy post-google-forms-leads-to-slack, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. Either way, name the workflow Post Google Forms leads to Slack (zapier.sh/post-google-forms-leads-to-slack): zap-pack takes that name from this file's title, so leave the title as it is, and with Zapier MCP give the workflow that name when you create it. 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-forms(the trigger's connection) to the Google account that owns the lead form, andslackto the user's Slack connection for the workspace with the team channel. - 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, and set the trigger'sformIdfrom the trigger file. 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 it once as a draft test before publishing (run_workflow_draft in Zapier MCP). Use a test channel, not the team's real one. The sample is labelled [install-test]; its keys are question titles, so change them to match the user's form:
{
"Name": "[install-test] Alex Example",
"Email": "you@example.com",
"Company": "Example Co",
"Phone": "",
"What are you interested in?": "A demo"
}
Check that the run finished and that one message appeared in the test channel: New lead: [install-test] Alex Example in bold, then Email, Company and the interest question as bold-labelled lines, with no Phone line because it was blank. If run-status tools aren't available, check the test channel in Slack directly. Ask the user to delete the test message, since the user deletes test data, not the agent. Then publish, and confirm the trigger is active.
Notes
- The code reads answers as a flat object keyed by question title, the way the other Google Forms zaps here do. The trigger's real output shape is only known from a real response, so confirm that against the first sample. If answers arrive nested or under other keys, change
buildMessageto read them. - Answers appear in the order the trigger delivers them, not necessarily the order of the form. Any extra keys the trigger adds besides the answers would also be listed, so remove them in
buildMessageif the first sample shows some. - Anyone who can read the channel sees every lead's answers, including contact details. Pick a channel with the right audience.
- To extend it: add the lead to a CRM or a sheet after the Slack post, or send a follow-up email to the lead.