Skip to main content

Classify lemlist replies using OpenAI and automate reply handling

Workflow preview

Workflow preview
100%
Classify lemlist replies using OpenAI and automate reply handling preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 l...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.markdown, n8n-nodes-base.lemlisttrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.slack, n8n-nodes-base.lemlist, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lucas Perret.

Original n8n.io source

1.1 Workflow description

Title
Classify lemlist replies using OpenAI and automate reply handling
Workflow name
Classify lemlist replies using OpenAI and automate reply handling

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 creates the correct follow up task. The follow-up tasks currently include:

  • Slack alerts when a lead for each new replies
  • Tag interested leads in lemlist
  • Unsubscription of leads when they request it

The Slack alerts include:

  • Lead email address
  • Sender email address
  • Reply type (positive, not interested...etc)
  • A preview of the reply

Setup

To set this template up, simply follow the stickies steps in it

How to customize this workflow to your needs

  • Adjust the follow up tasks to your needs
  • Change the Slack notification to your needs
  • ...

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Format text with Markdown

Type / Role
n8n-nodes-base.markdown - markdown
Config choices
Version 1

Block 2 - Lemlist Trigger - On new reply

Type / Role
n8n-nodes-base.lemlistTrigger - lemlistTrigger
Config choices
Version 1

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 7 - Send alert to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 8 - Lemlist - Unsubscribe

Type / Role
n8n-nodes-base.lemlist - lemlist
Config choices
Version 1

Block 9 - lemlist - Mark as interested

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 2

Block 10 - Categorize lemlist reply

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 11 - Merge data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Route reply to the right branch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Classify lemlist replies using OpenAI and automate reply handling
Complexity advanced
Nodes 18
Categories CRM, AI Summarization
Author Lucas Perret
Published 10 Jun 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2287/2287.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Classify lemlist replies using OpenAI and automate reply handling do?

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 l...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.