Build chargeback evidence packs with Gmail, Google Sheets, Calendar and DeepSeek
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on Gmail events (plus 2 other triggers). Along the way it connects Gmail, Google Sheets, OpenAI Chat Model and Google Calendar.
How it runs
Trigger: On Gmail events (plus 2 other triggers).
- Normalize Dispute (Code): runs custom JavaScript code
- Read Dispute Ledger (Google Sheets): read
- Read Ledger Weekly (Google Sheets): read
- Dispute Email Complete? (If): checks a condition and branches into true / false
- Build Deadline Queue (Code): runs custom JavaScript code
- Summarize Dispute Week (Code): runs custom JavaScript code
- Look Up Order Record (Google Sheets): read
- Email Ops Missing Details (Gmail): send (message)
- Any Dispute Due Soon? (If): checks a condition and branches into true / false
- Email Weekly Dispute Digest (Gmail): send (message)
…plus 9 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 (9)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Calendar
n8n-nodes-base.googleCalendar - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
A chargeback email sits in a shared inbox until the evidence window is almost gone, and whoever picks it up rebuilds the same case from scratch. This workflow catches dispute mail as it arrives, scores the evidence you already hold, writes the case file with…