lemlist x GPT-3: Automatically categorize your email replies

January 23, 2023
X
min.

Getting replies from your prospect is a good sign, but manually reviewing each reply takes time and can lead to human error.

A quick solution is to automate your email categorization and save hours for other tasks that can increase your revenue.

AI-based models, such as GPT-3, can help you avoid all the manual effort and give you even more accurate results. You can integrate it into your lemlist sales engagement app via n8n and make automation platforms.

In this article, you’ll get a step-by-step process on how to integrate GPT-3 into lemlist to automate:

  • Slack alerts when a lead is interested
  • the task creation when a lead is OOO
  • unsubscription of leads upon request

… which will help you boost your outreach efficiency. 😎

Step #1: Go to the OpenAI account to get your API key

→ If you already don’t have an OpenAI account, go to openai.com to sign up
→ Once you have an account, it’s time to get your API key:

  1. click on your name in the top-right corner
  2. choose to View API Keys
  3. create a new secret key
Go to the OpenAI account to get your API key

Step #2: Go to the lemlist account to get your API key

  1. If you already don’t have a lemlist account, go to lemlist.com and sign up for a free trial
  2. In the lemlist app, click on the Team settings drop-down menu
  3. Go to Integrations
  4. Under the API section, click on Generate new key button (if you already don’t have the API key)
Go to the lemlist account to get your API key

Step 3#: Create n8n or make account

You can use one of these two no-code workflow automation platforms to continue your integration process:

→ Option 1: if you already don’t have an n8n account, start a 30-day free trial at n8n.cloud
→ Option 2: if you already don’t have a make account, you can start your free trial at make.com

Step 4#: Create your sales automation workflow

Option 1: Create the automation workflow in n8n

  1. Log into your n8n account and choose to create a blank workflow
  2. Go to this link and click on “copy the workflow”:
  3. Paste the new workflow in your blank workflow

Now, your workflow should look like this:

n8n automation workflow dashboard

4. For each node, you’ll have to set up your credentials

For GPT-3 node:
→ choose Header authentication
→ Name = Authorization
→ Value = Bearer YOUR_API_KEY

set up GTP3 node

Set up lemlist Auth:
→ create a new credential
→ paste your API Key

set up lemlist auth

P.S. you can reuse the same authentication process for all lemlist nodes except “lemlist - Mark as interested”. For this one, choose “Predefined Credential Type” → Lemlist API → The same credential you created.

5. When all nodes are set up, you can activate your workflow

If you want to add data to your HubSpot CRM automatically, you do it through n8n:

  1. In the Hubspot app, go to Settings
  2. Under Integration, choose to create a private app
  3. Allow the following scopes:

4. After creating the app, copy the token
5. Choose an APP Token for Authentication
6. Create a new credential and paste your token

set up hubspot app token account

You can reuse the same authentication process for all Hubspot nodes.

Option 2: Create the automation workflow in make

  1. Download the blueprint JSON here
  2. Log in to make app and click on Scenarios to create a new scenario
  3. Choose “Import Blueprint”
set up hubspot automation workflow

4. For each module, you'll have to authenticate yourself

  • lemlist → add your API key
  • Hubspot → Use 0Auth
  • OpenAI → add your API key

5. Save your module and activate it.

P.S. You can create the same integration with Slack, Pipedrive, Salesforce, and many other apps. Here are all the options that can help boost your outreach efficiency.

Final thoughts

Keeping your outreach replies organized is important to improve efficiency, ensure consistency, and better track your campaign progress.

GPT-3 x lemlist integration can help you reduce the time and effort required to categorize replies manually and give more accurate and consistent results.

If you want to grow your business with more advice like this, join the lemlist family, where 11k+ successful people share free outreach tips daily. 🚀

What you should look at next
AI sales
7 AI email assistants to boost your sales efficiency
In this article, get a breakdown of the 7 best AI email assistants on the market that will help you simplify your sales process.
Mihaela Cicvaric
August 9, 2023
AI sales
Cold outreach guide for beginners - how to get started with AI
Your complete guide to using AI in cold outreach, for beginners. Learn how sales reps use AI to meet their goals and level up their strategies.
Julia Hamilton
July 25, 2023
AI sales
3 steps to generate personalized outreach sequence with AI
In this article, we'll show you 3 simple steps to create an outreach sequence that generates replies up to 2 times faster than your current approach.
Mihaela Cicvaric
July 3, 2023
AI sales
Top 20+ resources to learn about Artificial Intelligence
There’s so much mention of AI, but where does one actually start? To save you some time, we’re sharing the list of the top 23 resources that helped us revolutionize our business in this article.
Mihaela Cicvaric
June 28, 2023
AI sales
3 steps to create detailed ICPs and buyer personas with AI
Master the art of crafting buyer personas and ICPs with AI. Discover 3 proven steps to understand your audience's needs and boost your outreach success.
Julia Hamilton
June 27, 2023
AI sales
How to crush your sales goals with generative AI (+ top AI tools)
How to drive sales growth with generative AI and the top AI sales tools. Automate tasks, personalize campaigns, and optimize performance for success.
Julia Hamilton
June 25, 2023

Book your
first meetings
this week!

Accelerate your business growth and start generating revenue with lemlist
Try for free
No card required.
Try for free
No card required.
YES