Test with
Workflow Description
An automation template that combines an AI agent powered by OpenAI with Google Sheets to process inquiries through a chat interface. It receives requests, processes them via an LLM chain, and automatically stores results.
How it works
- 1.Receive user query through Chat Trigger interface
- 2.Process request using LLM Chain with OpenAI models
- 3.Split and route results, execute HTTP requests if needed
- 4.Store processed data in Google Sheets automatically
- 5.Return response to user via chat interface
Use cases
- Intelligent customer support with automated conversation logging and data archiving
- Complex inquiry processing with AI analysis and automatic data storage in spreadsheets
Requirements
- Valid OpenAI API key with appropriate permissions
- Full access credentials for Google Sheets integration
- Enabled Chat Trigger in n8n environment
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 (21)
Sticky Note
Sticky Note
Get Models
HTTP Request
Sticky Note1
Sticky Note
When chat message received
Chat Trigger
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Get timeDifference
Date Time
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Run Model with Dunamic Inputs
OpenAI
Analyze LLM Response Metrics
Code
Save Results to Google Sheets
Google Sheets
Capture End Time
Date Time
Capture Start Time
Date Time
Prepare Data for Analysis
Set
Extract Model IDsto Run Separately
Split Out
Sticky Note7
Sticky Note
Add System Prompt
Set
LLM Response Analysis
LLM Chain
Sticky Note8
Sticky Note