Process customer inquiries with AI and log responses to spreadsheets
Workflow Description
Automation that receives inquiries through a chat interface, processes them using OpenAI's language model with advanced reasoning chains, and automatically stores conversations and results in Google Sheets. Supports multi-branch logic and sophisticated data handling.
How it works
- 1.Receive user message through chat trigger interface
- 2.Process inquiry using OpenAI model and LLM chain logic
- 3.Format and split data according to custom rules
- 4.Record conversation and AI response in Google Sheets
- 5.Return answer to user in chat
Use cases
- Intelligent customer support assistant that answers questions and documents all interactions
- Automated multi-step request processing with persistent data analytics
Requirements
- Valid OpenAI API key with appropriate model access
- Google Sheets with proper permissions and configured columns
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