Build an AI-powered news summarizer using n8n and Lemonade.
Overview
n8n is a workflow automation platform that lets you connect apps and services using a visual node-based editor.
This playbook teaches you how to set up an AI-powered financial news summarizer that pulls the latest business headlines from a news RSS feed and uses a local LLM running on your system to generate an investor-focused summary.
What You’ll Learn
How to install and launch n8n
Importing and configuring a pre-built workflow
Connecting to Lemonade using the native n8n integration
Understanding workflow nodes and data flow
What is Lemonade?
Lemonade is a local LLM serving platform built for AMD hardware. It provides an OpenAI-compatible API that runs entirely on your machine—your data never leaves your device.
In this playbook, we use Lemonade to serve a local LLM that n8n connects to for AI-powered tasks.
n8n includes a native Lemonade node (Lemonade Chat Model) that provides a first-class integration - no need for manual configuration. This makes connecting your local LLM to automation workflows straightforward.
ifcommand-vrocminfo>/dev/null2>&1 && rocminfo|grep-qgfx; then
echo"OK: GPU visible to ROCm"
else
echo"GPU not visible via rocminfo">&2
exit1
fi
Advanced: increasing GPU memory (optional)
You may need to increase the memory allocated to the GPU to run certain larger
models or longer contexts. These devices use unified memory — the GPU shares
system RAM — so this means letting the GPU claim more of that shared pool. Leave
roughly 20% of system RAM for the operating system. This step is optional; the
default allocation is enough for most workloads.
On Windows, adjust the memory in AMD Software: Adrenalin Edition: open it and
navigate to Performance → Tuning → AMD Variable Graphics Memory. Set the value
you need and reboot for the change to take effect.
Backup method (BIOS). If your system does not show the Variable Graphics
Memory option in Adrenalin (some OEM systems hide it), set the UMA Frame
Buffer Size in the system BIOS/UEFI instead: reboot, enter setup (usually
Del, F2, or Esc), find UMA Frame Buffer Size — also labeled
Integrated Graphics or dedicated GPU memory, often under Advanced or
AMD CBS → NBIO Common Options — set it to the size you need, save, and
reboot. Menu names vary by vendor, and some BIOS do not expose it either.
On the AMD Ryzen™ AI Halo, adjust the shared memory in the pre-installed
AMD Ryzen™ AI Developer Center: open it, go to the Settings tab, and under
Graphics Performance Settings increase the Shared Video Memory slider.
Click Apply Changes and reboot for the change to take effect.
On Linux, raise the shared GTT/TTM pool so the GPU can map more system memory.
AMD recommends setting the minimum dedicated VRAM in the BIOS (0.5 GB) so the
maximum is available as shared memory.
Install the amd-debug-tools helper:
Terminal window
sudoaptinstallpipx
pipxensurepath
pipxinstallamd-debug-tools
Query the current shared-memory limit:
Terminal window
amd-ttm
Raise it (value in GB — pick a size that leaves headroom for the OS):
Terminal window
amd-ttm--set<NUM>
Reboot for the change to take effect.
Check for Software Updates
Before starting, ensure your Ryzen AI Halo has the latest software installed. Open the AMD Ryzen™ AI Developer Center and check for available updates, both to the app itself and additional software.
Go to the Updates tab. If updates are available, install them and reboot before continuing.
Go to the Manage tab. If updates are available, install them and reboot before continuing.
Open AMD Software: Adrenalin Edition from your Start menu or system tray.
Navigate to Driver and Software, click Manage Updates.
If an update is available, follow the prompts to download and install.
AMD GPU Driver
Install the AMD GPU Driver (amdgpu) using the Radeon Software for Linux (RSL) flow. For instructions for your distribution, see the ROCm installation at: Install the kernel driver.
Download the Windows 64-bit Installer from nodejs.org
Run the installer and follow the prompts
Verify installation:
Terminal window
node --version
npm --version
Check the version range your tool supports. The current release on nodejs.org is often
newer than a given tool’s supported range, and installing outside that range can fail with
native-build or EBADPLATFORM errors. Use
nvm-windows to install and select a specific
version:
Step 3: Enable the system-wide Podman API socket so the Compose plugin can communicate with the container runtime.
Terminal window
sudosystemctlenable--nowpodman.socket
Step 4: Run a temporary test container to verify the engine can successfully pull and execute images.
Terminal window
sudopodmanrun--rmdocker.io/library/hello-world
Installing n8n
:::tip[Tip]
n8n supports Node.js 20.19 through 24.x only
(n8n install docs).
The current release on nodejs.org is newer than this. Installing n8n on Node 26 fails on
Windows with EBADPLATFORM or a native build error, and the resulting install throws
MODULE_NOT_FOUND. Confirm your version before continuing:
Terminal window
node --version
If it is outside 20.19–24.x, install a supported version with
nvm-windows (nvm install 24.10.0 && nvm use 24.10.0).
:::
Install n8n globally using npm. Pin the version — at time of writing the latest n8n release
declares a Linux-only binary as a hard dependency and fails to install on Windows with
EBADPLATFORM, on every supported Node version:
Terminal window
npminstall-gn8n@2.45.6
PATH Issue: If n8n --version says command not found, ensure your npm global bin directory is on the user PATH. The usual installation path is at C:\Users\<username>\AppData\Roaming\npm.
Add this to the user path (Edit the system environment variables > Environment Variables > Edit User Path) and reload the terminal.
We are now going to use Podman service to containerize our n8n installation.
Please download the following into a directory of your choice:
In that directory, run the following command:
Terminal window
podmancomposeup-d
This should install n8n and write to a persistent storage.
Launch n8n by typing localhost:5678 into your browser address bar.
Launching n8n
Start n8n from the terminal:
Terminal window
n8nstart
n8n starts a local web server. Press 'o' or Open your browser to http://localhost:5678 to access the editor.
Launching Models with Lemonade
Lemonade is the local server that will run a model and connect to n8n.
Open the Lemonade GUI by clicking the Lemonade Icon in the taskbar. From here you can browse models and backends, download any model that isn’t already installed, and load it. Systems that shipped with the model pre-installed can load it directly.
Open the Lemonade GUI by clicking the Lemonade Icon. Right click the tray icon to open the app. From here you can browse models and backends, download any model that isn’t already installed, and load it. Systems that shipped with the model pre-installed can load it directly.
Alternatively, you can open a terminal and run lemonade list to see what models are installed. Then, run:
Terminal window
lemonaderungpt-oss-120b-Q4_K_M--llamacppvulkan
Terminal window
lemonade run gpt-oss-120b-GGUF --llamacpp vulkan
Terminal window
lemonaderungpt-oss-120b-GGUF--llamacppvulkan
Terminal window
lemonaderungpt-oss-20b-GGUF--llamacppvulkan
Setting Up the Workflow
Step 1: Sign Up or Log In to n8n
When you first open n8n, you’ll be prompted to create an account or log in:
Open http://localhost:5678 in your browser
Create a new local account with your email, or log in if you already have one
Once logged in, you’ll see the n8n dashboard
Step 2: Import the Workflow
We’ve provided a pre-built workflow that you can import directly:
Download the following workflow file:
Click Start from Scratch to open the workflow editor. Alternatively, click the + button in the top left, choose New workflow, then Build workflow.
Click the … menu (three dots) in the top right bar and select Import from file
Select the downloaded financial-news-workflow.json file
The workflow will appear on the canvas
Step 3: Understanding the Workflow
The imported workflow contains 8 connected nodes:
Node
Purpose
When clicking ‘Execute workflow’
Manual trigger to start the workflow
Fetch Financial News Feed
RSS Read node that pulls the latest business headlines from an RSS feed (defaults to the NYT Business feed, no API key required)
Aggregate Headlines
Aggregate node that collects the headline titles and summaries from every feed item into a single list
Clean Extracted News Data
Set node that combines all the headlines into a single text field
AI Financial News Summarizer
AI Agent that processes the news with a financial analyst system prompt
Lemonade Chat Model
Connects to your local Lemonade server running the LLM
Structured Output Parser
Formats the AI output as structured JSON
Convert to File
Converts the summary to a downloadable file
Step 4: Configure Lemonade Credentials
Before running the workflow, you need to connect it to your local Lemonade server:
Double click the Lemonade Chat Model node in n8n
In the dropdown menu Credential to connect with select Create New Credential
Enter the values in the table below and click save.
Choose the relevant model that you have loaded in Lemonade Server.
Field
Value
Base URL
http://localhost:13305/api/v1
API Key
lemonade
This workflow uses GPT-OSS-120B and it is pre-installed in Lemonade. You can change this to other loaded models in the Lemonade Chat Model node settings.
Step 5: Test the Workflow
Ensure Lemonade is running with a model loaded
Click Execute workflow at the bottom center of the canvas
Watch each node execute from left to right—they turn green when complete
Double click the AI Financial News Summarizer node to see the generated summary in the bottom pane.
Double click the Convert to File node to download the corresponding text file in the bottom pane.
Understanding the AI Agent
The AI Financial News Summarizer uses a system prompt designed for financial analysis:
You are an AI financial analyst. Your role is to read, understand, and
summarize key financial news from today. The goal is to provide investors
with a clear and concise market overview to support better investment decisions.
Investor Outlook
Today's news points to [bullish/bearish/neutral] sentiment. Watch for
[economic event/earnings report] tomorrow, which could influence market direction.
The agent receives the cleaned news data and outputs a structured summary with market sentiment.
Saving Your Workflow
Click the workflow name at the top and rename it if desired. Workflows auto-save as you work.
Next Steps
Schedule automation: Replace Manual Trigger with a Schedule Trigger to run daily
Send notifications: Add a Discord, Slack, or Email node to receive summaries
Try different models: Change the model in the Lemonade Chat Model node to experiment with different LLMs
Change the news source: Point the Fetch Financial News Feed node at a different RSS feed to follow other sections or publications
Try different backends: n8n also supports Ollama, LM Studio, and other local LLM backends
Explore n8n Templates
n8n has hundreds of pre-built workflow templates. Browse the official template library at: