Block 1 - Format Summary Message
- Type / Role
- n8n-nodes-base.code - code
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
This workflow contains community nodes that are only compatible with the self hosted version of n8n. Your Pocket Bookkeeper is workflow designed to automate expense tracking for freelancers and sma...
n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.telegram, n8n-nodes-tesseractjs.tesseractnode, n8n-nodes-base.telegramtrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Issam AGGOUR.
Original n8n.io sourceThis workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Your Pocket Bookkeeper is workflow designed to automate expense tracking for freelancers and small businesses. It transforms your favorite chat app into a smart financial assistant, eliminating tedious manual data entry and ensuring your records are always organized, up-to-date, and secure. Just send a photo or a text, and let AI handle the rest.
For a freelancer or small business owner, time is money. Administrative tasks like logging receipts and updating spreadsheets steal valuable hours that could be spent on billable work. This workflow solves these critical problems:
This workflow bundle is built around a simple yet powerful "Capture > Process > Log" model:
đź§ľ Multi-Modal Expense Capture:
🤖 AI-Powered Processing:
store_name, date, time, total_price, currency, item_description, category, and more.🗄️ Automated Logging & Archiving:
Setting up your Pocket Bookkeeper is designed to be quick and easy:
.json file to your n8n instance.@BotFather on Telegram to get a Bot Token. Add this token to the Telegram Trigger and all Telegram sender nodes.Mistral Cloud API credential. Assign this to the Mistral Cloud Chat Model nodes.Google Drive and Google Sheets nodes.Save Receipt (Google Drive) node, specify the Folder ID where you want your receipt images to be saved.Google Sheets node, enter your Spreadsheet ID and Sheet Name. Ensure your sheet has columns matching the data fields (e.g., store_name, date, total_price, etc.).AI Agent node to better guide the AI on how to categorize your specific business expenses.ON at the top left of the n8n canvas to start listening for messages.Telegram Trigger node listens for incoming messages (text or photo).IF node checks if the message contains a photo.AI Agent node. The agent, using the Mistral LLM, parses the text and structures it into a predefined JSON format.Code node that formats a user-friendly summary message. An IF node then checks for invalid data (e.g., total = 0).Execute Workflow node.Save Receipt node uploads the image to Google Drive (if one was sent).Google Sheets node appends the final structured data to your spreadsheet.Telegram node sends a confirmation message back to you, confirming that the expense has been successfully logged or notifying you of an error.This workflow is a powerful foundation. Consider these enhancements:
Take control of your business finances and let your Pocket Bookkeeper turn a tedious chore into a simple, automated task.
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.
Showing the first 24 of 51 workflow blocks. Download the JSON for the full node graph.
| Workflow | Automated expense tracking with AI receipt analysis & Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 51 |
| Categories | Invoice Processing, AI Summarization |
| Author | Issam AGGOUR |
| Published | 28 Jun 2025 |
Use the JSON export at /data/workflows/5442/5442.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.
This workflow contains community nodes that are only compatible with the self hosted version of n8n. Your Pocket Bookkeeper is workflow designed to automate expense tracking for freelancers and sma...
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 Invoice Processing, AI Summarization use case.