AI Agents
Track expenses in Google Sheets with AI chat agent
10 nodes
346
153
Automatic trigger
Workflow Description
An intelligent agent listens for expense entries via n8n chat, processes natural language input using OpenAI, extracts amounts and categories, stores them in Google Sheets, and maintains conversation history for context and quick reference.
How it works
- 1.Receive user message through n8n chat trigger
- 2.Process message with AI agent powered by OpenAI model
- 3.Extract expense details (amount, category, date) from free-text input
- 4.Save extracted data to dedicated Google Sheets spreadsheet
- 5.Maintain conversation history in memory buffer for context
- 6.Send confirmation message to user confirming expense logged
Use cases
- Enable employees to log daily expenses without switching applications
- Manage small project budgets with real-time expense tracking and categorization
- Build historical expense datasets for financial analysis and reporting
- Support multi-turn conversations to track related or recurring expenses
Requirements
- Active n8n account with permissions to create AI agents
- OpenAI API key for natural language processing capabilities
- Connected Google account with edit permissions on Google Sheets
- Basic understanding of expense data structure (categories, amounts, dates)
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
AI Agent
Chat Trigger
Twitter/X
OpenAI
Memory
Google Sheets
Tool
Details
Trigger
Automatic trigger
Nodes
10
Apps
7
Views
346
Downloads
153
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 (10)
AI Agent
Agent
When chat message received
Chat Trigger
Workflow Input Trigger
Execute Workflow Trigger
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Sticky Note
Sticky Note
OpenAI Chat Model1
OpenAI
Expense text to JSON parser
Information Extractor
Save expense into Google Sheets
Google Sheets
Parse msg and save to Sheets
Tool Workflow