Use an advanced n8n workflow to categorize Lemlist email replies using OpenAI, automatically manage leads in HubSpot (create deals/tasks), and send instant Slack alerts. Leverage these powerful n8n templates.
Download this n8n workflow template and start using it instantly.
Sales Development Representatives (SDRs) and Account Executives (AEs).
Marketing teams running cold outreach campaigns with Lemlist.
Operations specialists looking for robust n8n templates for sales automation.
Users needing to leverage an advanced n8n workflow for AI-driven lead routing.
This comprehensive automation solves the crucial problem of manually sorting and acting upon campaign replies. When a lead responds to a Lemlist campaign, this specialized n8n workflow instantly analyzes the email content using an advanced OpenAI n8n node. Based on the categorization (Interested, Out of Office, Unsubscribe, or Other), the n8n workflow executes precise actions: updating lead status in Lemlist, creating deals or tasks in HubSpot, and notifying the sales team via Slack. This powerful n8n template ensures rapid, accurate response management, dramatically improving sales efficiency and follow-up quality. The flexibility of this n8n workflow makes it an essential tool for high-volume outreach.
emailsReplied event, initiating the n8n workflow instantly when a reply is received.unsubscribe operation. Lemlist - Lead Replied (n8n trigger): The primary n8n trigger. It listens for the emailsReplied webhook event, initiating the entire n8n workflow execution.
OpenAI (n8n node): Performs AI classification. It uses a specific prompt to categorize the incoming email text into 'interested', 'Out of office', 'unsubscribe', or 'other'.
Switch (n8n node): The core control flow mechanism. It evaluates the categorized output from the OpenAI n8n node to direct the workflow down one of four branches.
Lemlist - Unsubscribe (n8n node): Executes the Lemlist API operation to unsubscribe a lead based on the email address and campaign ID extracted from the initial n8n trigger data.
HubSpot - Get contact ID / Get contact ID1 (n8n node): Used twice to ensure the contact exists in HubSpot using the lead email. This step is crucial before creating a deal or a follow up task.
HubSpot - Create Deal (n8n node): Executes for 'Interested' replies. It creates a new deal, linking it directly to the retrieved contact ID and setting a predefined sales stage.
follow up task (HubSpot n8n node): Executes for 'Out of Office' replies. It creates an engagement task in HubSpot for the associated contact, reminding the sales team to follow up manually after the OOO period ends.
Slack / Slack1 (n8n node): Provides real-time alerts. Configuration includes dynamic message text with links back to either the HubSpot deal or the Lemlist campaign report, based on which path of the n8n workflow executed.
Use this robust n8n workflow to automate complex job scraping from LinkedIn and Indeed via Bright Data. Trigger searches via an n8n form and save the aggregated job listings directly to Google Sheets for comparison.

Master advanced n8n workflow techniques. This n8n template shows how to use the itemMatching() function in a Python code n8n node to restore original data fields after preceding data transformations.

Automate nutritional tracking with this advanced n8n workflow. It analyzes food photos sent via iMessage using GPT-4 Vision, maintains history in a Postgres database, and replies with detailed, conversational summaries. Leverage this n8n template today.

Deploy an advanced customer support chatbot using an n8n workflow. It uses GPT-4o agents and n8n node tools to check Google Sheets inventory and process sales orders automatically.

Secure your AI agents against jailbreaking, PII leakage, and toxic content. This advanced n8n workflow implements multiple security guardrails using specialized n8n node logic, ideal for enterprise deployments.









































