👷‍♂️ タクシー予約ワークフロー

上級

これは自動化ワークフローで、33個のノードを含みます。主にIf, Set, Redis, Switch, Postgresなどのノードを使用。 AIチャットボットコールセンター:タクシー予約ワークフロー(プロダクションレディ、パート5)

前提条件
  • Redisサーバー接続情報
  • PostgreSQLデータベース接続情報

カテゴリー

-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "7n61yKndJuHO5l2k",
  "meta": {
    "instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
    "templateCredsSetupCompleted": true
  },
  "name": "👷‍♂️ Taxi Booking Worker",
  "tags": [
    {
      "id": "fJnbLru0gOXGli2H",
      "name": "Agent",
      "createdAt": "2025-04-29T08:11:03.850Z",
      "updatedAt": "2025-04-29T08:11:03.850Z"
    },
    {
      "id": "no8Mb078mvRgw7PS",
      "name": "DEMO",
      "createdAt": "2025-04-30T05:34:10.330Z",
      "updatedAt": "2025-04-30T05:34:10.330Z"
    }
  ],
  "nodes": [
    {
      "id": "9144f720-4cca-49f0-b658-8027d15cc109",
      "name": "Flow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -1260,
        460
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
      "name": "Input",
      "type": "n8n-nodes-base.set",
      "position": [
        -1040,
        460
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "0c50f860-421f-4d32-9089-bd2b718fa73e",
      "name": "Test Trigger",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1260,
        660
      ],
      "webhookId": "43be72d3-74d8-4e20-874d-ecb60cf54774",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "6bb4d7ba-3328-4372-9e39-05c45e558044",
      "name": "Test Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -1040,
        660
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "390caf9e-f5fa-4d51-9f15-522d6d5d45a4",
      "name": "Reset Session",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 5m",
      "onError": "continueRegularOutput",
      "position": [
        360,
        420
      ],
      "parameters": {},
      "executeOnce": false,
      "notesInFlow": true,
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "71697b96-b3f7-4b05-bfad-927187c5dc17",
      "name": "Error Output",
      "type": "n8n-nodes-base.set",
      "notes": "Booking not found. Please retry.",
      "position": [
        -480,
        1520
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "c6d4e48a-12a9-42be-b7e4-01439c9254a1",
      "name": "設定 Open Booking",
      "type": "n8n-nodes-base.postgres",
      "position": [
        160,
        420
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    },
    {
      "id": "3a2c6c89-8d53-45db-aa2d-2f70cb580bab",
      "name": "Save User メモリ",
      "type": "n8n-nodes-base.postgres",
      "onError": "continueRegularOutput",
      "position": [
        160,
        120
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    },
    {
      "id": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
      "name": "Delete Route Data",
      "type": "n8n-nodes-base.redis",
      "notes": "{session_id}:{channel_no}:route",
      "onError": "continueRegularOutput",
      "position": [
        840,
        120
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "f275eb96-d0bd-4b82-9cfc-78045e5aa3fa",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1560,
        380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3bf589c1-7a1d-4504-bec7-df70f4f3668a",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
      "name": "Delete Provider Number",
      "type": "n8n-nodes-base.redis",
      "position": [
        620,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b994d4c4-10d9-43ef-9694-5b32057e896a",
      "name": "If Booking",
      "type": "n8n-nodes-base.if",
      "position": [
        -60,
        440
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "b1cccdfa-a979-46aa-9050-5c65ccfac616",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1000,
        340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "83d2cf67-d1d4-48eb-9c1b-f3f1bf970fde",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d918ae55-79fd-4b54-b17c-7727ee1822ff",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0a2ad84b-0ba5-4908-9507-ce5fbfedcdcf",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        1440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "28956579-be67-4e85-b3c1-89baecc3cf63",
      "name": "If Not Zero",
      "type": "n8n-nodes-base.if",
      "position": [
        -760,
        460
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a086bbc0-518f-4092-9593-99f265d9eea0",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        1020
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b67e9916-c152-4fba-8483-cdf6fd91aad1",
      "name": "Cancel Output",
      "type": "n8n-nodes-base.set",
      "notes": "Cancelled",
      "position": [
        600,
        1160
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "d82f253f-49ae-4be6-aa7b-1879b4cfc3ba",
      "name": "Reset Session 2",
      "type": "n8n-nodes-base.redis",
      "notes": "TTL 5m",
      "onError": "continueRegularOutput",
      "position": [
        360,
        1160
      ],
      "parameters": {},
      "executeOnce": false,
      "notesInFlow": true,
      "typeVersion": 1,
      "alwaysOutputData": false
    },
    {
      "id": "12e2c452-e855-4327-b265-f3a0146e515e",
      "name": "スイッチ",
      "type": "n8n-nodes-base.switch",
      "position": [
        1060,
        580
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "3bfcd450-1b62-4066-bb47-59d75c6482b1",
      "name": "English",
      "type": "n8n-nodes-base.set",
      "notes": "Reservation is completed.",
      "position": [
        1360,
        820
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "8947e45e-00e0-4754-a18e-2636b2d03f99",
      "name": "Chinese",
      "type": "n8n-nodes-base.set",
      "notes": "預約完成。",
      "position": [
        1360,
        440
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "dedb94f8-af0c-4c6a-abcc-d635c5749c3e",
      "name": "Japanese",
      "type": "n8n-nodes-base.set",
      "notes": "予約が完了いたしました。",
      "position": [
        1360,
        640
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "f35dca5c-af89-4cc1-be3e-52c4a61c7d3a",
      "name": "Booking",
      "type": "n8n-nodes-base.postgres",
      "notes": "status NEW",
      "onError": "continueRegularOutput",
      "position": [
        -280,
        440
      ],
      "parameters": {},
      "executeOnce": true,
      "notesInFlow": true,
      "typeVersion": 2.6,
      "alwaysOutputData": true
    },
    {
      "id": "31ce8514-6b02-4fee-9338-4fcd9d55b613",
      "name": "待機 Call Back",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Demo Call Back NO WAIT",
      "position": [
        -440,
        240
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "61749f9c-7caa-4533-a96e-124231f02fcd",
      "name": "待機 Output",
      "type": "n8n-nodes-base.set",
      "notes": "Please wait",
      "position": [
        -600,
        240
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "226c4054-a28d-45a6-84f3-b58475b11b58",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c826d4df-53ff-4805-bf7d-dfec8250e3d0",
      "name": "Create Event",
      "type": "n8n-nodes-base.googleCalendar",
      "notes": "DEMO",
      "position": [
        360,
        660
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.3
    },
    {
      "id": "97e9082d-9f22-4214-86ea-56f600684eb1",
      "name": "Call Back",
      "type": "n8n-nodes-base.executeWorkflow",
      "notes": "Demo Call Back",
      "position": [
        1360,
        1520
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 1.2
    },
    {
      "id": "5c85db84-78da-422e-af0c-c51a881d38cc",
      "name": "Delete Chat メモリ",
      "type": "n8n-nodes-base.postgres",
      "disabled": true,
      "position": [
        1080,
        120
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    },
    {
      "id": "64ba4973-a772-411c-b05e-6f0b5c4a285f",
      "name": "Sync Booking Google Cal",
      "type": "n8n-nodes-base.postgres",
      "position": [
        620,
        660
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.6
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Etc/UTC",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "vuso7W8t402BPcT2",
    "executionOrder": "v1"
  },
  "versionId": "02e3e233-dc53-4ee0-9ddb-0fffde421487",
  "connections": {
    "1b8a96ec-cc09-4885-b69a-61a2190beda9": {
      "main": [
        [
          {
            "node": "28956579-be67-4e85-b3c1-89baecc3cf63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8947e45e-00e0-4754-a18e-2636b2d03f99",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "dedb94f8-af0c-4c6a-abcc-d635c5749c3e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "3bfcd450-1b62-4066-bb47-59d75c6482b1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f35dca5c-af89-4cc1-be3e-52c4a61c7d3a": {
      "main": [
        [
          {
            "node": "b994d4c4-10d9-43ef-9694-5b32057e896a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8947e45e-00e0-4754-a18e-2636b2d03f99": {
      "main": [
        [
          {
            "node": "97e9082d-9f22-4214-86ea-56f600684eb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3bfcd450-1b62-4066-bb47-59d75c6482b1": {
      "main": [
        [
          {
            "node": "97e9082d-9f22-4214-86ea-56f600684eb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dedb94f8-af0c-4c6a-abcc-d635c5749c3e": {
      "main": [
        [
          {
            "node": "97e9082d-9f22-4214-86ea-56f600684eb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b994d4c4-10d9-43ef-9694-5b32057e896a": {
      "main": [
        [
          {
            "node": "Set Open Booking",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "71697b96-b3f7-4b05-bfad-927187c5dc17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "28956579-be67-4e85-b3c1-89baecc3cf63": {
      "main": [
        [
          {
            "node": "Wait Output",
            "type": "main",
            "index": 0
          },
          {
            "node": "f35dca5c-af89-4cc1-be3e-52c4a61c7d3a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d82f253f-49ae-4be6-aa7b-1879b4cfc3ba",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6bb4d7ba-3328-4372-9e39-05c45e558044": {
      "main": [
        [
          {
            "node": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Output": {
      "main": [
        [
          {
            "node": "Wait Call Back",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c826d4df-53ff-4805-bf7d-dfec8250e3d0": {
      "main": [
        [
          {
            "node": "64ba4973-a772-411c-b05e-6f0b5c4a285f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "71697b96-b3f7-4b05-bfad-927187c5dc17": {
      "main": [
        [
          {
            "node": "97e9082d-9f22-4214-86ea-56f600684eb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9144f720-4cca-49f0-b658-8027d15cc109": {
      "main": [
        [
          {
            "node": "1b8a96ec-cc09-4885-b69a-61a2190beda9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0c50f860-421f-4d32-9089-bd2b718fa73e": {
      "main": [
        [
          {
            "node": "6bb4d7ba-3328-4372-9e39-05c45e558044",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b67e9916-c152-4fba-8483-cdf6fd91aad1": {
      "main": [
        [
          {
            "node": "97e9082d-9f22-4214-86ea-56f600684eb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "390caf9e-f5fa-4d51-9f15-522d6d5d45a4": {
      "main": [
        [
          {
            "node": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
            "type": "main",
            "index": 0
          },
          {
            "node": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
            "type": "main",
            "index": 0
          },
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d82f253f-49ae-4be6-aa7b-1879b4cfc3ba": {
      "main": [
        [
          {
            "node": "b67e9916-c152-4fba-8483-cdf6fd91aad1",
            "type": "main",
            "index": 0
          },
          {
            "node": "93c823d5-1ad2-4743-9ed1-d0bb6278866b",
            "type": "main",
            "index": 0
          },
          {
            "node": "ab45dbcd-a74f-47cc-ab25-0c2ac6a50e00",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Open Booking": {
      "main": [
        [
          {
            "node": "390caf9e-f5fa-4d51-9f15-522d6d5d45a4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save User Memory",
            "type": "main",
            "index": 0
          },
          {
            "node": "c826d4df-53ff-4805-bf7d-dfec8250e3d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数33
カテゴリー-
ノードタイプ10
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
ChatPayLabs

ChatPayLabs

@chatpaylabs

Production Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34