Skip to content
← Developer Hub

Developer Hub

n8n Node

The n8n-nodes-raia community node, version-dependent actions, and example workflow patterns.

n8n workflow with raia node example
01

Overview

The raia n8n node is one option for integrating agents into multi-step automated workflows. With access configured and the integration tested, use n8n to trigger agents from external events, or use agents to trigger n8n workflows mid-conversation.

02

Installation

  1. 01

    Open your n8n instance.

  2. 02

    Go to Settings → Community Nodes.

  3. 03

    Click Install and enter n8n-nodes-raia.

  4. 04

    Restart your n8n instance.

03

Authentication

Authenticate the node with your Agent Secret Key from raia CX. Add a raia node to your canvas, click Create New Credential, paste your Agent Secret Key, and save.

04

Available actions

Example integration tasks are shown below. The node implementation is not included in this docs repository; confirm available actions, input fields, and outputs in your installed version.

Action 01

Send Message

Sends a message to an existing conversation and waits for the agent's response.

Example inputs
Conversation ID, Message Text
Illustrative result
The agent's text response and updated conversation state.
Example use case
Building an SMS or WhatsApp integration where n8n routes messages back and forth.

Action 02

Create Conversation

Starts a new conversation thread with the agent.

Example inputs
Initial Message, User Context (optional)
Illustrative result
The new Conversation ID and the agent's first response.
Example use case
Initiating an outbound outreach campaign based on a trigger in your CRM.

Action 03

Get Conversation

Retrieves the full message history and metadata for a specific conversation.

Example inputs
Conversation ID
Illustrative result
Array of message objects.
Example use case
Pulling a completed chat transcript onto a Zendesk ticket or Salesforce record.

Action 04

Update Vector Store

Programmatically uploads new text content into the agent's Knowledge Base.

Example inputs
Content String, Metadata (optional)
Illustrative result
Success confirmation and document ID.
Example use case
An ETL pipeline that syncs new Help Center articles into the agent's Knowledge Base nightly.
05

Pattern: agent-triggered workflows

To have an agent trigger an n8n workflow mid-conversation, connect a Function to an n8n webhook.

  1. 01

    In n8n, start your workflow with a Webhook Trigger node.

  2. 02

    Copy the Webhook URL provided by n8n.

  3. 03

    In raia Command, open the Functions Skill.

  4. 04

    Create a new Function (e.g., create_support_ticket).

  5. 05

    Paste the n8n Webhook URL into the Function's Endpoint field.

  6. 06

    Define the JSON payload structure.

With access configured and the Function and workflow tested, an agent call to the Function triggers the n8n webhook. The workflow then creates the ticket in Zendesk.

06

Workflow visualizer

See the live A2A orchestration canvas and explore the three core workflow patterns in action.

Open workflow visualizer →
07

Frequently asked questions

Do I need to write custom code to use the n8n node?

The raia node handles API formatting and authentication for its supported actions. Configure credentials and map data visually between nodes, then test the workflow in your installed version.

Can I route a conversation from one agent to another using n8n?

Yes. This is Agent-to-Agent (A2A) orchestration: Agent A triggers an n8n webhook, the raia node sends a message to Agent B, and the response routes back.

A2A Workflow Visualizer

Tier 1 dispatch → Tier 2 specialist → deterministic tool call

Live

Trigger

User Request

Orchestrator

Tier 1 Analysis

Tier 2

Specialist Agent

Handoff

n8n Worker

// step 1: trigger → User Request