AutomationFlowsGeneral › KYOEN Cards

KYOEN Cards

KYOEN Cards. Uses httpRequest. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHttp Request
General Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "KYOEN Cards",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "kyoen-cards"
      },
      "id": "webhook",
      "name": "LINE Command",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "credentials": {}
    },
    {
      "parameters": {
        "method": "GET",
        "url": "${\"https://nrbserphtykbhwdowfsz.supabase.co\"}/rest/v1/line_cards?select=*&order=updated_at.desc&limit=10",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "apikey",
              "value": "<redacted-credential>"
            },
            {
              "name": "Authorization",
              "value": "Bearer${\"<redacted-credential>\"}"
            }
          ]
        }
      },
      "id": "query",
      "name": "Query Cards",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.line.me/v2/bot/message/reply",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "Bearer jffJiSAr5f/YtAthi/rcB3zwP0rew1y8OXPiJH3BSNd31oxheNvg1wT1VaTM7KorLFINWDWwelf1Hx7ptKEd8a9U5clDDerK8shFJtKp1bwCt8BNQhuB5m8LSGKsUhfIX+DX+gXY0kiBhMAXWdW70AdB04t89/1O/w1cDnyilFU"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"replyToken\":\"={{ $json.events[0].replyToken }}\",\"messages\":[{\"type\":\"text\",\"text\":\"\u30ab\u30fc\u30c9\u4e00\u89a7:\\n{{ $json.map(c => c.title).join(\\\"\\\\n\\\") }}\"}]}"
      },
      "id": "reply",
      "name": "Reply Cards",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "LINE Command": {
      "main": [
        [
          {
            "node": "Query Cards",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Query Cards": {
      "main": [
        [
          {
            "node": "Reply Cards",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null
}

About this workflow

KYOEN Cards. Uses httpRequest. Webhook trigger; 3 nodes.

Source: https://github.com/kyousuke10000/TriHexPhi/blob/05b6d4b77c562ff6405513cf9536bf55409be043/workflows/kyoen-cards.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →