Responses and contact form classification in WordPress().
Workflow Description
Automatic classification of WordPress contact form submissions using artificial intelligence. The workflow receives data via webhook, analyzes it with Gemini, categorizes responses by type, sends email notifications, and logs classified entries in Google Sheets for centralized tracking and reporting.
How it works
- 1.Receive form submission data through webhook endpoint
- 2.Analyze message content using Gemini language model
- 3.Classify response into predefined categories (inquiry, complaint, suggestion)
- 4.Send email notification with message and classification result
- 5.Store classified data in Google Sheets for record keeping
Use cases
- Route customer inquiries to appropriate departments based on automated classification
- Process high-volume form submissions without manual categorization
- Organize contact responses in separate sheet tabs by response type
Requirements
- Google account with access to Gemini API and Google Sheets
- Email address configured for notification delivery
- WordPress plugin or manual webhook configuration on contact form
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (24)
From Wordpress
Webhook
Set Fields
Set
Google Gemini Chat Model
Gemini Model
Message Classifier
If
Google Gemini Chat Model1
Gemini Model
Email draft - Other info
Gmail
Email writer (Others)
LLM Chain
Google Gemini Chat Model2
Gemini Model
Google Gemini Chat Model3
Gemini Model
Email writer (Order info)
LLM Chain
Email writer (Product info)
LLM Chain
Email draft - Product info
Gmail
Email draft - Order info
Gmail
Save on Sheet (product)
Google Sheets
Save on Sheet (order)
Google Sheets
Save on Sheet (other)
Google Sheets
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Subject and Text
Output Parser Structured
Subject and Text 2
Output Parser Structured
Subject and Text 3
Output Parser Structured
Sticky Note4
Sticky Note