How to Integrate with Pipedream
Overview
Method
Use Case
Description
Integration Architecture
┌─────────────────────────────────────────────────────────┐
│ Pipedream │
│ ┌─────────────┐ ┌─────────────┐ ┌────────────┐ │
│ │ Trigger │──▶│ Code/HTTP │──▶│ Action │ │
│ │ Source │ │ Step │ │ │ │
│ └─────────────┘ └──────┬──────┘ └────────────┘ │
│ │ │
│ ┌──────▼──────┐ │
│ │ $export │ │
│ │ (state) │ │
│ └──────┬──────┘ │
└────────────────────────────┼────────────────────────────┘
│
▼
┌──────────────────────────────┐
│ SnackPrompt AI Engine API │
│ /v1/kb/search or /v1/kb/chat│
└──────────────────────────────┘Method 1: Node.js Code Step (Recommended)
Step 1: Create a New Workflow
Step 2: Add Node.js Code Step
Search Knowledge Base
Chat with Knowledge Base
Method 2: HTTP Request Action (No-Code)
Step 1: Add HTTP Request Step
Step 2: Configure Request
Field
Value
Key
Value
Step 3: Use Results
Method 3: Python Code Step
Search with Python
Method 4: Custom Component (Reusable)
Create Component
App Definition
Practical Use Cases
1. Webhook-Based Chatbot
2. Slack Bot
3. Email Auto-Responder
4. RAG with OpenAI
5. Scheduled Knowledge Sync
Environment Variables
Configuration Tips
1. Use Props for Configurability
2. Error Handling
3. Data Validation
4. Response Caching
5. Parallel Requests
Troubleshooting
Error: "tenant_id is required"
Error: "Request failed with status 401"
Empty Results
Workflow Times Out
Related
External Resources
Last updated
Was this helpful?