How to build an email categorizer

In today's project you will combine OpenAI’s API and Triggre, a powerful platform to automate complex and repetitive business processes.

Do not index
Do not index
Hello there!! 👋
In today's project you will explore the enormous potential of AI in the field of business process automation. For this, you will use combine OpenAI’s (the company behind ChatGPT) API and Triggre, a powerful platform to automate complex and repetitive business processes. You’ll create an email categorizer tool that's able to sort incoming customer emails according to their priority & sentiment.

Shot of Inspiration ☕

“When I write, I feel like an armless, legless man with a crayon in his mouth.”
Don’t overestimate the world and underestimate yourself. You are better than you think.
And you are not alone.
— Tim Ferriss quoting Kurt Vonnegut

Context Building 🏔

🧱 Project: Build an Email Categorizer
⏲️ Estimated time: 30 minutes
🛠️ Tools: Triggre, OpenAI, Zapier
 
The ability to read a text and understand the sentiment behind it was something that could not be automated until the emergence of AI. As a result, many time-consuming & repetitive tasks, such as answering customer emails, had to be completed manually. In fact, you burn through nearly 28% of your workday (that's a jaw-dropping 2.6 hours per day) just sifting through and replying to emails!
No-code and AI can easily solve this: in today’s lesson you’ll see how Triggre and OpenAI streamline email handling, ensuring you’ll be able to focus on replying to high priority emails first.
 
In this lesson you’ll learn to:
  • Create an app in Triggre
  • Create a Zap in Zapier
  • Generate an OpenAI API key
  • Create an AI-powered sentiment analysis and categoriser app in Triggre
 
🚨 Before you begin, it's important to understand the unique aspects of Triggre, the platform you’ll explore today. While most tools you've used so far focus on building applications with pixel-perfect UI designs, Triggre is all about the business side of things, focusing on automating processes and complex logic. Please check this short, interactive Triggre demo before you start.

Let's Prep 🥗

Get ready to build!
To make your life easier when you build, it’s good to get some practical stuff out the way first. Follow these steps so you’re ready to build:
  • Sign up for a Triggre account HERE

Time to cook 👩‍🍳

  1. Create the Triggre application. In this first step you’re setting up your Triggre environment, using a pre-built email categoriser template from Triggre to help you get started.
  1. Connect Zapier to Triggre. In this step you’ll be creating an email address using Zapier email and then connecting this to Triggre using a Zap. When emails are sent to this email address, you’ll later see them categorised within your Triggre application.
  1. Connect OpenAI to Triggre.
    1. How does Triggre know how to categorise emails? That’s where the Open AI API comes in. You’ll connect Open AI to Triggre so that it’s able to determine the priority and sentiment of inbound emails.
🦄 Bonus: your Triggre application is now functional, but if you want to really understand how it works, we recommend that you spend 5 more minutes on this interactive explanation.
 
 
That’s a wrap, we hope you found this lesson helpful!
  • If you have any questions, feel free to reach out.

The easiest way to learn practical tech skills in 100 days.

Join other 40,231+ learners now!

Subscribe

Written by

Max Haining
Max Haining

Founder of 100School.com