n8n
n8n is an open-source workflow automation platform that enables developers and businesses to connect APIs, services, and custom logic through visual, node-based workflows. It’s designed for flexibility and extensibility, allowing users to orchestrate complex data flows and automate repetitive tasks without writing full applications. With their Basic LLM Chain and AI Agent nodes, you can connect to language models across a variety of platforms.
This tutorial will guide you through how to use Arcee AI language models in n8n via OpenRouter.
Prerequisites
n8n Account
If you do not have an n8n account, get started here.
Quickstart
Download the workflow schema below
In your blank n8n workflow, select the ellipsis (3 dots "...") in the top right corner and select "Import from File". and select
Build your first Arcee AI agent.json.Your workflow will now look like this:

This workflow takes in a prompt from chat and passes it to an AI Agent. The AI Agent is powered by a language model (which we'll set to be an Arcee AI model) and has access to memory. With this node you can also configure tools to have your agent access outside systems and APIs.
Select the OpenRouter Chat Model node and setup your credentials for OpenRouter using an OpenRouter API Key. Select the Arcee AI model you want to use.
Your OpenRouter Chat Model configuration should now look like this:

Select Open Chat and send a message to your agent

Your message will be passed to the Agent Node, which invokes the model and stores the messages in conversation memory.
Last updated


