Automate workflows triggered by incoming Gmail messages
Workflow Description
Advanced Gmail automation that monitors incoming emails and executes complex workflows with conditional logic, data processing, and filtering. Enables automatic triggering of multi-step operations based on message content, sender, or other criteria, with flexible data transformation and external service integration.
How it works
- 1.Monitor new Gmail messages in real-time
- 2.Process and transform email data
- 3.Apply conditional filters to route messages
- 4.Execute logic-based actions
- 5.Aggregate results and send webhook responses
Use cases
- Automatically create support tickets from customer emails
- Route messages to external services based on content criteria
Requirements
- Active Gmail account with API access
- Basic understanding of conditional logic and data filtering
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (40)
Gmail Trigger
Gmail
Gmail - Extract Received Headers
Code
Gmail - Extract Original From IP
Set
Gmail - Original IP Found?
If
Gmail - Query IP Quality Score API
HTTP Request
Gmail - Query IP API
HTTP Request
Gmail - Authentication-Results Header?
If
Gmail - Received-SPF Header?
If
Gmail - Extract Authentication-Results Header
Code
Gmail - Extract Received-SPF Header
Code
Gmail - Determine Auth Values
Set
Gmail - Set SPF Value
Set
Gmail - No SPF Found
Set
Gmail - Format Output
Set
Gmail - DKIM Signature Found
Set
Gmail - DKIM-Signature Header?
If
Gmail - No DKIM Signature Found
Set
Gmail - Set DMARC Value
Set
Gmail - Extract DMARC Header
Code
Gmail - DMARC Header?
If
Gmail - No DMARC Header
Set
Set Gmail Headers Here
Set
Format Individual Auth Outputs1
Set
Format Combined Auth Output1
Set
Gmail - Webhook
Webhook
Gmail - Remove Extra Received Headers
Limit
Gmail - Merge
Merge
Gmail - Aggregate
Aggregate
Gmail - Set Headers
Set
Gmail - Respond to Webhook
Webhook
Aggregate Received-SPF Headers1
Aggregate
Set Gmail Webhook Headers Here
Set
Sticky Note
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note1
Sticky Note
Skip IP Check
No Op