Latenode

Automatically categorize YNAB transactions and notify Discord

This workflow automatically categorizes uncategorized transactions in a YNAB (You Need A Budget) account using a GPT-5-Mini AI agent, and then sends a Discord notification summarizing the categorized transactions.

It fetches the list of YNAB budget categories, filters out uncategorized transactions, uses the GPT-5-Mini AI model to suggest the best matching category, updates the transactions in YNAB, and sends a notification to Discord. This automation is designed for YNAB users who want to streamline their budgeting process and stay informed about their financial activities in real-time.

Updated Apr 6, 2026Est. run: 26sEst. cost: $0.0703
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
AI agents & chatbots

Workflow preview

What this template does

  • Fetches uncategorized transactions from a YNAB account.
  • Classifies the uncategorized transactions using a GPT-5-Mini AI model.
  • Updates the categorized transactions in the YNAB account.
  • Sends a Discord notification summarizing the categorized transactions.
  • Automates the process of managing YNAB budget categories for users.

How it works

1
Trigger

Run workflow manually

The user manually triggers the workflow to automatically categorize uncategorized transactions in their YNAB (You Need A Budget) account and send a Discord notification summarizing the categorized transactions.

2
Action

Get YNAB budget and account

The workflow fetches the user's YNAB budget ID and account ID from their configuration settings.

3
Action

Fetch YNAB budget categories

The workflow retrieves the list of budget categories for the configured YNAB budget.

4
Action

Get uncategorized YNAB transactions

The workflow fetches the list of uncategorized transactions for the configured YNAB account.

5
Logic

Filter out transfers and invalid transactions

The workflow filters out any transfer transactions and other invalid transactions, keeping only the valid, non-transfer transactions.

6
AI

Analyze transactions with GPT-5-Mini

The workflow uses the GPT-5-Mini AI model to analyze each uncategorized transaction and suggest the best matching YNAB budget category for it.

7
Action

Update YNAB transactions

The workflow applies the suggested categories to the uncategorized YNAB transactions, updating the transaction data in the user's YNAB account.

8
Action

Send Discord notification

Finally, the workflow sends a notification to the user's Discord channel, summarizing the categorized transactions.

Setup guide

1

Add YNAB Credential

1. In the Latenode Credentials panel, add a new credential for YNAB. 2. Enter your YNAB API key in the credential settings.

2

Add OpenAI GPT-5-Mini Credential

1. In the Latenode Credentials panel, add a new credential for OpenAI. 2. Enter your OpenAI API key in the credential settings.

3

Add Discord Credential

1. In the Latenode Credentials panel, add a new credential for Discord. 2. Enter your Discord webhook URL in the credential settings.

4

Configure YNAB Node

1. In the Latenode visual builder, add a YNAB node. 2. Select the YNAB credential you created earlier. 3. Set the YNAB budget ID and account ID variables.

5

Configure Discord Node

1. In the Latenode visual builder, add a Discord node. 2. Select the Discord credential you created earlier. 3. Configure the message content and other settings for the Discord notification.

Requirements

OpenAI API key with GPT-5-Mini model access
YNAB account with read/write access to budget transactions
Discord bot token with permission to send messages in a designated channel
Latenode workspace with headless browser capabilities

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
AI agents & chatbots

Automate Slack messaging with OpenAI GPT-3 completions

This automation allows users to automatically generate and send Slack messages based on specific prompts or triggers, leveraging the power of OpenAI's GPT-3 API. The automation is designed for AI, agents, and chatbot enthusiasts who want to create dynamic and personalized Slack communications without manual intervention. The automation connects to the Slack API and OpenAI's GPT-3 API to generate and send messages in response to defined triggers, such as specific keywords or phrases. This can be useful for automating routine updates, responding to customer inquiries, or generating creative content for Slack channels.

26s$0.0703
AI agents & chatbots

Transcribe Google Drive audio to text and send via email

This automation template helps users transcribe audio files stored in their Google Drive using the OpenAI Whisper AI model, and then automatically deliver the transcribed text via email. It provides a convenient way to convert audio recordings into text-based content that can be easily shared and referenced. The workflow is manually triggered, requiring the user to specify the Google Drive folder containing the audio files. The template then retrieves the files, transcribes them using the OpenAI Whisper API, and constructs an email message with the transcribed text, which is then sent to the designated recipient.

8s$0.0005
AI agents & chatbots

Automate Google Ads copywriting across multiple campaigns

This automation solution allows users to generate Google Ads headlines and descriptions directly within Google Sheets, using the OpenAI API to automate the ad copywriting process across multiple campaigns. The tool streamlines ad creation by leveraging AI-powered text generation, enabling marketers to efficiently produce high-performing ad copy at scale. By integrating with Google Sheets and the OpenAI API, this solution simplifies the ad creation workflow, saving time and improving campaign performance.

26s$0.0703