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"
Read full CLI documentation

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.

.github/workflows/deploy.yml
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.

One-click OAuth connection
Auto-sync all Drupal env vars to Vercel
Re-sync when credentials change
View Vercel integration guide

Third-party Services

Analytics & Monitoring

Google AnalyticsNative
MixpanelAPI
HotjarScript

Marketing & CRM

MailchimpWebhook
HubSpotAPI
SalesforceAPI

Integration Setup

Step-by-step Integration Guide

1

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.

2

Set up Endpoint Handler

Create an API endpoint in your application to receive and process webhook payloads from decoupled.io.

3

Verify Webhook Signature

Implement signature verification to ensure webhooks are coming from decoupled.io and haven't been tampered with.

4

Test Integration

Make a test content change and verify that your webhook endpoint receives the payload and processes it correctly.

Need Help?

Check out our detailed webhook documentation or contact support for assistance with custom integrations.

View webhook docs