{"product_id":"gmail-lead-reply-intent-routing-in-n8n-openai-pipedrive-slack","title":"Gmail Lead Reply Intent Routing in n8n (OpenAI, Pipedrive, Slack)","description":"\u003ch3\u003eAutomatically route Gmail lead replies to the right follow-up—using OpenAI intent classification\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors your Gmail inbox for lead replies, matches each sender in \u003cstrong\u003ePipedrive\u003c\/strong\u003e, classifies intent and urgency with \u003cstrong\u003eOpenAI (GPT-4o)\u003c\/strong\u003e, then creates the correct \u003cstrong\u003ePipedrive activity\u003c\/strong\u003e and notifies the deal owner in \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eDesigned for sales and SaaS teams using n8n, it automates the “reply triage” process so you spend less time sorting emails and more time acting on them.\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEvery minute\u003c\/strong\u003e, the workflow triggers when a new email arrives in your Gmail inbox.\u003c\/li\u003e\n  \u003cli\u003eIt extracts and cleans the sender name\/email, subject, and the message snippet for analysis.\u003c\/li\u003e\n  \u003cli\u003eIt searches \u003cstrong\u003ePipedrive\u003c\/strong\u003e for a matching person by the sender’s email address; if no match is found, it emails an internal reviewer.\u003c\/li\u003e\n  \u003cli\u003eIt sends the email details to \u003cstrong\u003eOpenAI (GPT-4o)\u003c\/strong\u003e to produce JSON that classifies \u003cstrong\u003eintent\u003c\/strong\u003e, \u003cstrong\u003ebuying stage\u003c\/strong\u003e, \u003cstrong\u003esentiment\u003c\/strong\u003e, \u003cstrong\u003eurgency\u003c\/strong\u003e, and a \u003cstrong\u003erecommended next action\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIt normalizes the AI output and routes the reply to the correct path: \u003cstrong\u003eMeeting Request\u003c\/strong\u003e, \u003cstrong\u003ePricing Inquiry\u003c\/strong\u003e, \u003cstrong\u003eFollow Up Later\u003c\/strong\u003e, or \u003cstrong\u003eNot Interested\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIt creates a corresponding \u003cstrong\u003ePipedrive\u003c\/strong\u003e activity (meeting, call, or mail) or marks the deal as lost for \u003cstrong\u003eNot Interested\u003c\/strong\u003e, then logs the full AI analysis in a Pipedrive note.\u003c\/li\u003e\n  \u003cli\u003eFinally, it posts a Slack message to the \u003cstrong\u003edeal owner\u003c\/strong\u003e with the AI summary and recommendation, and emails an internal summary as well.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTurn inbound sales replies into scheduled meetings without manual tagging.\u003c\/li\u003e\n  \u003cli\u003eAuto-handle pricing questions by generating the right follow-up activity in Pipedrive.\u003c\/li\u003e\n  \u003cli\u003eFlag “not interested” responses by marking deals lost automatically and notifying owners.\u003c\/li\u003e\n  \u003cli\u003eWhen lead urgency is high, prioritize actions using OpenAI’s urgency classification.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e trigger for inbox monitoring and Gmail nodes for sending internal emails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePipedrive\u003c\/strong\u003e nodes for searching persons, creating activities, updating deals, and adding notes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI (GPT-4o)\u003c\/strong\u003e for intent routing via JSON output.\u003c\/li\u003e\n  \u003cli\u003eLogic using \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, and \u003cstrong\u003eswitch\u003c\/strong\u003e, plus \u003cstrong\u003eSlack\u003c\/strong\u003e notifications.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46114710094003,"sku":"N8N-20004","price":54.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/u6ZZaJtZomtpoYbp775AQ_w8zbMOYU.png?v=1790586941","url":"https:\/\/buyflowscripts.com\/products\/gmail-lead-reply-intent-routing-in-n8n-openai-pipedrive-slack","provider":"N8N Commerce","version":"1.0","type":"link"}