YNAB

The YNAB modules allow you to create and list the transactions, or update budget to a category in your YNAB account.

Getting Started with YNAB

Prerequisites

  • A YNAB account

In order to use YNAB with Integromat, it is necessary to have a YNAB account. You can use your Google account or create a YNAB account at youneedabudget.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting YNAB to Integromat

To connect your YNAB account to Integromat you need to retrieve a personal access token in your YNAB account.

1. Log in to your YNAB account.

2. Click My Budget (in the top-left corner) > Account Settings and scroll down to find the Developer Settings section. 

odUIU1tFTc.gif

3. Click the Developer Settings link.

V07uKmdIxg.png

4. Click the set an account password link. If you have already set an account password, skip steps 4 and 5.

xB5lJbZX8B.png

5. In the Password field, enter the password for your account and click Set Password.

8rpLowjblR.png

6. You have successfully set your account password. Now navigate to Account Settings page > Developer Settings > New Token.

7tNbCuuk8y.png

7. In the Current Password field, enter your password and click Generate.

65Uv861A1w.png

8. The Personal Access Token appears on the top of the screen. Copy the token to your clipboard.

WQT1U3sUNe.png

9. Go to Integromat and open the YNB module's Create a connection dialog.

5JXDDjGwY1.gif

10. In the Connection name field, enter a name for the connection.

11. In the Personal Access Token field, enter the token copied in step 8 and click Continue.

sFKv2mfY9q.png

The connection has been established.

Transactions

Create Transactions

Create multiple transactions. Scheduled transactions cannot be created with this module.

Connection Establish a connection to your YNAB account.
Budget ID Select the Budget ID to which you want to create a transaction.
Transactions 

Add the transactions:

Account ID Select the Account ID for which you are creating the transaction.
Date Enter the date of the transactions.
Amount Enter the amount of transaction.
Payee ID Select the Payee ID of the transaction:
  • Starting Balance
  • Manual Balance Adjustment
  • Reconciliation Balance Adjustment
  • Transfer: My Savings
  • Transfer: Credit Card 
Payee Name Enter the name of the payee.
Category ID

Select the Category ID of the transaction. For example, Credit Card.

Memo Enter the memo notes for the transaction.
Cleared Select the status of the transaction:
  • Cleared
  • Uncleared
  • Reconciled
Approved Select whether the transaction is approved:
  • Yes
  • No
  • Not defined
Flag Color Select the transaction flag:
  • Red
  • Orange
  • Yellow
  • Green
  • Blue
  • Purple

List Transactions

Lists budget's transactions.

Connection Establish a connection to your YNAB account.
Budget ID Select the Budget ID whose transactions you want to list.
Type of Transaction

Select the transaction type you want to list:

  • All
  • Scheduled
  • In Specific Account
  • In Specific Category
  • In Specific Payee
Category ID Select the Category ID whose associated transactions you want to list.
Account ID Select the Account ID whose transactions you want to list
Payee ID Select the Payee ID whose transaction you want to list.
Since Date Enter the date to list the transaction created on or after the specified date.
Transaction Type

Select the transaction type you want to list:

  • Uncategorized
  • Unapproved
Limit Enter the maximum number of transactions Integromat should return during one scenario execution cycle.

Categories

Budget to a Category

Updates the budget of a category for a specific month.

Connection Establish a connection to your YNAB account.
Budget ID Select the Budget ID to which you want to update the budget of a category.
Category ID Select the category to which you want to budget.
Budget's Month Enter the date in a month you want to budget.
Budgeted Amount Enter the amount to be budgeted.

Other

Make an API Call

Performs an arbitrary authorized API call.

Connection Establish a connection to your YNAB account.
URL

Enter a path relative to https://api.youneedabudget.com. For example: /v1/budgets

For the list of available endpoints, refer to the YNAB API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

Headers Enter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query String Enter the request query string.
Body Enter the body content for your API call.

Example of Use - List Transactions

The following API call returns all the transactions from your YNAB account:

URL:
/v1/budget/{budget_id}/transactions

Method:
GET

Pr1A8HcNwk.png

Matches of the search can be found in the module's Output under Bundle > Body > data
In our example, 3 transactions were returned:

fdHGrBftCF.png

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.