Email classifier

Automatically categorize incoming emails using AI classification.
Created by
Relay.app logoRelay.app Team
Relay.app screenshot of: Email classifier
Relay.app screenshot of: Email classifierRelay.app screenshot of: Email classifier

Steps in this workflow

1
Gmail logo
Email received
2
Relay.app logo
Classify with AI
Category A
Category B
Path rules

In this workflow, you can use AI to automatically classify your email into different categories, then take different actions based on the classification. You can use this to automatically archive emails, label emails, reply to emails, and more.

1
Gmail logo
Email received
Relay.app screenshot of: Trigger

Monitors your Gmail inbox and activates the workflow whenever a new email arrives. The trigger captures the entire email including the sender, subject, body, and any attachments for processing in subsequent steps.

2
Relay.app logo
Classify with AI
Relay.app screenshot of: Step 2: Classify with AI

Analyzes the email content using AI to determine whether it belongs in Category A or Category B. The classification is based on custom instructions that should be configured when setting up the workflow.

Prompt used
Please classify the email into Category A or Category B based on the following instructions: [ADD YOUR INSTRUCTIONS HERE]
Paths
Category A
Category B
This path will be taken when the rules below match.
Relay.app screenshot of: Path: Category A
Paths make it super easy to create complex, multi-outcome workflows.
Documentation

See this workflow in action