Classify lemlist replies using OpenAI and automate reply handling

Get your lemlist API key 1. Go to your lemlist account or create one [HERE](https://app.lemlist.com/create-account) 2. Go to Settings -> Integrations 3. Generate your API Key and copy it 4. On this node, click on create new credential and paste your API key

Workflow Structure (10 nodes)
100%
Slack
Send alert to Slack
Lemlist Trigger
Lemlist Trigger - On new reply
Markdown
Format text with Markdown
Langchain.chain Llm
Categorize lemlist reply
Langchain.lm Chat Open Ai
OpenAI Chat Model
Langchain.output Parser Structured
Structured Output Parser
Merge
Merge data
Switch
Route reply to the right branch
Lemlist
Lemlist - Unsubscribe
Http Request
lemlist - Mark as interested
Node Types:
default
trigger
action
http
logic
Requires credentials

Prerequisites

No credentials required!

This workflow can be imported and used immediately.

Complexity

Moderate

Some experience helpful. Multiple integrations or logic.

Setup time: ~15 min
Score: 35/100
Conditional Logic
5 Integrations

When to Use This Workflow

Streamline Team Communication

Automatically route notifications and updates to the right channels and people.

Reduce information overload while keeping everyone informed.

Team Notifications

Send automated alerts and updates to your team chat when important events occur.

Never miss critical updates - your team stays informed in real-time.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

workflow.json
{
  "meta": {
    "instanceId": "2b1cc1a8b0a2fb9caab11ab2d5eb3712f9973066051b2e898cf4041a1f2a7757",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "7786165e-5e74-4614-b065-86db19482b72",
      "name": "Format text with Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        -1200,
        980
      ],
      "parameters": {
        "html": "={{ $json.text }}",
        "options": {},
        "destinationKey": "textClean"
      },
      "typeVersion": 1,
...

Workflow Details

Nodes
18
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Social Media Analysis and Automated Email Generation

Personalize here Set: - your name - your company name - your company activity, used to find a match with your leads - y...

Http-request
Lmchatopenai
Outputparserstructured
Chainllm
19 nodesEvent
Curated

Customer Support Channel and Ticketing System with Slack and Linear

1. Query Slack for Messages [Read more about the Slack Trigger](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-n...

Slack
Lmchatopenai
Outputparserstructured
Schedule
19 nodesScheduled
Curated

AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI and Slack

LLM Call 1 - Article Topic Relevance Classification This LLM call is used to classify whether the articles published on...

Lmchatopenai
Chainllm
Schedule
Rssfeedread
31 nodesScheduled
Curated

Auto-label incoming Gmail messages with AI nodes

Add AI labels to Gmail messages With this workflow you can automatically set labels for your Gmail message according to...

Gmail
Chainllm
Outputparserstructured
Lmchatopenai
19 nodesEvent
Curated

Gmail AI auto-responder: create draft replies to incoming emails

When I receive an Email

Gmail
Outputparserstructured
Lmchatopenai
Chainllm
12 nodesEvent
Curated

Automate Sales Meeting Prep with AI & APIFY Sent To WhatsApp

1. Periodically Search For Upcoming Meetings [Read about the Scheduled Trigger](https://docs.n8n.io/integrations/builtin...

Gmail
Google-calendar
Lmchatopenai
Informationextractor
61 nodesEvent
Curated