
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.
Installation
- 01
Open your n8n instance.
- 02
Go to Settings → Community Nodes.
- 03
Click Install and enter n8n-nodes-raia.
- 04
Restart your n8n instance.
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.
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.
Pattern: agent-triggered workflows
To have an agent trigger an n8n workflow mid-conversation, connect a Function to an n8n webhook.
- 01
In n8n, start your workflow with a Webhook Trigger node.
- 02
Copy the Webhook URL provided by n8n.
- 03
In raia Command, open the Functions Skill.
- 04
Create a new Function (e.g., create_support_ticket).
- 05
Paste the n8n Webhook URL into the Function's Endpoint field.
- 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.
Workflow visualizer
See the live A2A orchestration canvas and explore the three core workflow patterns in action.
Open workflow visualizer →Frequently asked questions
Do I need to write custom code to use the n8n node?
Can I route a conversation from one agent to another using n8n?