This n8n workflow automates the process of categorizing and labeling Gmail messages using AI and Gmail’s API. It triggers on new emails, retrieves message content, and assigns labels based on AI analysis, improving email management and organization. The workflow begins with a Gmail trigger that detects new emails, retrieves detailed message content, and then uses AI to classify the email into categories like ‘Partnership,’ ‘Inquiry,’ or ‘Notification.’ Labels are then fetched from Gmail, merged, and IDs aggregated before applying the new labels back to the message. This automation is particularly useful for busy professionals or teams managing high volumes of emails, enabling quick and consistent organization of incoming messages.
Automated Gmail Labeling with AI Categorization
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.chainLlm, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.outputParserStructured, aggregate, gmail, gmailTrigger, merge, set, splitOut, stickyNote |
Reviews
There are no reviews yet.