AI Agents

Responses and contact form classification in WordPress().

24 nodes 205 113 Webhook
Download

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. 1.Receive form submission data through webhook endpoint
  2. 2.Analyze message content using Gemini language model
  3. 3.Classify response into predefined categories (inquiry, complaint, suggestion)
  4. 4.Send email notification with message and classification result
  5. 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

Gemini If Gmail LLM Chain Google Sheets Output Parser

Details

Trigger Webhook
Nodes 24
Apps 6
Views 205
Downloads 113

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (24)

/

From Wordpress

Webhook

#1

Set Fields

Set

#2

Google Gemini Chat Model

Gemini Model

#3

Message Classifier

If

#4

Google Gemini Chat Model1

Gemini Model

#5

Email draft - Other info

Gmail

#6

Email writer (Others)

LLM Chain

#7

Google Gemini Chat Model2

Gemini Model

#8

Google Gemini Chat Model3

Gemini Model

#9

Email writer (Order info)

LLM Chain

#10

Email writer (Product info)

LLM Chain

#11

Email draft - Product info

Gmail

#12

Email draft - Order info

Gmail

#13

Save on Sheet (product)

Google Sheets

#14

Save on Sheet (order)

Google Sheets

#15

Save on Sheet (other)

Google Sheets

#16

Sticky Note

Sticky Note

#17

Sticky Note1

Sticky Note

#18

Sticky Note2

Sticky Note

#19

Sticky Note3

Sticky Note

#20

Subject and Text

Output Parser Structured

#21

Subject and Text 2

Output Parser Structured

#22

Subject and Text 3

Output Parser Structured

#23

Sticky Note4

Sticky Note

#24