IgorAce
Good day everyone.
Here's yet another open source project that might be used standalone or just for some inspiration / ideas...
The background:
I have an Amazon Credit Card that I use exclusively on Amazon purchases (for the 3% cashback). So I created an "Amazon" account on bunq that I use to hold the money I spent on Amazon. Every week I would check my purchases and manually transfer the amount to this account.
I am also an avid cyclist. Some years ago I started this personal concept that the more I ride, the more I save. So every month I would transfer some savings based on how much I had ridden on the previous month.
Now both are fully automated :-) Amazon transfers based on parsed emails (in English), Strava based on the weekly distance taken from their API.
The solution:
It's Node.js based, written in TypeScript. I created a wiki with instructions as best as I could considering that spare time is a commodity these days. Right now the Amazon and Strava integrations work out of the box - you only need to provide your own settings (oauth keys, account aliases etc). There's also a "Generic" email parser to transfer a fixed amount of money from one account to the other based on email contents, and everything is easily extensible via custom email parsers and webhooks.
At the moment it's very simple - there's no web interface (apart from the bunq login). But the current state is usable and stable enough. When I get the time I'll create a small web interface to monitor and change settings.
Being an automation freak I'll likely keep adding new email based actions / other features every now and then.
Interested?
Then head on to https://github.com/igoramadas/jarbunq
And thank you Gregory for the https://github.com/bunqCommunity/bunqJSClient, that saved me a tremendous amount of work :-)