Welcome to Albato Help

How to Create an AI-Powered Email Analyzer


IN THIS ARTICLE

This automation helps you triage incoming emails. Albato sends each new email to AI, checks whether it is relevant, stops the flow for low-priority messages, creates a ClickUp task for important emails, and can generate a short reply.

 

Connecting the apps

The first step to creating this automation is to connect the apps we will use.

In this example, we will use Gmail. You can adapt the same logic for Outlook or for an email connection through SMTP/IMAP.

We will also connect ClickUp, to send tasks to this app whenever an email is relevant. Other apps that could be used include Monday, Trello, Microsoft To Do, among others.

Finally, for the AI part, we will use Albato’s native AI feature (available in paid plans and Trial version). If you are using a Tier plan, you will also need to connect an external AI app such as Claude, ChatGPT, Perplexity, among others.

  1. Go to the Apps section in Albato and click Add a Connection.

Screenshot 01

Search for the desired app and follow the instructions that appear. After completing the first connection, repeat the process for the remaining apps.

 

Creating the automation

  1. Go to the Automations section and click Create New Automation.

Screenshot 02

Next, click to add a trigger.

Screenshot 03

Select the Gmail app and the New Email Received event.

Screenshot 04

Then, click to add an action.

Screenshot 05

In the AI section, select Albato AI.

Screenshot 06

Choose Create Chat Completion.

Screenshot 07

Fill in the Role field with the value user (typed manually).

Screenshot 08

In the Message field, write a custom prompt.

Here, it is very important to provide all instructions on how the email should be analyzed and define that the final response must be **YES or NO **, to enable relevance filtering.

Prompt example.

Sender: (insert the sender’s email) Analyze the following email: (insert the email message parameter here). Identify whether this email is relevant or not. The final answer must be only YES if it is relevant, or NO if it is not relevant. Consider it relevant when it appears to be a new proposal, questions about our product, scheduled meetings, notifications of pending contracts, important pending payments, or any message sent from the following emails: (insert list of relevant emails). It should be considered NOT relevant in cases of advertisements, spam, reply messages, or general promotions. The final answer must be only YES or NO.

Screenshot 09

Attention: customize the prompt according to your needs, including specific criteria and using the sender and message content parameters.

After configuring this step, add a logic step to stop the automation under a specific condition.

Screenshot 10

Set the automation to stop if the AI response contains the word **NO **. This way, only important emails will proceed to the next steps.

Screenshot 11

Now, add the step to create a task in ClickUp.

Screenshot 12

Configure the task with the desired information, for example: “Check important email” as the task name, status, and more details about the email.

Screenshot 13

Next, add another Albato AI step, but this time to generate a response.

Screenshot 14

Use user again in the role field and create a prompt like.

“Generate a response to this email. Mention that we are reviewing the message, use a polite and neutral tone, and keep it under 3 paragraphs.”

Screenshot 15

After that, add the Send Email in Gmail step.

Screenshot 16

Set the recipient as the sender’s email and, in the message field, use the AI-generated response. The subject can be configured as you prefer or left blank.

Screenshot 17

Activate the automation when every step is configured.

Screenshot 18

You can keep the same workflow logic and replace Gmail or ClickUp with other apps that fit your process. If you have any questions, reach out to the support team via the chat.

 

Did this answer your question?