Filter website leads from spam and pitches with OpenAI, Twilio, Gmail and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 39 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Twilio.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Your settings (Edit Fields (Set)): sets 11 fields: business_name, owner_email, owner_cell…
- Read settings for the form (Code): runs custom JavaScript code
- Read your settings (Code): runs custom JavaScript code
- Read the lead (Code): runs custom JavaScript code
- What started this? (Switch): routes items into 3 branches
- Read recent leads (Google Sheets): read
- Answer the form (Respond to Webhook): sends the response back to the webhook caller
- Read all leads (Google Sheets): read
- Create the spreadsheet (Google Sheets): create (spreadsheet)
- Quick checks (Code): runs custom JavaScript code
…plus 23 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- Webhook
n8n-nodes-base.webhook - n8n Form Trigger
n8n-nodes-base.formTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Twilio
n8n-nodes-base.twilio
From the author
Quick overview This workflow captures website contact-form submissions, validates and enriches them with Twilio Lookup and OpenAI, and files them into Google Sheets as real leads, vendor pitches, or spam, while notifying you via Gmail (and optional Twilio…