Integrations

Connect DCloud.dev with your development workflow using webhooks, CI/CD pipelines, and third-party services.

Webhooks

Real-time Content Updates

Webhooks notify your applications when content changes in DCloud.dev, 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 DCloud.dev webhooks directly to Vercel deploy hooks for instant deployments.

1Create a deploy hook in your Vercel project settings
2Add the webhook URL to your DCloud.dev site
3Content updates automatically trigger deployments

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 DCloud.dev

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 DCloud.dev.

3

Verify Webhook Signature

Implement signature verification to ensure webhooks are coming from DCloud.dev 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