Integrations
Connect ArcanFlows to external services and APIs
ArcanFlows integrates with a wide variety of external services to power your AI agents and workflows.
Integration Categories
AI Model Providers
Connect to leading AI model providers:
| Provider | Models | Features |
|---|---|---|
| OpenAI | GPT-4, GPT-4 Turbo, GPT-3.5 | Function calling, vision |
| Anthropic | Claude 3 Opus, Sonnet, Haiku | Long context, safety |
| Gemini Pro, Gemini Ultra | Multimodal, fast | |
| Mistral | Mistral Large, Medium, Small | Open weights |
| Ollama | Llama, Mistral, custom | Local, privacy |
Notification Channels
Send notifications through multiple channels:
| Channel | Providers |
|---|---|
| SMTP, SendGrid, Mailgun, AWS SES, Resend | |
| SMS | Twilio, Vonage, Plivo |
| Chat | Slack, Microsoft Teams, Discord |
| Push | OneSignal, Pusher |
| Webhooks | Custom HTTP endpoints |
External Services
Connect to popular services:
| Category | Services |
|---|---|
| CRM | Salesforce, HubSpot, Pipedrive |
| Databases | PostgreSQL, MySQL, MongoDB |
| Storage | AWS S3, Google Cloud Storage, MinIO |
| Analytics | Google Analytics, Mixpanel, Amplitude |
| Payments | Stripe, PayPal |
Setting Up Integrations
Step 1: Navigate to Settings
- Go to Settings in the sidebar
- Select Integrations or the specific category
Step 2: Add Credentials
For most integrations, you'll need to provide API credentials:
- Click Add Integration or Add Credential
- Select the provider
- Enter your API keys or OAuth credentials
- Test the connection
- Save
Step 3: Use in Agents/Workflows
Once configured, integrations are available in:
- Agent Model Selection: Choose AI providers
- Workflow Action Nodes: Send notifications, call APIs
- Form Integrations: Trigger on submission
Credentials Vault
All credentials are stored securely in the Credentials Vault:
Security Features
- Encryption: AES-256 encryption at rest
- Access Control: Role-based permissions
- Audit Logging: All access is logged
- Rotation: Support for credential rotation
Managing Credentials
Settings > Credentials
├── AI Providers
│ ├── OpenAI API Key
│ ├── Anthropic API Key
│ └── Google AI API Key
├── Email Providers
│ ├── SendGrid API Key
│ └── SMTP Configuration
└── Custom Credentials
└── Salesforce OAuth
AI Provider Setup
OpenAI
- Visit platform.openai.com
- Navigate to API Keys
- Create a new secret key
- In ArcanFlows: Settings > AI Providers > OpenAI
- Paste your API key and save
json{ "provider": "openai", "api_key": "sk-...", "organization_id": "org-..." // optional }
Anthropic
- Visit console.anthropic.com
- Navigate to API Keys
- Create a new key
- In ArcanFlows: Settings > AI Providers > Anthropic
- Paste your API key and save
Ollama (Local)
For privacy-focused deployments:
- Install Ollama on your server
- Pull the models you need:
ollama pull llama2 - Configure the base URL in ArcanFlows
- Select Ollama models in your agents
json{ "provider": "ollama", "base_url": "http://your-ollama-server:11434" }
Notification Channel Setup
Email - SendGrid
- Create a SendGrid account
- Generate an API key with Mail Send permissions
- Verify your sender domain
- In ArcanFlows: Settings > Notification Channels > Add
- Select "Email" > "SendGrid"
- Enter your API key and sender info
json{ "channel_type": "email", "provider": "sendgrid", "config": { "api_key": "SG.xxx", "from_email": "notifications@yourcompany.com", "from_name": "Your Company" } }
Slack
- Create a Slack app at api.slack.com
- Add the necessary scopes (chat:write, channels:read)
- Install the app to your workspace
- Copy the Bot Token
- In ArcanFlows: Settings > Notification Channels > Add
- Select "Slack" and enter your token
Webhooks
Send data to any HTTP endpoint:
json{ "channel_type": "webhook", "config": { "url": "https://your-server.com/webhook", "method": "POST", "headers": { "Authorization": "Bearer your_token" } } }
Incoming Webhooks
Receive data from external services:
Creating a Webhook Endpoint
- Go to Settings > Incoming Webhooks
- Click Create Webhook
- Give it a name and optional description
- Copy the generated URL
Webhook URL Format
https://hooks.arcanflows.io/v1/incoming/wh_abc123
Connecting to Workflows
Use the Webhook trigger in your workflow:
javascript// Incoming webhook payload { "event": "order.created", "data": { "order_id": "ord_123", "customer_email": "customer@example.com", "total": 99.99 } } // Access in workflow {{ input.event }} // "order.created" {{ input.data.order_id }} // "ord_123"
Testing Integrations
Connection Test
Most integrations include a test button:
- Configure the integration
- Click Test Connection
- Verify the success message
Send Test Notification
For notification channels:
- Select the channel
- Click Send Test
- Enter test recipient details
- Verify delivery
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| Invalid API Key | Verify the key is correct and not expired |
| Connection Timeout | Check firewall rules and network |
| Rate Limited | Upgrade plan or reduce frequency |
| Permission Denied | Check API key scopes/permissions |
Logs
View integration logs:
- Go to Activity > Integration Logs
- Filter by integration type
- Review request/response details
Next Steps
- AI Providers - Configure AI models
- Notification Channels - Set up notifications
- Webhooks - Configure webhooks
- Credentials - Manage secrets