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?
Listens for incoming messages from a Telegram bot using the Telegram Trigger node. Validates the user by ID through the User validation by ID node to ensure only authorized people can execute the action. Checks if the message contains the keyword update using the Keyword validation node. 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. 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.
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments