Skip to content
FlowHubFluxonLab
Google Sheets
AI Automationfree

Modular & Customizable AI-Powered Email Routing: Text Classifier for eCommerce

by Davide Boizzaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresGoogle SheetsGoogle SheetsOpenAI Chat ModelOpenAI Chat ModelSend EmailSend EmailText ClassifierText Classifier
Share Post Share
FoOn form submissionOn form submiss…TCText ClassifierOpenAIESProd. Dep.ESQuote Dep.ESGen. Dep.ESOrder Dep.ESOther Dep.Quote DBProd DBGeneral DBOrder DBOther DB123456789101112
1/5
STEPS · 12
Starts on an incoming request

How It Works Form Submission: The workflow starts with the On form submission node, which triggers when a user submits a contact form. The form collects the user's name, email, and message. Text Classification: The Text Classifier node uses an AI model (GPT-4) to classify the submitted message into one of the predefined categories: Request Quote: For quote requests. Product info: For general product inquiries. General problem: For issues or problems related to products. Order: For questions about placed orders. Other: For any messages that don’t fit the above categories. Email Routing: Based on the classification, the workflow routes the message to the appropriate department via email: Prod. Dep.: For product-related inquiries. Quote Dep.: For quote requests. Gen. Dep.: For general problems. Order Dep.: For order-related questions. Other Dep.: For all other inquiries. Each email includes the user's name, email, message, and the classified category. Data Logging: The workflow logs the form submission and classification results into a Google Sheets document. Each department has its own sheet where the data is appended, including: User’s name, email, and message.

Tags

n8nreference-onlyemail-sendgoogle-sheetslm-chat-open-aitext-classifier
Connects
sheetsGoogle SheetsopenaichatmodelOpenAI Chat ModelsendemailSend EmailtextclassifierText Classifier
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes13
AddedFeb 5, 2025

Related workflows

See all AI Automation
Agmailopenaichatmodeltextclassifier
free

Suggest meeting slots using AI

The purpose of this n8n workflow is to automate the process of identifying incoming Gmail emails that are requesting an appointment, evaluating their content, checking calendar availability, and then composing and sending a response email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team