Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Auto-Label Incoming Gmail Messages with OpenAI

When a new Gmail message arrives, OpenAI reads its content, picks the fitting labels and applies them to the message in Gmail.

What it does

## Add AI labels to Gmail messages With this workflow you can automatically set labels for your Gmail message according to its content. In this workflow available are 3 labels: "Partnership", "Inquiry" and "Notification". Feel free to adjust labels according to your needs. Please remember to set label names both in your Gmail account and workflow.

The steps

  1. Gmail trigger
  2. Get message content
  3. Set label values
  4. Get all labels
  5. Split out assigned labels
  6. Merge corresponding labels
  7. Aggregate label IDs
  8. Add labels to message
  9. Assign labels for message
  10. JSON Parser
  11. OpenAI Chat

Similar automations