> For the complete documentation index, see [llms.txt](https://docs.snackprompt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snackprompt.com/bring-your-data-into-ai/how-to/get-started-with-integrations.md).

# Get Started with Integrations

Connect the SnackPrompt AI Engine API with your favorite automation and AI platforms. This guide helps you choose the right integration for your use case.

### Available Integrations

<table><thead><tr><th>Platform</th><th>Type</th><th width="187">Best For</th><th>Guide</th></tr></thead><tbody><tr><td>N8N</td><td>Automation</td><td>Self-hosted workflows, technical users</td><td><a href="/pages/1GVYHcqJHOaidyGhWZhq">View →</a></td></tr><tr><td>Zapier</td><td>Automation</td><td>Quick setup, 5000+ app connections</td><td><a href="/pages/DgAkc9uYS2wWpKu8fLsL">View →</a></td></tr><tr><td>Make</td><td>Automation</td><td>Visual workflows, complex logic</td><td><a href="/pages/26mkpWaDizdLFxuDMX1C">View →</a></td></tr><tr><td>Power Automate</td><td>Automation</td><td>Microsoft ecosystem, enterprise</td><td><a href="/pages/ylbWMkkHkbNO1nMOJiF0">View →</a></td></tr><tr><td>Pipedream</td><td>Developer</td><td>Code-first, Node.js/Python</td><td><a href="/pages/Ee4ypPt0vDxYB2bGQWpN">View →</a></td></tr><tr><td>Flowise</td><td>LLM Builder</td><td>Visual LLM flows, LangChain</td><td><a href="/pages/3EmwrFd9SriRp3weKzE7">View →</a></td></tr><tr><td>Dify</td><td>LLM Builder</td><td>AI apps, external knowledge</td><td><a href="/pages/xtAHuuAtriZSogFIxqmT">View →</a></td></tr></tbody></table>

***

### Choose by Use Case

#### I want to build a chatbot

| Requirement         | Recommended Platform            |
| ------------------- | ------------------------------- |
| Simple Q\&A bot     | Dify - native chatbot builder   |
| Microsoft Teams bot | Power Automate + Copilot Studio |
| Slack bot           | Pipedream or N8N                |
| Custom UI chatbot   | Flowise - embed widget          |
| WhatsApp bot        | N8N or Make                     |

#### I want to automate workflows

| Requirement               | Recommended Platform |
| ------------------------- | -------------------- |
| Quick setup, no code      | Zapier               |
| Complex conditional logic | Make                 |
| Self-hosted, open source  | N8N                  |
| Microsoft 365 integration | Power Automate       |
| Custom code needed        | Pipedream            |

#### I want to build RAG applications

| Requirement            | Recommended Platform |
| ---------------------- | -------------------- |
| Visual flow builder    | Flowise              |
| External knowledge API | Dify                 |
| Agent with tools       | N8N or Flowise       |
| Custom RAG pipeline    | Pipedream            |

***

### Platform Comparison

#### No-Code Automation Platforms

```
┌────────────────────────────────────────────────────────────────┐
│                    Ease of Use vs Flexibility                   │
│                                                                 │
│  Easy ──────────────────────────────────────────────── Complex  │
│                                                                 │
│    Zapier          Make           N8N         Power Automate    │
│      │               │             │                │           │
│      ▼               ▼             ▼                ▼           │
│  ┌────────┐    ┌──────────┐  ┌──────────┐    ┌──────────┐       │
│  │ Simple │    │  Visual  │  │ Technical│    │Enterprise│       │
│  │ Zaps   │    │  Flows   │  │ Workflows│    │   Flows  │       │
│  └────────┘    └──────────┘  └──────────┘    └──────────┘       │
│                                                                 │
│  Best for:     Best for:     Best for:       Best for:          │
│  Quick wins    Complex       Self-hosted     Microsoft          │
│  & MVPs        automation    & control       ecosystem          │
└────────────────────────────────────────────────────────────────┘
```

| Feature             | Zapier   | Make          | N8N                | Power Automate |
| ------------------- | -------- | ------------- | ------------------ | -------------- |
| Pricing             | Per task | Per operation | Free (self-hosted) | Per user/flow  |
| Self-hosted         | ❌        | ❌             | ✅                  | ❌              |
| Visual builder      | ✅        | ✅             | ✅                  | ✅              |
| Code steps          | Limited  | ✅             | ✅                  | Limited        |
| AI features         | Basic    | Basic         | ✅ Agents           | AI Builder     |
| App connections     | 5000+    | 1000+         | 400+               | 1000+          |
| Enterprise features | ✅        | ✅             | Community          | ✅              |

#### Developer & LLM Platforms

| Feature           | Pipedream      | Flowise     | Dify     |
| ----------------- | -------------- | ----------- | -------- |
| Primary language  | Node.js/Python | JavaScript  | Python   |
| Visual builder    | Hybrid         | ✅           | ✅        |
| Native AI/LLM     | Via code       | ✅ LangChain | ✅ Native |
| Self-hosted       | ❌              | ✅           | ✅        |
| Custom retrievers | ✅              | ✅           | ✅        |
| Agent support     | Via code       | ✅           | ✅        |
| Best for          | Developers     | LLM flows   | AI apps  |

***

### Integration Methods

All platforms support these SnackPrompt API endpoints:

#### Search Endpoint (`/v1/kb/search`)

Returns relevant documents from your knowledge base.

```
Use when:
├── You want to build custom RAG pipelines
├── You need the raw documents for processing
└── You want to combine with other data sources
```

#### Chat Endpoint (`/v1/kb/chat`)

Returns a ready-to-use AI-generated response.

```
Use when:
├── You want quick integration without RAG complexity
├── You need a complete answer, not just documents
└── You're building simple Q&A flows
```

***

### Quick Start by Platform

#### Zapier (Fastest)

1. Create a Zap with your trigger
2. Add **API Request** action
3. Configure POST to `/v1/kb/chat`
4. Use the response in your action

#### N8N (Most Flexible)

1. Add **HTTP Request Tool** to an AI Agent
2. Configure the search endpoint
3. Let the agent decide when to search

#### Dify (Best for AI Apps)

1. Go to **External Knowledge API**
2. Add SnackPrompt as a knowledge source
3. Use in your chatbot or agent

#### Power Automate (Enterprise)

1. Create a **Custom Connector**
2. Add both search and chat operations
3. Use across your organization

***

### Common Integration Patterns

#### Pattern 1: Simple Chatbot

```
[User Input] → [API: /chat] → [Display Answer]
```

Platforms: All

#### Pattern 2: RAG Pipeline

```
[User Input] → [API: /search] → [Format Context] → [LLM] → [Answer]
```

Platforms: N8N, Flowise, Pipedream, Make

#### Pattern 3: Agent with Tools

```
[User Input] → [AI Agent] → [Tool: Search KB] → [Agent Decision] → [Answer]
                    ↓
              [Other Tools]
```

Platforms: N8N, Flowise, Dify

#### Pattern 4: Conditional Routing

```
[Input] → [API: /search] → [Has Results?]
                               │
                    ┌──────────┴──────────┐
                    ▼                      ▼
              [Auto-Reply]          [Create Ticket]
```

Platforms: All

#### Pattern 5: Multi-Source RAG

```
[Input] → [Parallel Search]
               │
        ┌──────┼──────┐
        ▼      ▼      ▼
    [tag=A] [tag=B] [tag=C]
        │      │      │
        └──────┼──────┘
               ▼
          [Merge & LLM]
```

Platforms: Make, N8N, Pipedream

***

### Security Considerations

#### API Key Management

| Platform       | Recommended Method    |
| -------------- | --------------------- |
| Zapier         | Secret Manager        |
| Make           | Connections           |
| N8N            | Credentials           |
| Power Automate | Azure Key Vault       |
| Pipedream      | Environment Variables |
| Flowise        | Environment Variables |
| Dify           | API Key auth          |

#### Best Practices

1. **Never hardcode API keys** - Use platform's secret management
2. **Use HTTPS only** - All SnackPrompt endpoints use HTTPS
3. **Limit permissions** - Create separate API keys per integration
4. **Monitor usage** - Track API calls for anomalies
5. **Handle errors gracefully** - Don't expose error details to users

***

### Getting Help

* **API Reference**: [Endpoints](/bring-your-data-into-ai/reference/endpoints.md)
* **Filters**: [Available Filters](/bring-your-data-into-ai/reference/filters.md)
* **Errors**: [Error Codes](/bring-your-data-into-ai/how-to/how-to-handle-errors.md)

For platform-specific help:

* [N8N Community](https://community.n8n.io/)
* [Zapier Help](https://help.zapier.com/)
* [Make Community](https://www.make.com/en/community)
* [Power Automate Docs](https://docs.microsoft.com/en-us/power-automate/)
* [Pipedream Docs](https://pipedream.com/docs/)
* [Flowise Docs](https://docs.flowiseai.com/)
* [Dify Docs](https://docs.dify.ai/)
