Skip to content

🤖 Calls an IFTTT webhook to withdraw money from a Monzo savings pot

License

Notifications You must be signed in to change notification settings

hitecherik/robo-clavius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 robo-clavius

Go

Monzo's savings pots are great, but you can't schedule withdrawals very effectively: what date should you schedule your monthly withdrawal if you want your money available on the day of a monthly bill?

robo-clavius understands UK bank holidays and weekends and uses IFTTT webhooks to withdraw your money on the right day.

Installation

  1. Set up a recipe on IFTTT that is triggered by a webhook that moves whatever is in {{Value1}} out of your chosen pot. Name your webhook event something like withdraw_from_pot, but remember the name for later!
  2. Create a file config.yaml (example at configs/config-example.yaml) and populate it with robo-clavius configuration information (transfer dates, amounts, and IFTTT events; your IFTTT key and a cache file)
  3. Build robo-clavius my running go build -o robo-clavius cmd/robo-clavius/main.go.
  4. Cron ./robo-clavius -config path/to/config.yaml to run once a day.

Usage

Usage of ./robo-clavius:
  -clean
        remove old jobs from the yaml file on completion
  -config value
        the path to the yaml config file
  -dryrun
        print what you would have done rather than doing it

FAQs

What's behind the name?

It's named after Christopher Clavius, an astronomer who contributed to the Gregorian Calendar.

Why use IFTTT rather than the Monzo API?

Using IFTTT webhooks is much easier and means we don't have to use OAuth2 to authenticate with Monzo.

Also, using IFTTT makes it much easier to use this code to trigger other recipes on IFTTT – perhaps even interact with other banks if they become available!

Licence

Copyright © Alexander Nielsen, 2020. Licenced under the MIT Licence.

About

🤖 Calls an IFTTT webhook to withdraw money from a Monzo savings pot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages