I’ve been working on a project to automate expense tracking using n8n, a workflow automation tool. One of the key features is parsing text commands from Telegram messages.
The text command might look like this: ‘Paid 2000 for server hosting’. My goal is to extract the amount, category, and narrative from this text and push it to Firestore/Sheets.
I’ll break down the JavaScript Regex logic I use to achieve this. If you’re interested in learning more about regex and how to apply it to finance, stay tuned for the next part of this series.
Check out the ShahiRaj blog for more technical articles on finance and workflow automation.
#ShahiRaj #n8n #Regex
Leave a Reply