Skip to main content

Update Dialogflow intent responses via Telegram bot commands

Workflow preview

Workflow preview
100%
Update Dialogflow intent responses via Telegram bot commands preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Update a Dialogflow Intent's Response via Telegram This template allows you to easily update the response of a Dialogflow intent by simply typing a keyword in Telegram. Ideal for those who need to ...

Best for

  • AI Chatbot automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.telegram, n8n-nodes-base.httprequest, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Eddy Medina.

Original n8n.io source

1.1 Workflow description

Title
Update Dialogflow intent responses via Telegram bot commands
Workflow name
Update Dialogflow intent responses via Telegram bot commands

Update a Dialogflow Intent's Response via Telegram

This template allows you to easily update the response of a Dialogflow intent by simply typing a keyword in Telegram. Ideal for those who need to edit responses without accessing the Dialogflow console.


đź”§ What does this flow do?

  1. Listens for incoming messages from a Telegram bot using the Telegram Trigger node.
  2. Validates the user by ID through the User validation by ID node to ensure only authorized people can execute the action.
  3. Checks if the message contains the keyword update using the Keyword validation node.
  4. If both conditions are met:
    • Executes an HTTP GET request using the HTTP Request GET node to fetch the full intent in JSON format from the Dialogflow API.
    • The user copies that JSON, edits the response content, and pastes it into the HTTP Request UPDATE node (PATCH).
    • Finally, the flow sends a confirmation message via Telegram using the Mensaje de confirmaciĂłn node.
  5. If the user or keyword is invalid, the bot replies with an error message using the Invalid user message or Invalid keyword message nodes.

📌 Requirements

  • A configured Google API credential (Service Account).
  • Obtain the PROJECT_ID and INTENT_ID from the intent's URL in Dialogflow.
  • Edit the jsonBody content in the HTTP Request UPDATE node, removing the outer curly braces {}.

âś… Use Cases

  • Quickly modify responses in production without accessing Dialogflow.
  • Allow non-technical users to update intents from Telegram.
  • Foundation for more advanced flows that dynamically manage multiple intents.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Mensaje de confirmaciĂłn

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - HTTP Request GET

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - User validation by ID

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 13 - Keyword validation

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Invalid user message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Invalid keyword message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 16 - HTTP Request UPDATE

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Update Dialogflow intent responses via Telegram bot commands
Complexity advanced
Nodes 16
Categories AI Chatbot, Multimodal AI
Author Eddy Medina
Published 14 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7408/7408.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Update Dialogflow intent responses via Telegram bot commands do?

Update a Dialogflow Intent's Response via Telegram This template allows you to easily update the response of a Dialogflow intent by simply typing a keyword in Telegram. Ideal for those who need to ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Chatbot, Multimodal AI use case.