Test with
Workflow Description
An advanced automation template combining AI agents with data processing, receiving inquiries through a chat interface, processing them with OpenAI models using LLM chains, and logging results to Google Sheets for tracking and analysis.
How it works
- 1.Receive inquiry via Chat Trigger and route for processing
- 2.Process request using OpenAI and LLM Chain to generate intelligent response
- 3.Split and process results through Code and Split Out nodes
- 4.Save data and results to Google Sheets
- 5.Assign variables and intermediate data via Set nodes
- 6.Add timestamps and format final outputs
Use cases
- Automate customer inquiry responses and maintain comprehensive logs
- Process computational and analytical requests with automatic documentation
- Build AI agents to handle conversations and store data systematically
Requirements
- Valid OpenAI API key configured
- Access permissions to Google Sheets with data manipulation rights
- Basic understanding of LLM Chains and advanced n8n workflow patterns
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