Modular & customizable AI-powered email routing: text classifier for eCommerce
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when someone submits an n8n form (“Contacts”). Along the way it connects OpenAI Chat Model and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Contacts”).
- Text Classifier: classifies text into categories with AI, with model: OpenAI
- Quote Dep. (Send Email): sends an email over SMTP
- Prod. Dep. (Send Email): sends an email over SMTP
- Gen. Dep. (Send Email): sends an email over SMTP
- Order Dep. (Send Email): sends an email over SMTP
- Other Dep. (Send Email): sends an email over SMTP
- Quote DB (Google Sheets): append
- Prod DB (Google Sheets): append
- General DB (Google Sheets): append
- Order DB (Google Sheets): append
…plus 1 more step. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Send Email
n8n-nodes-base.emailSend - Google Sheets
n8n-nodes-base.googleSheets
From the author
How It Works 1. 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. 2. Text Classification: - The Text Classifier node uses an AI…