Draft and approve AI Gmail replies with OpenAI and Tracira
UnknownWhat this workflow does
This AI workflow has 8 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, OpenAI and Tracira (community).
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Filter: keeps only the items that match a condition
- Cleared to send? (If): checks a condition and branches into true / false
- Email (Edit Fields (Set)): sets 6 fields: sender, subject, body…
- Send the reply (Gmail): reply
- Draft a reply (OpenAI): uses OpenAI
- Send to Tracira (Tracira): uses Tracira
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @deepidealab/n8n-nodes-tracira is verified or supports 3.0 (used in Send to Tracira).
- Check that @deepidealab/n8n-nodes-tracira is verified or supports 3.0 (used in Tracira Trigger).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi - Tracira
@deepidealab/n8n-nodes-tracira.tracira - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Filter
n8n-nodes-base.filter - Tracira Trigger
@deepidealab/n8n-nodes-tracira.traciraTrigger
From the author
Quick Overview This workflow monitors Gmail for new inbound messages, uses OpenAI to draft a reply, and sends the draft to Tracira for human approval before replying in Gmail when approved. How it works 1. Triggers every minute when a new email arrives in…