Introducing Hooks 🪝 #86
Replies: 2 comments 6 replies
-
@ Niels |
Beta Was this translation helpful? Give feedback.
-
I'm playing around with hooks.js and trying to refer to a column in the record. Noticed something
When I look at the console.log with hooks enabled, it looks like columns are
Am I allowed to use custom labels in the config.yaml? Would be cool if my custom labelling of the columns in the csv parser came through automatically |
Beta Was this translation helpful? Give feedback.
-
Customize ynab-buddy with Our New Beta Feature
Hey everyone,
I'm excited to introduce the powerful new Hooks 🪝 feature in ynab-buddy. The Hooks feature, now in beta, helps you work around quirks in your bank's transaction format by customizing ynab-buddy's behavior using your own code.
Why Hooks?
Bank transaction formats come in a huge variety. Adding rules and exceptions for every bank isn't sustainable. That's where Hooks come in! They offer:
How Hooks Work
Hooks let you tap into the import process at various points, such as parsing, validation, and sending data to YNAB. For example, my own bank fills the 'memo' field with loads of semi-structured data. There's useful information in there, but also lots of junk. So: I wrote a hook to clean up the memo field before it gets sent to YNAB, keeping my account's history nice and tidy 🧹.
Getting Started with Hooks
npm i -g ynab-buddy@latest
if you're using npmGive Hooks a try and let us know your experiences and questions in this thread!
Happy budgeting! 🎉
Beta Was this translation helpful? Give feedback.
All reactions