Automate consent dispute handling with GPT-4o, Google Sheets, Gmail & Slack
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Azure OpenAI Chat Model, Gmail and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Required Fields (If): checks a condition and branches into true / false
- Clean & Normalize Complaint Data (Code): runs custom JavaScript code
- Log Invalid Complaint Records to Google Sheets (Google Sheets): append
- Store Complaint Ticket in Consent Dispute Sheet (Google Sheets): append
- Generate Acknowledgement Email (AI Agent): runs an AI agent, with model: Configure GPT-4o – Email Generator
- Extract Email Subject + Body (Code): runs custom JavaScript code
- Send Acknowledgement Email to User (Gmail): uses Gmail
- Generate Slack Incident Summary (AI Agent): runs an AI agent, with model: Configure GPT-4o – Slack Summary Model
- Slack: uses Slack
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
📘 Description This workflow automates the full lifecycle of a data-consent complaint: receiving the complaint, validating the payload, normalizing the data into a clean ticket format, storing it in a compliance sheet, generating a formal acknowledgement…