<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sakthipriyan on Medium]]></title>
        <description><![CDATA[Stories by Sakthipriyan on Medium]]></description>
        <link>https://medium.com/@sakthipriyann?source=rss-565d37bda054------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Vw_i7LKFfDvdCggO</url>
            <title>Stories by Sakthipriyan on Medium</title>
            <link>https://medium.com/@sakthipriyann?source=rss-565d37bda054------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 19:08:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sakthipriyann/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I Stopped Tracking Expenses Manually — This n8n AI Workflow Does It in 10 Seconds]]></title>
            <link>https://medium.com/@sakthipriyann/i-stopped-tracking-expenses-manually-this-n8n-ai-workflow-does-it-in-10-seconds-33f505a77f84?source=rss-565d37bda054------2</link>
            <guid isPermaLink="false">https://medium.com/p/33f505a77f84</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[n8n]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[personal-finance]]></category>
            <dc:creator><![CDATA[Sakthipriyan]]></dc:creator>
            <pubDate>Sun, 19 Apr 2026 11:44:37 GMT</pubDate>
            <atom:updated>2026-04-20T03:24:37.188Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone,</p><p>I’m Shunmugapriyan, a Security Researcher and Bug Bounty Hunter. You can learn more about me here: <a href="https://about.me/shunmugapriyan">https://about.me/shunmugapriyan</a></p><p>I planned to write my first blog about my security findings, but instead, I’m starting with something different — a real-world automation I built to solve a problem in my daily life.</p><p>📖 <strong>How This Started</strong></p><p>I’ve tracked every rupee I’ve spent for the past two years.</p><p>Every expense — online and offline — goes into a Google Sheet, categorized and reviewed every month. It’s one of the best financial habits I’ve built.</p><p>But I almost gave it up.</p><p>Not because the system was flawed, but because entering the data manually was exhausting.</p><p>A single grocery bill from stores like Star Bazaar or BigBasket can have 50+ line items — date, vendor, item name, category, quantity, price — for every single product. That’s 30–40 minutes of typing for just one bill. And I was dealing with 3–4 bills every week, across different payment methods.</p><p>So most days, I just didn’t do it.</p><p>Which completely defeated the purpose.</p><p>So I built an n8n AI workflow.</p><p>Now, I just download an invoice, take a photo or screenshot, a voice note, or even type it in plain language, send it to Telegram — and my spreadsheet updates itself in under 10 seconds.</p><p>🧩 <strong>Here’s what the actual n8n AI workflow looks like:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PP_NKz-zyqt3KTllD43Hsw.png" /></figure><p>⚙️ <strong>How It Works</strong></p><p>1. Send anything — a receipt PDF, photo, voice note or just describe it in plain language (<strong>e.g.</strong>, “Apple 1kg, ₹200 from a local shop”) to Telegram bot</p><p>2. The Extract node or AI processes it and extracts everything — vendor, date, items, category, quantity, and final price</p><p>3. The bot replies with a formatted summary that I can review and edit</p><p>4. I review it, fix any mistakes, and send it back</p><p>5. I select a payment method — Credit Card, UPI, Cash, etc.</p><p>6. The data is saved in Google Sheets — automatically routed to the correct monthly tab</p><p>Whether it’s a 50-item bill or 100+ items — it’s done in under 10 sec.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-aldEYQqKiK5ygYMukHTuQ.jpeg" /><figcaption>The workflow branches based on what you send</figcaption></figure><p>🔍 <strong>Why There’s a Review Step?</strong></p><p>AI can make mistakes — especially when you upload an unclear photo, voice or screenshot. It may confuse the taxable value with the final billed amount, miscategorize items or any.</p><p>Rather than blindly trusting the output, I built a deliberate confirmation loop:</p><ol><li>The n8n Extract node or OpenAI extracts data from the photo, voice or PDF → the bot sends it as a copyable code block</li><li>You review it, fix anything that looks off, and paste it back</li><li>The AI re-parses your corrected text → payment buttons appear → the data is saved</li></ol><p>This step is also useful when the actual amount differs — <strong>for example</strong>, if you negotiated a price while shopping.</p><p>🎯 <strong>Seeing It in Action</strong></p><p>Here’s a real example.</p><p><strong>Step 1: </strong>I send a grocery PDF to the Telegram bot. It instantly extracts every item — vendor, category, quantity, and price — and returns a copyable summary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKv4PBH2EQErWDzoAo_bTQ.png" /></figure><p>The bot returned the full item-by-item breakdown in seconds. I scrolled through, confirmed it looked right, and sent it back. The bot then showed me a clean confirmation with the total:</p><p><strong>Step 2: </strong>After I confirm, the bot shows the full parsed expense list with a ₹4,199.69 total and payment method buttons.</p><p><strong>Step 3:</strong> I tap a payment method. The bot confirms the expense is saved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sqkjq7WRoioXS61BSAHWLQ.png" /></figure><p>🌍 <strong>It Also Works in Your Local Language (Text + Voice)</strong></p><p>No receipt? No problem.</p><p>You can simply tell the bot what you bought — in any language, using text or voice.</p><p><strong>🗣️ Local Language (Tamil, Hindi or Any)</strong></p><p>I typed:</p><blockquote>“நான் உள்ளூர் கடையில் 1 கிலோ அரிசி 150 ரூபாய்க்கு வாங்கினேன்.”</blockquote><p>The bot understood it, translated internally, and structured it as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bj9HUW3mF1C8Bc4XvGVgEA.png" /></figure><p><strong>🎤 Voice Input (Any language)</strong></p><p>You can send a voice note like:</p><p>“Bought a shirt from Zudio for ₹1500 today.”</p><p>The bot will:<br>- Transcribe audio<br>- Understand context<br>- Convert into structured data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NCmnYGS8acaYexaOV0KFqw.png" /></figure><p>And here’s what lands in my Google Sheet:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JYe5QokO-wYXNHzWmgBWJw.png" /><figcaption>Every item from that single bill, perfectly structured in the right monthly tab. Zero manual entry.</figcaption></figure><p>🧠 <strong>What the AI Actually Knows</strong></p><p>The prompt is specifically tuned for Indian shopping behavior with multi-language support:</p><ul><li><strong>Multilingual understanding:</strong> Works with Tamil, Hindi, English or any language inputs — both text and voice</li><li><strong>Voice-to-expense parsing: </strong>Converts spoken sentences into structured expense data automatically</li><li><strong>Vendor recognition: </strong>Zomato, Swiggy, BigBasket, Zepto, Amazon, Flipkart, D-Mart, Star Bazaar, local shops, etc.</li><li><strong>Accurate price extraction:</strong> Always uses the final paid amount — never MRP or intermediate values</li><li><strong>Smart categorization: </strong>Groceries, Vegetables, Dairy, Meat, Fruits, Food Delivery, Shopping, Bills, etc.</li><li><strong>Flexible input handling:</strong> Understands casual messages like “apple 1kg 200 rupees” or native language equivalents</li><li><strong>Date intelligence: </strong>Supports “today”, “yesterday”, or bill date and routes data to the correct monthly sheet (APR, MAY, JUN…)</li></ul><p>🧰 <strong>What You’ll Need</strong></p><ul><li>An <strong>n8n</strong> instance: <a href="https://n8n.io/">n8n Cloud</a> (paid) or <a href="https://docs.n8n.io/hosting/installation/docker/">self-hosted via Docker</a> (free)</li><li>A <strong>Telegram Bot: </strong>create one in 2 minutes via <a href="https://t.me/BotFather">@BotFather</a></li><li>An <strong>OpenAI API</strong> key: from <a href="https://platform.openai.com/">platform.openai.com</a></li><li>A <strong>Google Sheet: </strong>set up exactly as described below before connecting anything</li></ul><p>⚙️ <strong>Setting It Up</strong></p><blockquote><strong>1. Prepare Your Google Sheet</strong></blockquote><p>Create 12 sheets (one per month), named exactly like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t7ITmJXJDZv6UISUp2xEMw.jpeg" /><figcaption>Sheet names must be uppercase and exact — otherwise, routing will fail.</figcaption></figure><p>In Row 1 of every sheet, add these 7 column headers in this exact order:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CcxrQuTyYKMXw2EK9MRuDw.jpeg" /><figcaption>Column names are case-sensitive and position-based. Don’t rename, reorder, or add extra columns.</figcaption></figure><p>Leave Row 1 as headers — data will start filling from Row 2 onwards.</p><p>You can see this exact structure in the screenshot above — that’s all you need before moving on.</p><blockquote><strong>2. Import the Workflow</strong></blockquote><p>Download the workflow JSON from [<a href="https://github.com/sakthipriyann/n8n-ai-expense-tracker">GitHub</a> / n8n template link] and import it into n8n via ‘<em>Workflows → Import from File’</em>.</p><blockquote><strong>3. Connect Your Credentials</strong></blockquote><p><strong>Telegram</strong>: Get your bot token from <a href="https://t.me/botfather">@BotFather</a> and create a Telegram API credential in n8n.</p><p><strong>OpenAI</strong>: Add your API key as an OpenAI credential.</p><p><strong>Google Sheets</strong>: Use OAuth2 to connect your Google account — n8n will guide you through it.</p><blockquote><strong>4. Personalize Two Things</strong></blockquote><p><strong>Your Telegram Chat ID</strong> — The bot needs to know where to send replies. Message <a href="https://t.me/userinfobot">@userinfobot</a> to find your ID. Replace XXXXXXXXXX in all Telegram nodes with yours.</p><p><strong>Your Google Sheet ID</strong> — It’s in the URL:<br><a href="https://docs.google.com/spreadsheets/d/YOUR_ID_HERE/edit">https://docs.google.com/spreadsheets/d/YOUR_ID_HERE/edit</a></p><p>Paste it into the Google Sheets node.</p><blockquote><strong>5. Go Live</strong></blockquote><p>Hit <strong>Publish</strong> in n8n.</p><p>Send a receipt PDF, photo, or voice note to your bot. You’ll receive a formatted summary within seconds. Review it, send it back, select your payment method, and check your Google Sheet.</p><p>That’s it.</p><p>🚀 <strong>Get the Workflow</strong></p><p>1. n8n Template: Under Review (Will update here once it’s ready.)<br>2. GitHub: <a href="https://github.com/sakthipriyann/n8n-ai-expense-tracker">https://github.com/sakthipriyann/n8n-ai-expense-tracker</a></p><p>💭 <strong>Final Thoughts</strong></p><p>This started as a small experiment to save time.</p><p>But it turned into something much bigger — a system that actually makes me consistent with tracking expenses.</p><p>If you build this or improve it, I’d genuinely love to see what you come up with.</p><p>🔗 Let’s connect: <a href="https://www.linkedin.com/in/sakthipriyann/">https://www.linkedin.com/in/sakthipriyann/</a><br>📌 Follow me on Medium for more such content</p><p>And if you found this useful, consider sharing it — it might help someone else finally stay consistent too.</p><p>Thanks for reading 🙌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33f505a77f84" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>