Make.com Integration

Create visual automation scenarios with distribute and Make.com.

Overview

Make.com (formerly Integromat) is a visual automation platform. Connect distribute to build complex scenarios with branching logic and data transformations.

Authentication Setup

  1. In your scenario, add an HTTP module
  2. Click Add to create a new connection
  3. Select API Key authentication
  4. Set Header name: Authorization
  5. Set Header value: Bearer mcpf_live_xxxx

HTTP Module Configuration

Create a Campaign

Add an HTTP → Make a request module:

URL: https://api.distribute.you/campaigns
Method: POST
Headers:
  Content-Type: application/json
Body type: Raw
Content type: JSON (application/json)
Request content:
{
  "mcp": "sales-outreach",
  "target_url": "{{1.website}}",
  "target_audience": "{{1.audience}}",
  "budget": {
    "max_daily_usd": {{1.daily_budget}}
  },
  "schedule": {
    "frequency": "daily",
    "trial_days": {{1.trial_days}}
  },
  "reporting": {
    "webhook_url": "https://hook.make.com/xxxx"
  }
}

Webhook Triggers

Use Webhooks → Custom webhook to receive campaign events:

  1. Add a Custom webhook module
  2. Create a new webhook and copy the URL
  3. Add the URL to your campaign's reporting.webhook_url

Webhook Data Structure

Configure the webhook data structure for better mapping:

{
  "event": "reply.received",
  "campaign_id": "camp_abc123",
  "data": {
    "email": "john@prospect.com",
    "name": "John Smith",
    "company": "Prospect Inc",
    "reply_sentiment": "positive",
    "reply_preview": "Thanks for reaching out..."
  }
}

Example Scenarios

1. Google Sheet → Launch Campaigns

Launch campaigns for each row in a spreadsheet:

  1. Google Sheets: Watch rows
  2. HTTP: POST to /campaigns with row data
  3. Google Sheets: Update row with campaign_id

2. Reply Received → CRM + Slack

  1. Webhooks: Custom webhook (reply.received)
  2. Router: Branch by reply_sentiment
  3. Positive branch:
    • HubSpot: Create contact
    • Slack: Send message to #sales
  4. Neutral branch:
    • HubSpot: Add to nurture list

3. Meeting Booked → Full Workflow

  1. Webhooks: Custom webhook (meeting.booked)
  2. Google Calendar: Create event
  3. HubSpot: Create deal
  4. Slack: Notify sales team
  5. Email: Send confirmation to prospect

4. Daily Stats Dashboard

  1. Schedule: Every day at 8 AM
  2. HTTP: GET /campaigns (list all active)
  3. Iterator: For each campaign
  4. HTTP: GET /campaigns/:id/stats
  5. Array aggregator: Combine results
  6. Google Sheets: Append to dashboard
  7. Slack: Post daily summary

API Endpoints Reference

ActionMethodURL
Create campaignPOST/campaigns
List campaignsGET/campaigns
Get campaignGET/campaigns/:id
Get statsGET/campaigns/:id/stats
PausePOST/campaigns/:id/pause
ResumePOST/campaigns/:id/resume

Tips for Make.com

  • Use Set variable to store campaign_id for later use
  • Add Error handlers for API failures
  • Use Router for conditional branching on events
  • Sleep module can delay execution if needed
  • Store API key in Make.com's Data stores for security

Rate Limits

distribute allows 100 requests/minute on Free, 1,000/minute on Pro. Use Make.com's built-in rate limiting to stay within bounds.