← All N8N workflows
AI & researchChain LLMGmailGoogle SheetsLM Chat Google GeminiOutput Parser Structured

WordPress Contact Form (CF7) Responses and Classification

Configured with Chain LLM, Gmail, Google Sheets, LM Chat Google Gemini, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerFrom WordpressWebhookTransformSet FieldsEdit FieldsAI & modelsGoogle Gemini ChatModelLM Chat Google GeminiAI & modelsMessage ClassifierText ClassifierAI & modelsGoogle Gemini ChatModel1LM Chat Google GeminiMessagingEmail draft - OtherinfoGmailAI & modelsEmail writer (Others)Chain LLMAI & modelsGoogle Gemini ChatModel2LM Chat Google GeminiAI & modelsGoogle Gemini ChatModel3LM Chat Google GeminiAI & modelsEmail writer (Orderinfo)Chain LLMAI & modelsEmail writer (Productinfo)Chain LLMMessagingEmail draft - ProductinfoGmailMessagingEmail draft - OrderinfoGmailData storeSave on Sheet (product)Google SheetsData storeSave on Sheet (order)Google SheetsData storeSave on Sheet (other)Google SheetsTransformSubject and TextOutput Parser StructuredTransformSubject and Text 2Output Parser StructuredTransformSubject and Text 3Output Parser Structured

Node categories in this workflow

  • Trigger
  • Transform
  • AI & models
  • Messaging
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
From WordpressTriggerWebhookSee node parameters
Set FieldsTransformEdit FieldsSee node parameters
Google Gemini Chat ModelAI & modelsLM Chat Google GeminiSee node parameters
Message ClassifierAI & modelsText ClassifierSee node parameters
Google Gemini Chat Model1AI & modelsLM Chat Google GeminiSee node parameters
Email draft - Other infoMessagingGmaildraft
Email writer (Others)AI & modelsChain LLMSee node parameters
Google Gemini Chat Model2AI & modelsLM Chat Google GeminiSee node parameters
Google Gemini Chat Model3AI & modelsLM Chat Google GeminiSee node parameters
Email writer (Order info)AI & modelsChain LLMSee node parameters
Email writer (Product info)AI & modelsChain LLMSee node parameters
Email draft - Product infoMessagingGmaildraft
Email draft - Order infoMessagingGmaildraft
Save on Sheet (product)Data storeGoogle Sheetsappend
Save on Sheet (order)Data storeGoogle Sheetsappend
Save on Sheet (other)Data storeGoogle Sheetsappend
Subject and TextTransformOutput Parser StructuredSee node parameters
Subject and Text 2TransformOutput Parser StructuredSee node parameters
Subject and Text 3TransformOutput Parser StructuredSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2
  • googlePalmApi
  • googleSheetsOAuth2Api

Workflow notes

PRELIMINARY STEP

PRELIMINARY STEP

  • Download the Wordpress Plugin CF7 to Webhook and install it
  • Go to webhook tab on Wordpress and set the url of the n8n Webhook trigger
  • Set the POST request
Sticky Note1

Set your own classification categories

Sticky Note2

Create the draft of the reply email by dividing it into subject and text ready to be sent

Sticky Note3

send the draft to the correct department's company email

WordPress Contact Form (CF7) Responses and Classification

WordPress Contact Form (CF7) Responses and Classification

This workflow optimizes the management of inquiries received through a contact form on a WordPress site, automating the process of classification, response drafting, and data storage.

This workflow is particularly useful for businesses that receive multiple daily inquiries and want to improve their efficiency in managing customer communications.

WordPress Contact Form (CF7) Responses and Classification

WordPress Contact Form (CF7) Responses and Classification

Purpose and structure

This folder contains the WordPress Contact Form (CF7) Responses and Classification workflow. Its executable nodes use chainLlm, gmail, googleSheets, lmChatGoogleGemini, outputParserStructured, set, textClassifier, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

From Wordpress

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Googlesheets/1860_GoogleSheets_Gmail_Automation_Webhook.json MIT; preserve source notices.

More in AI & research