{
  "meta": {
    "instanceId": "workflow-a09839ad",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:49.958946",
    "updatedAt": "2025-09-29T07:07:49.958958",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "[hiroshidigital.com] Send Message In Larksuite",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "nodes": [
    {
      "id": "9fd838b3-18f7-4056-bbb9-8a9fd843590b",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        240,
        220
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "7afa44a2-28ec-4e3d-a8bd-a63721648eb2",
      "name": "Get Lark Token",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        220
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"app_id\": \"{{ $json.app_id }}\",\n  \"app_secret\": \"{{ $json.app_secret }}\"\n} ",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "typeVersion": 4.1,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "4e1fdbef-b881-445c-90ce-95bc9b745772",
      "name": "Input",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        220
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "322bfa44-ee2a-4ddf-b747-0f7f3405e294",
              "name": "app_id",
              "type": "string",
              "value": "cli_8cdb09dec256ca40"
            },
            {
              "id": "c8faab22-235b-412c-8dc8-8142c6e2e0c4",
              "name": "app_secret",
              "type": "string",
              "value": "H5SEZr8O67zuqdIdBKSPhTkoeEBCRNy4"
            },
            {
              "id": "121fcf72-2a13-4082-a66b-47d56bd4a675",
              "name": "chat_id",
              "type": "string",
              "value": "oc_1d97ee99bffdce243a95b4ebe3ddef7a"
            },
            {
              "id": "c22bf4f3-eac7-4c04-8b2e-8c0e5011bc1e",
              "name": "text",
              "type": "string",
              "value": "{{ $env.WEBHOOK_URL }}"
            }
          ]
        }
      },
      "typeVersion": 3.4,
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "id": "92a62eef-e8ec-4e31-b70e-a80dd83d3bba",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        40
      ],
      "parameters": {
        "content": "You can get app_id and app_secret in Lark here: {{ $env.WEBHOOK_URL }}"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "9cde6452-7221-4d43-9e68-afa70fdebc27",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        760,
        40
      ],
      "parameters": {
        "content": "You can get chat_id {{ $env.API_BASE_URL }}"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "87d2cc29-6318-4fb7-b430-f4b825649133",
      "name": "Send Message",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        220
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"chat_id\": \"{{ $('Input').item.json.chat_id }}\",\n  \"msg_type\": \"text\",\n  \"content\": {\n      \"text\": \"{{ $('Input').item.json.text }}\"\n  }\n}",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "{{ $credentials.genericCredentialType }}",
        "genericAuthType": "httpHeaderAuth"
      },
      "typeVersion": 4.1,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "versionId": "ecf9cc74-9aa6-4fa0-b887-f41dc47f5632",
  "connections": {
    "7afa44a2-28ec-4e3d-a8bd-a63721648eb2": {
      "main": [
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-4ca6a4dd",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-5b35fc06",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-60cc9973",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-fec396ae",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-a3f345a9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-cc1834b4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-e53a7e17",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-7afa44a2-28ec-4e3d-a8bd-a63721648eb2-7a882c6e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87d2cc29-6318-4fb7-b430-f4b825649133": {
      "main": [
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-9d1ba3bb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-286df73c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-2c67fce1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-479d18bc",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-ec45e369",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-a07426cd",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-11b1aabe",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-87d2cc29-6318-4fb7-b430-f4b825649133-c1c597af",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "description": "Automated workflow: [hiroshidigital.com] Send Message In Larksuite. This workflow integrates 5 different services: stickyNote, httpRequest, set, stopAndError, manualTrigger. It contains 10 nodes and follows best practices for error handling and security.",
  "notes": "Excellent quality workflow: [hiroshidigital.com] Send Message In Larksuite. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}