burger
Features

Every tool you need for AI sales outreach

Independent AI sales assistant

An extra pair of hands for your sales growth

Our best AI emails

Clients' favorite emails generated by AiSDR

End-to-end AI Sales Outreach

All your bases covered within one solution

AI for HubSpot sales

Make the best of your CRM data

AiSDR Website Illustrations | Starts and lightning icon 1
Speak with our AI

Let AiSDR try and convince you to book a meeting with us

Explore Q2 2024 outreach benchmarks Grab my copy
<Back to blog

Teaching Generative AI to Classify Email Responses

Teaching Generative AI to Classify Email Responses
Jul 11, 2024
By:
Oleg Zaremba

Training generative AI on how to classify sales emails is straightforward. Get a sneak peek into how AiSDR does it.

3m 6s reading time

Generative AI is a flexible tool that can be used in a variety of ways to help sales teams.

In many cases, we see AI used to write emails from scratch, summarize large amounts of information, and run simple calculations.

Previously, I’ve touched on how AiSDR uses generative AI to clean messy CSV files and even check another AI’s output.

But today, I’ll take this a different route and outline how we teach AI to classify email responses.

TLDR: 

  • The goal: Sort incoming email responses automatically
  • The tactic: Teach generative AI how to classify emails
  • The result: Greater efficiency and time savings by no longer individually checking each email

Step 1: Collect a set of typical email responses

The key to teaching AI to do whatever you want is the dataset.

In this case, we need a large collection of email responses, complete with the original message and any follow-ups (more on why later).

Here are some types of responses you might want to collect:

  • Yes
  • No 
  • Not interested
  • Auto-replies (especially out-of-office messages)
  • Let’s chat
  • Send me a link

You can extend this list as much as you need so long as you have the corresponding emails.

If you don’t have any of your own emails, you can use email templates and simply create your own hypothetical responses.

Free guide
The Complete Buyer’s Guide to AI SDR Software
Check out how to evaluate AI SDRs, narrow down a shortlist, and calculate ROI to find the best AI SDR fit for you.
GRAB MY GUIDE
AiSDR guide cover - The Complete Buyer’s Guide to AI SDR Software

Step 2: Create clear “buckets” for classification

Once you have your email dataset in hand, it’s time to start classifying them.

I recommend starting from three categories or “buckets” for clearer differentiation:

  • Positive
  • Negative
  • Maybe

Chances are you’ll have some emails that don’t completely fit one of these buckets. When this happens, just create another bucket with a clear differentiating factor.

Step 3: Outline which responses fit and which don’t

For each bucket, you’ll need to indicate which emails fit and which don’t.

Here’s a simple example of email responses that might fit the “Positive” and “Negative” buckets.

PositiveNegative
Yes
Sounds good
Let’s chat
Send me a link
How about we meet on [date]?
I’m impressed
No
Uninterested
Not interested
Unsubscribe
Take me off your list
We already use [product]

Then whenever you encounter a new email that fits the “Positive” or “Negative” bucket, you add it. 

For instance, if someone writes back “Sounds cool!”, you would add it to the “Positive” bucket. Likewise, you would add “Stop sending me emails” to the “Negative” bucket.

Step 4: Provide all context for classification

Generative AI works best when it has a lot of context.

When teaching AI to classify email responses, context plays a role in two different ways:

  • Instructions about what role the AI is fulfilling (i.e. “You are a sales representative responsible for reviewing email responses. You should categorize emails…”)
  • Complete email conversation from the original message through all subsequent responses

With full context, generative AI should improve at classifying emails. This is also why I mentioned in Step 1 to collect the entire email conversation (original + all follow-ups + all responses).

Bonus tip: Set the stage for better results

Due to how large-language models work, AI’s output will yield more reliable results if you ask AI to provide its answer with the message it classified.

The reason why this works is because LLMs have to predict the next token. By forcing AI to essentially ‘repeat the question’, the data is fresher and more contextualized.

And like I mentioned earlier, AI thrives when it has sufficient context. 

Book more, stress less with AiSDR
Check out how AiSDR will run your sales
GET MY DEMO

The Result

Here are the results of teaching AI how to classify email responses:

  • Automate email outreach from first touch to demo (or closed)
  • Scan email responses more efficiently by type of response
  • Prioritize follow-ups based on positive and maybe replies
  • Improve AI’s performance and accuracy over time
Subscribe to our Newsletter
Get the latest product updates, company news, and special offers delivered right to your inbox.
helpful
Did you enjoy this blog?
TABLE OF CONTENTS
1. Step 1: Collect a set of typical email responses 2. Step 2: Create clear “buckets” for classification 3. Step 3: Outline which responses fit and which don’t 4. Step 4: Provide all context for classification 5. Bonus tip: Set the stage for better results 6. The Result
AiSDR | Website Illustrations | LinkedIn icon | 1AiSDR Website Illustrations | LI iconAiSDR | Website Illustrations | X icon | 1AiSDR Website Illustrations | X iconAiSDR | Website Illustrations | Insta icon | 1AiSDR Website Illustrations | IG icon 2AiSDR | Website Illustrations | Facebook icon | 1AiSDR Website Illustrations | FB icon
link
AiSDR Website Illustrations | Best AI Tools for Primary and Secondary Market Research | Preview
Get an AI SDR than you can finally trust. Book more, stress less.
GO LIVE IN 2 HOURS
Using an AI to Validate Another AI’s Output
Using an AI to Validate Another AI’s Output
Oleg Zaremba
Oleg Zaremba •
May 16, 2024 •
3m 42s
Generative AI can be unreliable at times. Use this shortcut to quickly validate the quality of AI outputs
Read blog>
Using Generative AI to Clean a CSV File
Using Generative AI to Clean a CSV File
Oleg Zaremba
Oleg Zaremba •
Jun 13, 2024 •
2m 52s
Ever cleaned a csv? It's a headache, which is exactly why AiSDR turns it over to AI. Find out how we did it from our CTO
Read blog>
How Cats Can Teach You to Write Better Emails
How Cats Can Teach You to Write Better Emails
Alina Karnaukh
Alina Karnaukh •
May 3, 2024 •
5m 12s
Cats are the best teachers. So find out how cats can teach you to write better emails
Read blog>
4 Predictions About the State of Generative AI 2024
4 Predictions About the State of Generative AI 2024
Joshua Schiefelbein
Joshua Schiefelbein •
Feb 13, 2024 •
6m 27s
What's in store for AI in 2024? Our CTO shares 4 of his predictions for generative AI
Read blog>
See how AiSDR will sell to you.
Share your info and get the first-hand experience
See how AiSDR will sell to you