{"product_id":"qualify-chat-leads-with-deepseek-create-hubspot-companies","title":"Qualify Chat Leads with DeepSeek, Create HubSpot Companies","description":"\u003ch3\u003eQualify Chat Leads with DeepSeek and Automatically Create HubSpot Companies\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow reads incoming chat messages, uses a DeepSeek-powered AI Agent to determine whether the sender is interested in automation workflows, and—when relevant—creates a Company in HubSpot and schedules a Google Calendar follow-up for the next day.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eReceives chat messages\u003c\/b\u003e via a \u003ci\u003epublic chat trigger\u003c\/i\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAnalyzes intent with DeepSeek\u003c\/b\u003e using a DeepSeek chat model and conversation memory to decide whether the message indicates interest in n8n workflows or enterprise automation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCreates a HubSpot Company when appropriate\u003c\/b\u003e: if the AI identifies relevant interest, the workflow creates a Company record in HubSpot using extracted company details from the AI response.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eValidates AI output\u003c\/b\u003e: it checks whether the agent response contains the phrase \u003cb\u003e“Company Created in HubSpot”\u003c\/b\u003e before proceeding.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eExtracts the company JSON\u003c\/b\u003e from the AI agent’s markdown response and marks the run as successful.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSchedules a follow-up\u003c\/b\u003e: it creates a \u003cb\u003eGoogle Calendar\u003c\/b\u003e event for the next day using the company name in the event summary.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eFallback behavior\u003c\/b\u003e: if the AI determines the message is not relevant, it replies with \u003cb\u003e“sorry, I don't know”\u003c\/b\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eTurn website or product chat inquiries into \u003cb\u003einstant HubSpot accounts\u003c\/b\u003e for your automation sales pipeline.\u003c\/li\u003e\n  \u003cli\u003eRoute “interested in workflow automation” messages to an AI-qualified lead process with a scheduled meeting reminder.\u003c\/li\u003e\n  \u003cli\u003eFor SaaS operators using n8n, reduce manual lead research by extracting company details directly from chat.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eDeepSeek\u003c\/b\u003e (DeepSeek Chat Model with conversation memory)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eHubSpot\u003c\/b\u003e via HubSpot tool (OAuth2 permissions to create Company records)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGoogle Calendar\u003c\/b\u003e via Google Calendar OAuth2 (creates next-day follow-up events on a selected calendar)\u003c\/li\u003e\n  \u003cli\u003eWorkflow logic includes \u003cb\u003eif\u003c\/b\u003e, \u003cb\u003eset\u003c\/b\u003e, and \u003cb\u003ecode\u003c\/b\u003e nodes, plus supporting notes (sticky note)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eSet up your HubSpot OAuth2 credentials, add DeepSeek API credentials, configure Google Calendar OAuth2, and plug in your chat trigger URL—then tailor the AI Agent prompt and HubSpot company fields to capture the data you need.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46236464185523,"sku":"N8N-21005","price":76.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/WjYYFzMPw1yYCWYr83Z9M_EcYqcayI.png?v=1792227957","url":"https:\/\/buyflowscripts.com\/products\/qualify-chat-leads-with-deepseek-create-hubspot-companies","provider":"N8N Commerce","version":"1.0","type":"link"}