YNAB

27 tools available

YNAB (You Need A Budget) is a budgeting tool helping users track expenses, plan finances, and gain control over spending to reduce debt

Connect YNAB to Definable to auto-categorise transactions, draft invoices on closed deals, surface cash-flow signals. Personas call YNAB's 27 tools directly from chat or scheduled flows. Pair with a finance persona to keep books current and surface what needs human review.

Common workflows with YNAB

01

Auto-categorise

  1. New transaction lands
  2. Agent classifies based on history + memo
  3. Writes the category back
02

Invoice from event

  1. Triggered by a closed deal
  2. Persona drafts the invoice
  3. Sends with the right terms
03

Cash-flow digest

  1. Pull this week's ins/outs
  2. Highlight unusual entries
  3. Email a one-pager

YNAB actions 27

Every YNAB action below is a callable tool any Definable persona can invoke.

Create a new account in a budget

Tool to create a new account in a budget. Use when you need to add a manual (non-linked) account to a specific budget.

Create Scheduled Transaction

Creates a scheduled (recurring) transaction in a YNAB budget. Use this to set up bills, recurring expenses, or income that repeats on a schedule. Requires an account_id (from YNAB_LIST_ACCOUNTS), a date, frequency, and amount in milliunits.

Delete Scheduled Transaction

Permanently deletes a scheduled transaction from a YNAB budget. Use this when a recurring transaction is no longer needed. This action cannot be undone. Obtain the scheduled_transaction_id from list_scheduled_transactions or get_scheduled_transaction_by_id before calling this.

Get Account by ID

Tool to retrieve a single account resource. Use when you need details of a specific account by its ID after determining the budget.

Get Budget By ID

Retrieve a complete budget export by ID, including all accounts, categories, payees, and transactions. Use this tool when you need comprehensive budget data. The response includes: - Budget metadata (name, date/currency formats) - All accounts with balances - Category groups and categories with budgeted amounts and balances - All payees - All transactions and scheduled transactions (optional, may be large) For incremental syncing, use last_knowledge_of_server to only fetch changes since your last request. Note: Currency amounts are in 'milliunits' format (divide by 1000 for standard units).

Get Budget Month

Tool to retrieve a specific budget month. Use when you need detailed summary and category budgets for a given month after confirming the budget ID. Monetary amounts are returned in milliunits (divide by 1000 for standard currency). Response includes high-level aggregates and a nested category array within the month payload for per-category budget analysis.

Get Budget Settings

Tool to retrieve budget-level settings. Use when you need to fetch currency and date formatting preferences for a specific budget.

Get Category by ID

Retrieve a single YNAB budget category by its ID. Use this to get detailed category information including budgeted amounts, activity, balance, and goal settings. Amounts are returned for the current budget month (UTC). Requires both budget_id and category_id - use 'last-used' or 'default' for budget_id if you don't have a specific budget ID.

Get Month Category By ID

Tool to retrieve a single category for a specific budget month. Use after selecting the budget and month when you need month-specific category details.

Get Payee by ID

Tool to retrieve a single payee by its ID. Use when you need full details of a payee after confirming the budget and payee selection.

Get Scheduled Transaction by ID

Tool to retrieve a single scheduled transaction. Use when you need details of a specific scheduled transaction by its ID after confirming the budget.

Get Transaction by ID

Tool to retrieve a single transaction by its ID. Use when you need detailed information for a specific transaction after confirming the budget.

Get Authorized User

Tool to retrieve the authorized user's information. Use after authentication to get current user details.

List Accounts

Retrieves all accounts for a specified YNAB budget. Use this tool to: - Get a complete list of accounts (checking, savings, credit cards, loans, etc.) in a budget - Retrieve account IDs for use with other YNAB account-related operations - Monitor account balances (current, cleared, and uncleared) - Perform efficient delta syncing by passing last_knowledge_of_server Returns account details including balances in milliunits (1000 milliunits = 1 currency unit). For example, a balance of 150000 milliunits equals $150.00. Note: Use 'default' or 'last-used' as budget_id for convenience, or obtain specific budget UUIDs from the List Budgets endpoint.

List Budgets

Retrieves all budgets accessible to the authenticated YNAB user. Use this tool to: - Get a list of all budgets in the user's YNAB account - Retrieve budget IDs for use with other YNAB operations - Optionally include account details for each budget Returns budget summaries including name, last modification time, date range, and formatting preferences. Budget IDs from this response are required for most other YNAB API operations.

List Categories

Tool to list all category groups and their categories for a budget. Use when you need the full set of budget categories or only those changed since last sync. Category names may include emojis or near-identical labels; always use category_id from the response in downstream requests.

List Budget Months

Tool to list months for a budget with summary information. Use when you need an overview of all months or only changed months since a given knowledge value (delta requests).

List Payee Locations

Retrieves all GPS locations associated with payees in a budget. Payee locations are recorded when transactions are saved using the YNAB mobile apps, storing GPS coordinates to help pre-populate nearby payees. Use this tool when you need to find all recorded locations for payees in a budget. Note: Not all payees will have locations recorded.

List Payee Locations by Payee

Retrieves all GPS locations associated with a specific payee in a budget. Payee locations are recorded when transactions are saved using the YNAB mobile apps, storing GPS coordinates to help pre-populate nearby payees. Use this tool when you need to find where a payee's transactions typically occur. Note: Not all payees will have locations recorded.

List payees in a budget

Tool to list payees in a budget. Use when you need all payees or only those changed since a known server knowledge value.

List Scheduled Transactions

List all scheduled (recurring) transactions for a YNAB budget. Returns future-dated transactions that repeat on a schedule (e.g., rent, subscriptions, paychecks). Supports delta sync to fetch only changes since a previous request using the server_knowledge value.

List Transactions

Tool to list transactions in a budget. Use when you need all or delta-filtered transactions after confirming the budget. Omitting all filters returns the full transaction history, which may produce large payloads; prefer since_date, type, or last_knowledge_of_server to scope results.

List Transactions by Account

Tool to list transactions for a specific account. Use when you need all or delta-filtered transactions for a given account after confirming the budget and account ID.

List Transactions by Category

Tool to list transactions for a specific category (excludes pending). Use when you need completed transactions for a given category after obtaining budget_id and category_id. Response includes deleted transactions; filter client-side using the deleted boolean field.

List Transactions by Payee

Tool to list transactions for a specific payee in a budget. Use when you need to fetch all non-pending transactions for a payee after confirming budget and payee IDs.

Update Payee

Tool to update a payee. Use when you need to rename an existing payee.

Update Scheduled Transaction

Update an existing scheduled transaction in YNAB. Allows modifying the date, frequency, amount, payee, category, memo, or account of a scheduled transaction. Use YNAB_LIST_SCHEDULED_TRANSACTIONS first to get the scheduled_transaction_id. Amounts should be in milliunits (negative for expenses, positive for income).

Frequently asked questions

What can I automate with YNAB on Definable?

Anything YNAB exposes through its API. Common accounting workflows on Definable include auto-categorise transactions, draft invoices on closed deals, surface cash-flow signals. Personas can call any of the 27 YNAB tools directly, then chain the result into another integration without you writing code.

How does YNAB authentication work?

YNAB uses OAUTH2 on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the YNAB integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 27 YNAB tools. You only need a separate YNAB subscription if YNAB itself charges per seat or per API call.

Is using YNAB through Definable secure?

Every call from a persona to YNAB is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with YNAB on Definable?

Sign up for Definable, open the integrations page, find YNAB, and connect via OAuth or API key. You can immediately attach YNAB to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What YNAB actions does Definable expose?

Definable exposes all 27 YNAB actions as callable tools — including `Create a new account in a budget`, `Create Scheduled Transaction`, `Delete Scheduled Transaction`, plus 24 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with YNAB?

Wire it up in minutes. No coding required.

← All integrations