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. 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
  12. Error Handler for 2bdf3fed
  13. Error Handler

Similar automations