> For the complete documentation index, see [llms.txt](https://raia2.gitbook.io/raia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raia2.gitbook.io/raia/integrations/workflow-integration/n8n-node.md).

# n8n Node

View our n8n Node / Integration here: <https://n8n.io/integrations/raia/>

**Custom n8n Node** to interact with the **Raia** platform for managing AI-powered and human-led conversations via SMS, Email, or Voice.

### 🚀 Features

This node allows you to:

* Start new conversations (SMS, Email)
* Chat or prompt an agent
* Use Raia’s platform in a single, unified node

### 🔧 Node Actions

| Action                   | Description                                              |
| ------------------------ | -------------------------------------------------------- |
| Start SMS Conversation   | Initiate a conversation via SMS                          |
| Start Email Conversation | Initiate a conversation via Email                        |
| Chat with Agent          | Create a new user and start a conversation with an agent |
| Prompt an Agent          | Send a prompt to an agent                                |

### 🧩 Node Parameters

#### Common Parameters (used in most actions)

* **First Name**
* **Last Name**
* **Context** (e.g., "Support")
* **Source** (e.g., "crm")
* **fkId**
* **fkUserId**

### Channel-Specific Parameters

**SMS**

* **Phone Number**
* **SMS Introduction** (for SMS)

**Email**

* **Email Address**
* **Email Subject**
* **Email Introduction**
* **Include Signature in Email** (boolean)

### Prompt Agent

* **Prompt**

```
{
  "conversationId": "string",
  "messageId": "string",
  "userId": "string",
  "message": "string",
  "timestamp": "ISODate"
}
```

### License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)

### Readme

#### Keywords <a href="#user-content-keywords" id="user-content-keywords"></a>

* [n8n-community-node-package](https://www.npmjs.com/search?q=keywords:n8n-community-node-package)
* [raia](https://www.npmjs.com/search?q=keywords:raia)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://raia2.gitbook.io/raia/integrations/workflow-integration/n8n-node.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
