How it works

1. A Gmail trigger checks for new emails every 30 minutes. 2. A For Each step goes through every new message. 3. An AI extraction step reads the sender, subject and body and returns a single category. 4. A switch sends the message down the branch for its category. 5. Each branch uses Move Email to add the matching Gmail label to the message. Messages that fit none of the categories are left untouched.