If you have a corporate email you probably have a lot of different types of emails that go into your inbox like marketing emails, people trying to sell things, suppliers, and customer requests.
It’s a lot of information and sometimes we get lost in that but right now we can use AI and automation tools to help us filter the important ones so we don’t forget answering them. For every important email we will create a Trello task containing the email tag, sender email and the email content.
For this tutorial, we will use 2 things:
For example, you can define that you only want to answer customer’s emails and will ignore other types of emails. We want to track if the customer's email is a complain, positive feedback, question, or feature request.
We will use make.com to connect the building blocks of our system: Gmail, OpenAI API, simple text filter, and Trello API.
We need a prompt to define our tags and what kind of email we want to answer. In my case, I only want to answer the customer's email and I want to ignore all the others (marketing emails, people trying to sell things).
Therefore a good prompt can be:
You are GmailGPT. You will help me to tag the important emails. You will read the email content and judge if that email is important for me or not and will use tags to separate the emails. You will output ONLY the email tag. NO explanation.
For me, an important email is: a customer providing some feedback, complain, feature request or question about any product / service.
Please use the following tags: complain, feature_request, product_feedback, product_question.
For all the other types of email output the tag "not_important".
Email content:
{email_content}
GmailGPT:
Examples:
Email content: Hi John, you service is trash. I want my money back right now!!
Output: complain
Email content: Hi John, I want to know how much it costs the enterprise plan?
Output: product_question