{
  "id": "164",
  "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,
      "id": "node-f2d6391b"
    },
    {
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        450,
        250
      ],
      "parameters": {
        "resource": "channel",
        "channelId": "n8n-docs",
        "additionalFields": {}
      },
      "typeVersion": 1,
      "id": "node-f6d75bfd"
    },
    {
      "name": "Slack1",
      "type": "n8n-nodes-base.slack",
      "position": [
        650,
        250
      ],
      "parameters": {
        "userIds": [
          "U01797FGD6J"
        ],
        "resource": "channel",
        "channelId": "={{$node[\"Slack\"].json[\"id\"]}}",
        "operation": "invite"
      },
      "typeVersion": 1,
      "id": "node-e4a466b3"
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1050,
        250
      ],
      "parameters": {
        "url": "{{ $env.BASE_URL }}",
        "options": {},
        "responseFormat": "file"
      },
      "typeVersion": 1,
      "id": "node-218560ea"
    },
    {
      "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": "{{ $env.BASE_URL }}"
          }
        ],
        "otherOptions": {}
      },
      "typeVersion": 1,
      "id": "node-fd067464"
    },
    {
      "name": "Slack3",
      "type": "n8n-nodes-base.slack",
      "position": [
        1250,
        250
      ],
      "parameters": {
        "options": {
          "channelIds": [
            "C01FZ3TJR5L"
          ]
        },
        "resource": "file",
        "binaryData": true
      },
      "typeVersion": 1,
      "id": "node-cc9a41cd"
    },
    {
      "id": "error-aba44051",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3
  },
  "connections": {},
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:48.696851",
    "updatedAt": "2025-09-29T07:07:48.696856",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "description": "Production-ready workflow: Create a channel, invite users to the channel, post a message, and upload a file. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}