Qualify replies from Pipedrive persons with AI
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Pipedrive and Gmail.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Get email (Edit Fields (Set)): sets or maps fields
- Search Person in CRM (Pipedrive): search (person)
- Get person from CRM (Pipedrive): get (person)
- In campaign? (If): checks a condition and branches into true / false
- Is interested? (OpenAI): work with chat
- Get response (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Create deal in CRM (Pipedrive): uses Pipedrive
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Is interested?: replace with OpenAI node (AI section).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Is interested? | OpenAI node (AI section) |
Nodes used (6)
- Pipedrive
n8n-nodes-base.pipedrive - If
n8n-nodes-base.if - OpenAI
n8n-nodes-base.openAi - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Gmail Trigger
n8n-nodes-base.gmailTrigger
From the author
About the workflow The workflow reads every reply that is received from a cold email campaign and qualifies if the lead is interested in a meeting. If the lead is interested, a deal is made in pipedrive. You can add as many email inboxes as you need! Setup: -…