Classify lemlist replies using OpenAI and automate reply handling
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs on Lemlist events (emails replied). Along the way it connects Lemlist, OpenAI Chat Model and Slack.
How it runs
Trigger: On Lemlist events (emails replied).
- Format text with Markdown (Markdown): converts between Markdown and HTML
- Merge: merges the data from its input branches
- Categorize lemlist reply (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Route reply to the right branch (Switch): routes items into 3 branches
- Send alert to Slack (Slack): uses Slack
- Lemlist: unsubscribe (lead)
- lemlist - Mark as interested (HTTP Request): calls an HTTP API
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Markdown
n8n-nodes-base.markdown - Lemlist Trigger
n8n-nodes-base.lemlistTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Slack
n8n-nodes-base.slack - Lemlist
n8n-nodes-base.lemlist - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch
From the author
Who this is for This workflow is for sales people who want to quickly and efficiently follow up with their leads What this workflow does This workflow starts every time a new reply is received in lemlist. It then classifies the response using openAI and…