Log AI voice agent call-back requests in Google Sheets with Gmail alerts
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Settings (Edit Fields (Set)): sets 6 fields: business_name, alert_email, timezone…
- Clean request (Code): runs custom JavaScript code
- Phone number given? (If): checks a condition and branches into true / false
- Find earlier requests (Google Sheets): uses Google Sheets
- Tell the agent: ask for a phone number (Respond to Webhook): sends the response back to the webhook caller
- Merge or new (Code): runs custom JavaScript code
- New request? (If): checks a condition and branches into true / false
- Add to call-back list (Google Sheets): append
- Add call to open request (Google Sheets): update
- Tell the agent: saved (Respond to Webhook): sends the response back to the webhook caller
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
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 (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow receives call-back requests from an AI voice agent via webhook, validates and cleans the caller details, and writes them to a Google Sheets call-back list while merging repeat calls within a time window and emailing urgent or…