{
  "name": "Post DocupletionForms submissions to Slack",
  "nodes": [
    {
      "id": "b1e1a001-0001-4a00-8000-000000000010",
      "name": "Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -680,
        -680
      ],
      "parameters": {
        "color": 1,
        "width": 640,
        "height": 980,
        "content": "## Post DocupletionForms submissions to Slack\n\n![Workflow overview](https://raw.githubusercontent.com/alfa-intellitech/n8n-nodes-docupletionforms/main/templates/images/new-submission-slack-notification.png)\n\n**Uses the verified [n8n-nodes-docupletionforms](https://www.npmjs.com/package/n8n-nodes-docupletionforms) node \u2014 available on n8n Cloud and self-hosted instances.**\n\n### Who's it for\nTeams using [DocupletionForms](https://docupletionforms.com) who want their support/sales/ops channel notified the moment a form is filled out, instead of checking the DocupletionForms dashboard manually.\n\n### How it works\nThe DocupletionForms Trigger node listens for the *Form Submitted* event on a form you choose. Every new submission fires the workflow, which formats the submitter's answers and posts them to a Slack channel.\n\n### How to set up\n1. Add your DocupletionForms API credential (API key + tenant ID).\n2. Pick the Form to watch on the trigger node.\n3. Add your Slack credential and choose the destination channel.\n\n### Requirements\n- n8n (Cloud or self-hosted) with `n8n-nodes-docupletionforms` installed \u2014 on Cloud, enable it under Settings \u2192 Community Nodes; verified nodes are approved for Cloud installs.\n- A DocupletionForms account and API key.\n- A Slack app/bot with permission to post in the target channel.\n\n### How to customize\nSwap the Slack node for Email/Teams/Discord, or edit the message text to include only the fields you care about \u2014 the trigger payload (form name, submission number, all answers) works the same way with any downstream node."
      },
      "typeVersion": 1
    },
    {
      "id": "b1e1a001-0001-4a00-8000-000000000011",
      "name": "Step 1 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -280
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 160,
        "content": "### Step 1\nSet up your DocupletionForms credential, then pick the Form to watch below."
      },
      "typeVersion": 1
    },
    {
      "id": "b1e1a001-0001-4a00-8000-000000000012",
      "name": "Step 2 Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        -280
      ],
      "parameters": {
        "color": 7,
        "width": 320,
        "height": 160,
        "content": "### Step 2\nSet up your Slack credential and choose a channel. Customize the message text if you like."
      },
      "typeVersion": 1
    },
    {
      "id": "b1e1a001-0001-4a00-8000-000000000001",
      "name": "DocupletionForms Trigger",
      "type": "n8n-nodes-docupletionforms.docupletionFormsTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "event": "formSubmitted",
        "formId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b1e1a001-0001-4a00-8000-000000000002",
      "name": "Send Slack Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        400,
        0
      ],
      "parameters": {
        "text": "=\ud83d\udce9 New submission on *{{ $json.form_name }}* (#{{ $json.number }})\n{{ Object.entries($json.answers || {}).filter(([,v]) => v !== null && v !== '').map(([k, v]) => `${k}: ${v}`).join(' | ') }}",
        "select": "channel",
        "resource": "message",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "operation": "post",
        "messageType": "text",
        "otherOptions": {}
      },
      "typeVersion": 2.5
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "DocupletionForms Trigger": {
      "main": [
        [
          {
            "node": "Send Slack Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}