Test with
Workflow Description
Automation template integrating an intelligent AI agent powered by OpenAI with Google Sheets to process user queries via interactive chat interface, with automatic result logging and formatting.
How it works
- 1.Activate the trigger when receiving a chat message from the user
- 2.Process inputs and pass the request to the LLM chain connected to OpenAI
- 3.Split and format results using data processing nodes
- 4.Save queries and responses to a Google Sheets table for tracking
Use cases
- Build an intelligent assistant that answers customer questions and logs interactions automatically
- Automate inquiry processing with complete record-keeping in organized spreadsheets
Requirements
- Valid API key from OpenAI
- Full access to Google Sheets with editing permissions
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