{
  "name": "Line Message API : push message & reply",
  "nodes": [
    {
      "id": "90d7c006-15b5-4301-978f-6a47b8b57150",
      "name": "Line : Reply with token",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        560,
        176
      ]
    },
    {
      "id": "728f4c7b-0ad3-4d53-a456-dcd291b1d096",
      "name": "Webhook from Line Message",
      "type": "n8n-nodes-base.webhook",
      "position": [
        80,
        192
      ]
    },
    {
      "id": "4b175091-87e2-447b-9dc3-776dd64c7017",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 720,
        "height": 340,
        "content": "## Line Message API Reply\n\nReceived Message from user and reply with same text by using reply token  \n\nThere are many event types. So we need to determine if the type is message."
      }
    },
    {
      "id": "c858e000-2c08-4d08-bfe7-3b63d6906282",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        304,
        192
      ]
    },
    {
      "id": "d18252c8-c22a-4f4b-9876-d88d2e59dd0e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        432
      ],
      "parameters": {
        "width": 720,
        "height": 340,
        "content": "## Line Message API Send Message\n\nYou need to get the Line UID first.\nEvery user is differnt.\n\nIf you have the Line UID. Then you can push the message to the User."
      }
    },
    {
      "id": "34def141-e980-406b-870d-c6f748183d14",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        80,
        608
      ]
    },
    {
      "id": "b7920f19-2e45-40f4-9d1d-b2f04a74d9ef",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        304,
        608
      ]
    },
    {
      "id": "06d37439-afef-4ebc-ae43-5f68bf88590d",
      "name": "Line : Push Message",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        544,
        608
      ]
    },
    {
      "id": "de5ff6cb-879f-49f0-8a4c-1f9a52f9e6c9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        0
      ],
      "parameters": {
        "width": 464,
        "height": 500,
        "content": "## How to get Line Message API Token ?\n\n1. Go to Linve Developer Console\ndevelopers.line.biz/console/\n\n2. Select the Chatbot.\n\n3. Open `Messaging API`\n\n4. Check the `Channel Acccess Token`\n\n![](https:"
      }
    },
    {
      "id": "3a342e06-9e85-4300-9db6-2cfa2526c4fa",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        0
      ],
      "parameters": {
        "width": 464,
        "height": 692,
        "content": "## How to get Line UID for yourself ?\n\n1. Go to Linve Developer Console\ndevelopers.line.biz/console/\n\n2. Select the Chatbot.\n\n3. Open `Basic Settings`\n\n4. Check the `Your user ID`\n\n![](https://st.darr"
      }
    },
    {
      "id": "192a2559-46e0-4ec7-abc0-bef3c5210099",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        0
      ],
      "parameters": {
        "width": 296,
        "height": 468,
        "content": "## Created by darrell_tw_ \n\nHi 我是 Darrell\n有 n8n 問題可以找我聊聊\n\n- [n8n 教學資源網站](https://www.darrelltw.com/n8n-tutorial-resources/)\n- [n8n 模板分享網站](https://www.darrelltw.com/tools/n8n_template/models.html)\n\n##"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Line : Reply with token",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Line : Push Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook from Line Message": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}