🤖 TelegramボットWebhook設定ツール

中級

これはBuilding Blocks分野の自動化ワークフローで、7個のノードを含みます。主にSet, Form, FormTriggerなどのノードを使用。 フォームの自動化によるTelegramボットWebhookの設定

前提条件
  • 特別な前提条件なし、インポートしてすぐに使用可能

使用ノード (7)

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "BpTvf5dZvJNwRVzq",
  "meta": {
    "instanceId": "a98b2884375a41e5c54ee9fdf1ece06db7f5771d5abd20450875f3922d7c41f8"
  },
  "name": "🤖 Telegram Bot Webhook Configuration Tool",
  "tags": [],
  "nodes": [
    {
      "id": "069cd3df-bc76-494f-ae26-997c6f20e405",
      "name": "Webhook 設定フォーム",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -460,
        160
      ],
      "webhookId": "9488bcec-68a2-4d19-a81d-b0c13e2bdedc",
      "parameters": {
        "options": {},
        "formTitle": "Telegram Bot Webhook Configuration",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Bot API Token",
              "requiredField": true
            },
            {
              "fieldType": "url",
              "fieldLabel": "Webhook URL",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Quickly configure your Telegram bot webhook with this free tool. No data is stored - your information is processed in real-time for immediate webhook setup."
      },
      "typeVersion": 2.2
    },
    {
      "id": "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9",
      "name": "Telegram API URLの構築",
      "type": "n8n-nodes-base.set",
      "position": [
        0,
        160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a938e7ac-efa9-4124-976a-60a8bb85f624",
              "name": "telegram_api_url",
              "type": "string",
              "value": "=https://api.telegram.org/bot{{ $json['Bot API Token'] }}/setWebhook?url={{ $json['Webhook URL'] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0ebd493a-8e29-4463-bc86-f631102557d7",
      "name": "Telegram API へのリダイレクト",
      "type": "n8n-nodes-base.form",
      "position": [
        440,
        160
      ],
      "webhookId": "605eff30-86b5-4638-885b-5e84e7fec134",
      "parameters": {
        "operation": "completion",
        "redirectUrl": "={{ $json.telegram_api_url }}",
        "respondWith": "redirect"
      },
      "typeVersion": 1
    },
    {
      "id": "03c8261a-4b83-4e3f-bd1a-ff7361271987",
      "name": "フォーム収集メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -220
      ],
      "parameters": {
        "width": 500,
        "height": 540,
        "content": "## Form Input Collection\n\nThis node creates a user-friendly web form to collect webhook configuration data:\n\n**Input Fields:**\n- Bot API Token (from @BotFather)\n- Webhook URL (your n8n endpoint)\n\n**Features:**\n- Input validation\n- Placeholder examples\n- Privacy notice\n- Mobile-responsive design\n\n**Security:** No data is stored - all processing happens in real-time."
      },
      "typeVersion": 1
    },
    {
      "id": "d5680d48-d3c4-4495-a973-2286a0865619",
      "name": "URL処理メモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -220
      ],
      "parameters": {
        "width": 380,
        "height": 540,
        "content": "## URL Construction Logic\n\nThis node builds the proper Telegram API URL for webhook configuration:\n\n**Process:**\n- Constructs Telegram setWebhook API URL\n- URL-encodes the webhook parameter\n- Creates masked token for logging\n- Validates URL format\n\n**API Endpoint:**\n`https://api.telegram.org/bot{TOKEN}/setWebhook?url={WEBHOOK_URL}`\n\n**Error Prevention:** Automatic URL encoding prevents common configuration issues."
      },
      "typeVersion": 1
    },
    {
      "id": "243ecd80-ffec-465b-bf84-c46e0a30fadc",
      "name": "API リダイレクトメモ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        -220
      ],
      "parameters": {
        "width": 440,
        "height": 540,
        "content": "## Telegram API Redirect\n\nThis node completes the webhook configuration by redirecting to Telegram:\n\n**Final Step:**\n- Redirects user to generated API URL\n- Telegram processes webhook configuration\n- Returns success/error response\n- User sees confirmation in browser\n\n**Result:** Webhook is immediately active and ready to receive updates from Telegram.\n\n**Note:** User must be logged into their Telegram account for authorization."
      },
      "typeVersion": 1
    },
    {
      "id": "2e782593-940a-40ad-b7a4-74c69834a28b",
      "name": "ワークフロー概要",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        360
      ],
      "parameters": {
        "width": 1360,
        "height": 300,
        "content": "## 🤖 Telegram Bot Webhook Configuration Tool\n\n**Purpose:** Streamline Telegram bot webhook setup for n8n automation workflows\n\n**Benefits:**\n✅ Eliminates manual URL construction\n✅ Prevents configuration errors  \n✅ Saves time for developers\n✅ Privacy-focused (no data storage)\n✅ Works with any Telegram bot\n\n**Perfect for:** Developers, automation teams, and anyone frequently configuring Telegram bot webhooks"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ca3fa150-2a99-416d-a47f-0923c3054bb4",
  "connections": {
    "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9": {
      "main": [
        [
          {
            "node": "0ebd493a-8e29-4463-bc86-f631102557d7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "069cd3df-bc76-494f-ae26-997c6f20e405": {
      "main": [
        [
          {
            "node": "695cf6d2-c03f-4aa9-88d7-c1d8ce0295f9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - ビルディングブロック

有料ですか?

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

ワークフロー情報
難易度
中級
ノード数7
カテゴリー1
ノードタイプ4
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34