Dialogflow からインテントを削除
上級
これはEngineering, Multimodal AI分野の自動化ワークフローで、17個のノードを含みます。主にIf, Wait, Telegram, HttpRequest, TelegramTriggerなどのノードを使用。 Telegramコマンドを使用してDialogflowの意図を削除する
前提条件
- •Telegram Bot Token
- •ターゲットAPIの認証情報が必要な場合あり
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "dVgmryFdDhX45Qtz",
"meta": {
"instanceId": "ab5a4f9feb36866287f2bf6d72ca9d3295062a67ea6afb78c0e5970c38eb8578",
"templateCredsSetupCompleted": true
},
"name": "delete-intent-from-dialogflow",
"tags": [],
"nodes": [
{
"id": "4814e9e2-3437-4740-bd45-c57814bd2b07",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-1296,
352
],
"webhookId": "88d6aa3c-3828-4836-8959-c0ba05993f9b",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"typeVersion": 1.2
},
{
"id": "d049076a-8ae3-4990-b234-94dc412c047b",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1808,
-16
],
"parameters": {
"color": 6,
"width": 352,
"height": 336,
"content": "## Get the full intent\nHere you get the entire content of the intent (in JSON)\n\nEs: se obtiene el intent completo\nAquí se obtiene todo el contenido del intent \n(en JSON)"
},
"typeVersion": 1
},
{
"id": "b2c5cc2a-96f4-4ed4-ba5d-39fda661dc63",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
656,
256
],
"parameters": {
"color": 4,
"width": 320,
"height": 288,
"content": "## The intent is removed.\nEs: Mensaje de confirmación.\n\nSe detalla que el intent ha sido eliminado."
},
"typeVersion": 1
},
{
"id": "1987b3b7-981a-42e5-bc00-7671850f35f0",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
304,
256
],
"parameters": {
"width": 272,
"height": 256,
"content": "## The intent is removed\nEs: se elimina el intent"
},
"typeVersion": 1
},
{
"id": "2c26ee70-5c2d-4695-ad4b-76c0c10763c0",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1376,
176
],
"parameters": {
"color": 5,
"width": 1008,
"height": 512,
"content": "## The user and the submitted keyword are validated.\nEs: Se valida al usuario y la palabra clave enviada."
},
"typeVersion": 1
},
{
"id": "2cbbdcf0-8ed0-4e2a-a341-9ad5d946aea5",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1808,
336
],
"parameters": {
"color": 6,
"width": 352,
"height": 1040,
"content": "## 🔍 Get the **Intent ID** from the URL in Dialogflow\n\nWhen you access Dialogflow and open an intent in your browser, the address bar displays a URL with the following structure:\n\nhttps://dialogflow.cloud.google.com/#/agent/{TU_PROJECT_ID}/intents/{INTENT_ID}/edit\n\nThis would be the final URL you should enter:\nhttps://dialogflow.cloud.google.com/#/agent/{TU_PROJECT_ID}/intents/{INTENT_ID}/edit\n\n- **`{TU_PROJECT_ID}`** → Corresponds to your project ID in Google Cloud.\n- **`{INTENT_ID}`** → This is the unique identifier of the intent.\n\n📌 **The `INTENT_ID` is always the last part of the URL before `/edit`**.\nThis is the value you should use to delete a specific intent. \n\n\n\nEs:\n## 🔍 Obtener el **Intent ID** desde la URL en Dialogflow\n\nCuando accedes a Dialogflow y abres un intent en tu navegador, la barra de direcciones muestra una URL con la siguiente estructura:\nhttps://dialogflow.cloud.google.com/#/agent/{TU_PROJECT_ID}/intents/{INTENT_ID}/edit\n\nAsí sería la URL final que debes colocar:\nhttps://dialogflow.googleapis.com/v2/projects/{TU_PROJECT_ID}/agent/intents/{INTENT_ID}\n\n- **`{TU_PROJECT_ID}`** → Corresponde al ID de tu proyecto en Google Cloud.\n- **`{INTENT_ID}`** → Es el identificador único del intent.\n\n📌 **El `INTENT_ID` es siempre la última parte de la URL antes de `/edit`**. \nEste es el valor que debes usar para eliminar un intent específico.\n"
},
"typeVersion": 1
},
{
"id": "3c4f9e57-aead-4dfd-b2a1-734df9162de0",
"name": "HTTP Request ELIMINAR",
"type": "n8n-nodes-base.httpRequest",
"position": [
400,
336
],
"parameters": {
"url": "https://dialogflow.googleapis.com/v2/projects/bot-encuestador-9iar/agent/intents/acd91730-f3b5-4e58-a7c5-f20f402be4c7",
"method": "DELETE",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "googleApi"
},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "0cfce610-cd70-4b9d-a775-e5a8c2cc981d",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
224
],
"parameters": {
"width": 288,
"height": 320,
"content": "Get the intent name to use in the confirmation message\n\nEs: se obtiene el nombre del intent para usarlo en el mensaje de confirmación"
},
"typeVersion": 1
},
{
"id": "b5d72f67-580b-42ca-9789-447e9c6bbcac",
"name": "IDによるユーザー検証",
"type": "n8n-nodes-base.if",
"position": [
-1072,
352
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "3f4c5e75-e48d-450a-896b-4bd396851417",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ $json.message.from.id }}",
"rightValue": "={{ Telegram_user_ID }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "2d9191a8-202b-47d9-ba72-ddbe4f52cc1c",
"name": "キーワード検証",
"type": "n8n-nodes-base.if",
"position": [
-816,
256
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "30b2659a-c708-4cb4-8576-913182ec1e65",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.message.text }}",
"rightValue": "delete"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "07ed4d8b-0a8f-4b14-aeae-c9d462fdc9ec",
"name": "無効ユーザーメッセージ",
"type": "n8n-nodes-base.telegram",
"position": [
-928,
512
],
"webhookId": "7d954cec-80f0-44a2-ae19-7d7520693291",
"parameters": {
"text": "Invalid user\nUsuario inválido",
"chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"typeVersion": 1.2
},
{
"id": "bcdb9a56-ef1a-433b-9f04-802200220ca5",
"name": "無効キーワードメッセージ",
"type": "n8n-nodes-base.telegram",
"position": [
-640,
432
],
"webhookId": "ad6b7f9a-806f-47db-bc18-5b5dc891ddae",
"parameters": {
"text": "Invalid word\nPalabra inválida",
"chatId": "={{ $json.message.from.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"typeVersion": 1.2
},
{
"id": "cc831247-9911-449d-b2f1-b05431513dfc",
"name": "HTTP Request GET NAME",
"type": "n8n-nodes-base.httpRequest",
"position": [
-224,
352
],
"parameters": {
"url": "https://dialogflow.googleapis.com/v2/projects/bot-encuestador-9iar/agent/intents/acd91730-f3b5-4e58-a7c5-f20f402be4c7",
"options": {},
"sendQuery": true,
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "intentView",
"value": "INTENT_VIEW_FULL"
}
]
},
"nodeCredentialType": "googleApi"
},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "07f32230-cd28-4461-a079-54b5886d4762",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
336
],
"parameters": {
"height": 304,
"content": "After getting the intent name, we wait 1 second before deleting it.\n\nEs: luego de tener el nombre del intent, esperamos 1 segundo antes de eliminarlo"
},
"typeVersion": 1
},
{
"id": "1e0f6c87-d607-45f4-8fd2-cc554fe31dba",
"name": "シミュレート遅延",
"type": "n8n-nodes-base.wait",
"position": [
64,
496
],
"webhookId": "21591e94-fbd7-4fb8-8f02-e61c40a48302",
"parameters": {
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "efd79893-8291-43e2-a310-7eadbe24184b",
"name": "確認メッセージ",
"type": "n8n-nodes-base.telegram",
"position": [
768,
384
],
"webhookId": "afdedc43-7a7d-4749-b8a8-cb1bd2b1dec5",
"parameters": {
"text": "=The intent: *{{ $('HTTP Request GET NAME').item.json.displayName }}* has been removed.\n\nEl intent: *{{ $('HTTP Request GET NAME').item.json.displayName }}* ha sido eliminado.",
"chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "224f76be-e487-404e-8e65-4827e9a18150",
"name": "HTTP Request GET",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1680,
144
],
"parameters": {
"url": "https://dialogflow.googleapis.com/v2/projects/bot-encuestador-9iar/agent/intents/587093b8-6732-4505-85e1-24a5889cac9b",
"options": {},
"sendQuery": true,
"authentication": "predefinedCredentialType",
"queryParameters": {
"parameters": [
{
"name": "intentView",
"value": "INTENT_VIEW_FULL"
}
]
},
"nodeCredentialType": "googleApi"
},
"typeVersion": 4.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "ad8f9a00-502c-42c9-b577-84869af7520c",
"connections": {
"1e0f6c87-d607-45f4-8fd2-cc554fe31dba": {
"main": [
[
{
"node": "3c4f9e57-aead-4dfd-b2a1-734df9162de0",
"type": "main",
"index": 0
}
]
]
},
"4814e9e2-3437-4740-bd45-c57814bd2b07": {
"main": [
[
{
"node": "b5d72f67-580b-42ca-9789-447e9c6bbcac",
"type": "main",
"index": 0
}
]
]
},
"2d9191a8-202b-47d9-ba72-ddbe4f52cc1c": {
"main": [
[
{
"node": "cc831247-9911-449d-b2f1-b05431513dfc",
"type": "main",
"index": 0
}
],
[
{
"node": "bcdb9a56-ef1a-433b-9f04-802200220ca5",
"type": "main",
"index": 0
}
]
]
},
"3c4f9e57-aead-4dfd-b2a1-734df9162de0": {
"main": [
[
{
"node": "efd79893-8291-43e2-a310-7eadbe24184b",
"type": "main",
"index": 0
}
]
]
},
"cc831247-9911-449d-b2f1-b05431513dfc": {
"main": [
[
{
"node": "1e0f6c87-d607-45f4-8fd2-cc554fe31dba",
"type": "main",
"index": 0
}
]
]
},
"b5d72f67-580b-42ca-9789-447e9c6bbcac": {
"main": [
[
{
"node": "2d9191a8-202b-47d9-ba72-ddbe4f52cc1c",
"type": "main",
"index": 0
}
],
[
{
"node": "07ed4d8b-0a8f-4b14-aeae-c9d462fdc9ec",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - エンジニアリング, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
💥 HeyGen II - 私をクローン - アイデアからリリースまで:YouTube、TikTok、Instagram向けのChatGPT-5ビデオ自動化 - ビデオ
HeyGen、GPT-5、そしてソーシャル自動投稿を使って、音声入力による動画制作を自動化する
If
Set
Wait
+
If
Set
Wait
41 ノードDr. Firas
コンテンツ作成
LinkedInおよびXウイルスのなコンテンツ自動エンジン
AIを使ってLinkedInとXにウイルスのなコンテンツを自動生成して公開する
If
Set
Wait
+
If
Set
Wait
156 ノードDiptamoy Barman
コンテンツ作成
自動職位リスト抽出&公開テンプレート
求人募集情報の自動リスト抽出と公開テンプレート
If
Set
Code
+
If
Set
Code
53 ノードKhairul Muhtadin
人事
WooCommerce_テンプレートに自動投稿
Telegram チャンネル投稿を WooCommerce 製品に自動変換する
If
Set
Code
+
If
Set
Code
26 ノードShohani
コンテンツ作成
💥 Klapを使用してYouTube動画をウィルスのショートビデオに変換し、Blotatoで自動公開 -ビデオ
YouTube動画をショート動画に変換し、複数のソーシャルプラットフォームに自動のに投稿します(Klap)
If
Set
Code
+
If
Set
Code
35 ノードDr. Firas
コンテンツ作成
音声を UGC 動画に変換する
OpenAIとHeyGenを使ってTelegram音声ノートからAIUGC動画を作成
If
Set
Wait
+
If
Set
Wait
19 ノードRahul Joshi
コンテンツ作成
ワークフロー情報
難易度
上級
ノード数17
カテゴリー2
ノードタイプ6
作成者
Eddy Medina
@troguisSoy un apasionado de la tecnología. Me entusiasma el desarrollo y la implementación de chatbots y automatizaciones. Disfruto simplificando procesos y mejorando la experiencia del usuario.
外部リンク
n8n.ioで表示 →
このワークフローを共有