Block 1 - AI Agent
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 1.7
This workflow is provided as-is. Please review and test before using in production.
Use Case It is very convenient to add expenses via simple chat message. This workflow attempts to do exactly this using AI powered n8n magic! Send message to a ...
@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.executeworkflowtrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.informationextractor, n8n-nodes-base.googlesheets
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Anthony.
Original n8n.io sourceIt is very convenient to add expenses via simple chat message. This workflow attempts to do exactly this using AI-powered n8n magic!
Send message to a chat, something like "car wash; 59.3 usd; 25 jan 2024"
And get a response: Your expense saved, here is the output of save sub-workflow:{"cost":59.3,"descr":"car wash","date":"2024-01-25","msg":"car wash; 59.3 usd; 25 jan 2024"}
LLM will smartly parse your message to structured JSON and save the expense as a new row into Google Sheet!
Clone this Sheet: https://docs.google.com/spreadsheets/d/1D0r3tun7LF7Ypb21CmbTKEtn76WE-kaHvBCM5NdgiPU/edit?gid=0#gid=0
(File -> Make a copy)
Choose this sheet into "Save expense into Google Sheets" node.
open "Parse msg and save to Sheets" node (which is an n8n sub-workflow executor tool) and make sure the SAME workflow is chosen in the dropdown. it will allow n8n to locate and call "Workflow Input Trigger" properly when needed.
Sent message to chat, something like "car wash; 59.3 usd; 25 jan 2024"
you should get a response: Your expense saved, here is the output of save sub-workflow:{"cost":59.3,"descr":"car wash","date":"2024-01-25","msg":"car wash; 59.3 usd; 25 jan 2024"}
and new row in Google sheets should be inserted!
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Simple expense tracker with n8n chat, AI agent and Google Sheets |
|---|---|
| Complexity | intermediate |
| Nodes | 10 |
| Categories | Personal Productivity, AI Chatbot |
| Author | Anthony |
| Published | 29 Jan 2025 |
Use the JSON export at /data/workflows/2819/2819.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Use Case It is very convenient to add expenses via simple chat message. This workflow attempts to do exactly this using AI powered n8n magic! Send message to a ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.