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

Add AI Labels to Gmail Messages with OpenAI

When a new email arrives in Gmail, OpenAI chooses fitting labels for it and the workflow assigns them to the message.

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. Assign labels for message
  4. OpenAI Chat
  5. JSON Parser
  6. Set label values
  7. Get all labels
  8. Split out assigned labels
  9. Merge corresponding labels
  10. Aggregate label IDs
  11. Add labels to message
  12. Error Handler for 1e11d30f
  13. Error Handler

Similar automations