Telegram bot for YNAB

About a month ago, I posted the source code of my Telegram bot and wrote an article here.

I assumed that users would build their own Telegram bot from the sources and use it with their personal access token.

But after some time, I had to delete the article, as some people thought that the bot requires entering personal access tokens of other people.


So, I made an OAuth application for this bot.  This application has been reviewed by YNAB staff to ensure it abides by the API Terms of Service and the OAuth Application Requirements

And you can find the link to the bot at

Thanks to the YNAB staff, and in particular Chrissy from YNAB Support, for their help.


The main function of the bot is to add transactions in your YNAB account.

Just send him a message like: Apples 7.89


You can read more about what I wanted to get from the bot at the link


You can get source code of the bot at

I wrote docker files. If you want to build  bot from sources and deploy it on your computer or a cloud, it will take you a minimum of time.

Or you can just use my bot)

Bot setup

1. Add the bot by link


2. Run /auth command


3. Now you have to Authorize Telegram bot for YNAB

4. After authorize you will be redirected back to the bot

5. Press button Start

6. Select budget for adding transactions


7. Select account for adding transactions


That's all.

Now you can send message to the bot and it will add transaction info directly to your YNAB account.


Also, bot can import transactions from a file. I have not written instructions how to configure connection between YNAB account and data from a file yet. You can see how to do the connection in the source code.

There are integrations through file import for:

  • Alfa Bank
  • Sberbank
  • Tinkoff Bank
  • Citibank of Russia

If you want integration with another bank, either write yourself or I can help you.


I will be glad to hear your comments and wishes for the functionality of the bot

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like2 Follow
  • 1 mth agoLast active
  • 55Views
  • 1 Following