Integrations System¶
Top G & AI Velocity Feature
Integrations system is available in Top G and AI Velocity tiers only.
See tier comparison
Template/Demo System
This is a demonstration system showing how to gate integrations by plan.
Not actual working integrations - templates and structure only.
Integration catalog demonstrating plan-based permissions with templates for third-party services.
What It Is¶
The integrations system provides:
- Plan-based access control example
- Integration templates (Slack, Zapier, Salesforce, etc.)
- Permission gating demonstration
- API structure for building real integrations
What it's NOT:
- ❌ Not actual Slack/Zapier connections
- ❌ Not working third-party integrations
- ❌ No real OAuth flows implemented
Purpose¶
Demonstrates how to:
- Gate features by plan level
- Show different integration tiers
- Structure integration catalog
- Handle integration setup flow
Use this as a starting point to build real integrations.
Integration Tiers¶
Basic Webhooks (All Plans)¶
- Simple webhook notifications
- Event filtering
- Custom endpoints
- Demo implementation only
Premium Integrations (Premium+ Plans)¶
Templates for:
- Slack (channel posting)
- Zapier (automation triggers)
- Google Analytics (event tracking)
- Mailchimp (subscriber sync)
Status: Templates/mockups only
Enterprise Integrations (Enterprise Plan)¶
Templates for:
- Salesforce (CRM sync)
- Custom API access
- SSO (SAML/OIDC)
- Audit log export
Status: Templates/mockups only
How It Works¶
Backend Structure¶
| Python | |
|---|---|
Frontend Display¶
| TypeScript | |
|---|---|
Permission Checking¶
| Python | |
|---|---|
Use Cases¶
1. Demo Plan-Based Access¶
Show customers how features are gated by plan level.
2. Template for Real Integrations¶
Use this structure to build actual integrations:
- Replace template data with real OAuth flows
- Implement actual API calls
- Add webhook handlers
- Store integration credentials
3. Upsell Mechanism¶
Show locked features to encourage upgrades.
Building Real Integrations¶
Example: Slack Integration¶
-
Add Slack OAuth:
-
Replace Template:
-
Add Webhook:
-
Test:
Python
API Endpoints¶
GET /api/integrations- List available integration templatesGET /api/integrations/status- Mock integration statusGET /api/integrations/{id}- Integration template detailsPOST /api/integrations/{id}/setup- Demo setup (doesn't actually connect)
What You Get¶
Catalog System:
- Integration metadata (name, description, category)
- Permission requirements per integration
- Setup instructions templates
- Feature lists
Permission System:
- Automatic filtering by user's plan
- Upgrade prompts for locked integrations
- Access control examples
API Structure:
- Ready-to-extend controllers
- Service layer for logic
- Frontend components for display
Extending to Real Integrations¶
Add Slack (Example)¶
-
Install Slack SDK:
Bash -
Add OAuth Flow:
Python -
Wire Up:
Related Documentation¶
- RBAC System - How permissions work
- Development Guide - Adding features
- Slack API Docs - If building real integration
- Zapier Developer - If building real integration
Files Reference¶
app/services/integrations_service.py- Template catalog logicapp/controllers/integrations.py- API endpointsfrontend/src/hooks/api/useIntegrations.ts- React hooks (Top G+)frontend/src/pages/Integrations.tsx- UI display (Top G+)
Summary: Use this as a foundation to build real integrations. The permission system works - just replace templates with actual implementations.