{
  "name": "Create a channel, invite users to the channel, post a message, and upload a file",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        250,
        250
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        450,
        250
      ],
      "parameters": {
        "resource": "channel",
        "channelId": "REPLACE_WITH_CHANNELID",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Slack1",
      "type": "n8n-nodes-base.slack",
      "position": [
        650,
        250
      ],
      "parameters": {
        "userIds": [
          "U01797FGD6J"
        ],
        "resource": "channel",
        "channelId": "={{$node[\"Slack\"].json[\"id\"]}}",
        "operation": "invite"
      },
      "typeVersion": 1
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1050,
        250
      ],
      "parameters": {
        "url": "https://n8n.io/n8n-logo.png",
        "options": {},
        "responseFormat": "file"
      },
      "typeVersion": 1
    },
    {
      "name": "Slack2",
      "type": "n8n-nodes-base.slack",
      "position": [
        850,
        250
      ],
      "parameters": {
        "text": "Welcome to the channel!",
        "as_user": true,
        "channel": "={{$node[\"Slack\"].json[\"id\"]}}",
        "attachments": [
          {
            "title": "Logo",
            "image_url": "https://n8n.io/n8n-logo.png"
          }
        ],
        "otherOptions": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Slack3",
      "type": "n8n-nodes-base.slack",
      "position": [
        1250,
        250
      ],
      "parameters": {
        "options": {
          "channelIds": [
            "C01FZ3TJR5L"
          ]
        },
        "resource": "file",
        "binaryData": true
      },
      "typeVersion": 1
    },
    {
      "id": "c94ba009-289b-5825-b2e4-2878e8c9ee57",
      "name": "Publication · Overview and setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -800,
        0
      ],
      "parameters": {
        "content": "# Create a channel, invite users to the channel, post a message, and upload a file\n\n## Purpose and structure\nThis folder contains the **Create a channel, invite users to the channel, post a message, and upload a file** workflow. Its executable nodes use `httpRequest`, `manualTrigger`, `slack`. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.\n\n## Setup\nImport inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.\n\n## Entry points\nOn clicking 'execute'\n\n## Verification\nSanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.\n\n## Attribution\nhttps://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/0207_Manual_Slack_Create_Webhook.json\nMIT; preserve source notices.",
        "width": 700,
        "height": 800,
        "color": 1
      }
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Slack": {
      "main": [
        [
          {
            "node": "Slack1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack1": {
      "main": [
        [
          {
            "node": "Slack2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack2": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Slack3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
