AutomationFlowsSocial Media › Peskids Instagram Dm Receiver (make.com)

Peskids Instagram Dm Receiver (make.com)

Peskids Instagram DM Receiver (Make.com). Uses httpRequest. Webhook trigger; 5 nodes.

Webhook trigger★★★★☆ complexity5 nodesHTTP Request
Social Media Trigger: Webhook Nodes: 5 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Peskids Instagram DM Receiver (Make.com)",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "peskids-instagram",
        "responseMode": "responseNode",
        "responseData": "first"
      },
      "id": "webhook-trigger",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "// Parse Make.com/Instagram webhook payload\n// Input: { from_id, sender_name, message, timestamp }\n// Output: normalized message object\n\nconst payload = $input.first().body;\n\nreturn {\n  tenant_id: 'peskids',\n  source: 'instagram',\n  sender_contact: payload.from_id || payload.sender_handle || '',\n  sender_name: payload.sender_name || 'Unknown',\n  message_text: payload.message || '',\n  external_id: payload.messageId || payload.timestamp || '',\n  created_at: new Date().toISOString()\n};"
      },
      "id": "parse-message",
      "name": "Parse Message",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ $env.PESKIDS_INBOUND_WEBHOOK_URL || 'https://peskids.op-sly.com/api/webhooks/inbound' }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "x-webhook-secret",
              "value": "={{ $env.PESKIDS_INBOUND_WEBHOOK_SECRET || $env.JELOU_WEBHOOK_SECRET }}"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ source: 'instagram', sender_contact: $node[\"Parse Message\"].json.sender_contact, sender_name: $node[\"Parse Message\"].json.sender_name, message_text: $node[\"Parse Message\"].json.message_text, external_id: $node[\"Parse Message\"].json.external_id }) }}",
        "options": {}
      },
      "id": "insert-message",
      "name": "POST Peskids Inbound",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "={{ $env.OPSLY_EVENT_BUS_URL }}/events",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "event_type",
              "value": "=message.received"
            },
            {
              "name": "tenant_id",
              "value": "=peskids"
            },
            {
              "name": "source",
              "value": "=instagram"
            },
            {
              "name": "sender_contact",
              "value": "={{ $node[\"Parse Message\"].json.sender_contact }}"
            },
            {
              "name": "message_text",
              "value": "={{ $node[\"Parse Message\"].json.message_text }}"
            },
            {
              "name": "timestamp",
              "value": "={{ new Date().toISOString() }}"
            }
          ]
        }
      },
      "id": "emit-event",
      "name": "Emit Event to Opsly",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        850,
        300
      ],
      "continueOnFail": true
    },
    {
      "parameters": {
        "responseCode": 200,
        "responseData": {
          "preset": "autoOutput"
        }
      },
      "id": "response",
      "name": "Return 200 OK",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1050,
        300
      ]
    }
  ],
  "connections": {
    "webhook-trigger": {
      "main": [
        [
          {
            "node": "parse-message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "parse-message": {
      "main": [
        [
          {
            "node": "insert-message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "insert-message": {
      "main": [
        [
          {
            "node": "emit-event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "emit-event": {
      "main": [
        [
          {
            "node": "response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1",
  "meta": {
    "created": "2026-05-19T16:30:00Z",
    "updated": "2026-05-19T16:30:00Z"
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Peskids Instagram DM Receiver (Make.com). Uses httpRequest. Webhook trigger; 5 nodes.

Source: https://github.com/cloudsysops/opsly/blob/981038769da13c3c269057bc7be1f99fde77bbc7/.n8n/1-workflows/peskids/instagram-webhook-receiver.json — original creator credit. Request a take-down →

More Social Media workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Social Media

Instagram - Fluxo de mensagens. Uses rabbitmq, rabbitmqTrigger, googleSheets, httpRequest. Webhook trigger; 74 nodes.

Rabbitmq, Rabbitmq Trigger, Google Sheets +1
Social Media

Automated n8n workflow: Receives videos via form, dubs/translates them to the selected languages, and—upon completion—uploads them to multiple social media channels and cloud drives, including Box, Dr

HTTP Request, Telegram, Box +3
Social Media

Automate your post-event Instagram carousel using a fan-out and merge pattern. One Code node splits the photos array into individual n8n items. Every photo then flows through HTTP Fetch, Upload to URL

HTTP Request, N8N Nodes Uploadtourl, Airtable +1
Social Media

My workflow 3. Uses httpRequest, youTube. Webhook trigger; 17 nodes.

HTTP Request, YouTube
Social Media

This workflow automates the process of creating an AI-generated avatar video using HeyGen and directly uploading it to YouTube. By sending text input via a webhook, the workflow generates a video with

HTTP Request, YouTube