![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-ragdoll-ai

This package contains n8n nodes to interact with the [Ragdoll AI](https://api-staging.ragdollai.io/docs) Knowledge Management API.

[n8n](https://n8n.io) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.

## Installation

### Community Nodes (Recommended)

For users on n8n v1, the easiest way to install this package is to use the Community Nodes feature:

1. In your n8n instance, go to **Settings > Community Nodes**
2. Click **Install Community Node**
3. Enter `n8n-nodes-ragdoll-ai` in the input field
4. Click **Install**

### Manual Installation

You can also install the package manually:

```bash
npm install n8n-nodes-ragdoll-ai
```

or

```bash
pnpm install n8n-nodes-ragdoll-ai
```

## Usage

The Ragdoll AI node provides access to knowledge base management and data source operations through the Ragdoll AI API:

### Credentials

To use the Ragdoll AI node, you need:

- API Token from Ragdoll AI
- API URL (default: https://api-staging.ragdollai.io)

### Knowledge Base

The node supports the following operations for Knowledge Bases:

- Create a knowledge base
- Get a knowledge base
- Get many knowledge bases
- Delete a knowledge base

### Data Sources

The node supports the following operations for Data Sources:

- Create a data source (Web, Notion, Google Drive)
- Get a data source
- Get many data sources
- Delete a data source
- Start indexing a data source

## Resources

- [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
- [Ragdoll AI API documentation](https://api-staging.ragdollai.io/docs)
