Triage inbound form requests with OpenAI, Slack, Gmail and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Google Sheets, Slack and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Classify & Draft Reply (OpenAI): response (text)
- Parse AI Result (Code): runs custom JavaScript code
- Is Spam? (If): checks a condition and branches into true / false
- Log Spam (Google Sheets): append (sheet)
- Alert Team (Slack): post (message)
- Acknowledge (Respond to Webhook): sends the response back to the webhook caller
- Send AI Auto-Reply (Gmail): send (message)
- Log Submission (Google Sheets): append (sheet)
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.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick Overview This workflow receives website contact-form submissions via a webhook, uses OpenAI to classify and summarize the message and draft a reply, routes spam separately, alerts your team in Slack, sends an auto-reply with Gmail, logs the submission…