Integrations
Connect decoupled.io with your development workflow using webhooks, CI/CD pipelines, and third-party services.
Command Line Interface
Automate with decoupled-cli
The decoupled-cli tool enables you to manage spaces, deploy content, and automate workflows directly from your terminal or CI/CD pipelines.
Key Features
- Create and manage spaces
- AI-powered quick-start
- Content import/export
- Usage monitoring
- CI/CD integration
Quick Example
# Authenticate npx decoupled-cli@latest auth login # Create with AI npx decoupled-cli@latest spaces quick-start "blog"
Webhooks
Real-time Content Updates
Webhooks notify your applications when content changes in decoupled.io, enabling real-time updates and automated workflows.
Supported Events
- Content created
- Content updated
- Content published
- Content deleted
- Media uploaded
Common Use Cases
- Trigger site rebuilds
- Clear CDN cache
- Send notifications
- Update search indexes
- Sync with external systems
CI/CD Integration
GitHub Actions
Automate your deployment pipeline with GitHub Actions when content changes.
name: Deploy on Content Update
on:
repository_dispatch:
types: [content-update]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: npm run build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}Vercel Integration
Connect your Vercel account to automatically sync Drupal credentials as environment variables. No manual configuration needed.
Third-party Services
Analytics & Monitoring
Marketing & CRM
Integration Setup
Step-by-step Integration Guide
Configure Webhook in decoupled.io
Go to your site settings and add a new webhook with your endpoint URL and select the events you want to monitor.
Set up Endpoint Handler
Create an API endpoint in your application to receive and process webhook payloads from decoupled.io.
Verify Webhook Signature
Implement signature verification to ensure webhooks are coming from decoupled.io and haven't been tampered with.
Test Integration
Make a test content change and verify that your webhook endpoint receives the payload and processes it correctly.
Check out our detailed webhook documentation or contact support for assistance with custom integrations.
View webhook docs