Page cover

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

Right click on the file above and select "Open in a New Tab", the page you'll see is the workflow JSON schema. Right click on the page and select "Save as..." to save the file.

  1. 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:

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