Triage Clientify contact emails with Gmail, OpenAI, and Slack
Needs changesWhat this workflow does
This AI workflow has 11 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model, Slack and Clientify (community).
How it runs
Trigger: On Gmail events.
- Extract sender and content (Code): runs custom JavaScript code
- Find contact by email (Clientify Api): list contacts
- Known contact? (If): checks a condition and branches into true / false
- Classify email (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Log triage as note (Clientify Api): add contact note (contacts)
- Needs attention? (If): checks a condition and branches into true / false
- Create follow-up task (Clientify Api): create task (tasks)
- Alert team on Slack (Slack): uses Slack
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Classify email (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Classify email (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Clientify Api
n8n-nodes-clientify.clientifyApi - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow polls Gmail for new emails, checks whether the sender exists as a contact in Clientify, and uses OpenAI to classify and summarize the message. It logs the triage result to the contact timeline and escalates high-urgency emails or…