Triage after-hours website form requests with OpenAI, Google Sheets, Gmail and Telegram
Ready for 3.0What this workflow does
This AI workflow has 31 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model, Telegram and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Set business settings (Edit Fields (Set)): sets 17 fields: business_name, business_description, timezone…
- Describe the failure (Code): runs custom JavaScript code
- Started by the form? (If): checks a condition and branches into true / false
- Email failure alert (Gmail): uses Gmail
- Clean and check request (Code): runs custom JavaScript code
- Get open requests from log (Google Sheets): uses Google Sheets
- Request valid? (If): checks a condition and branches into true / false
- Build morning follow-up list (Code): runs custom JavaScript code
- Confirm receipt to form (Respond to Webhook): sends the response back to the webhook caller
- Reject invalid request (Respond to Webhook): sends the response back to the webhook caller
…plus 17 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 (13)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick Overview This workflow receives website form submissions via a webhook, validates and acknowledges the request, then routes notifications based on business hours and urgency, sending on-call alerts through Gmail and Telegram while keeping daytime…