Use this secure n8n workflow to remotely delete Dialogflow Intents using specific commands sent via Telegram. This powerful automation leverages the HTTP Request n8n node for API interaction.
Download this n8n workflow template and start using it instantly.
AI/Chatbot Developers managing Dialogflow agents who need a quick, remote way to remove outdated intents.
n8n Automation Specialists looking for practical, real-world n8n templates combining chat services and API management.
Users who require a high level of security and authorization before critical actions are performed in their production environment.
Anyone interested in integrating security checks (like user ID validation) within an n8n workflow.
Managing AI agents often requires rapid deployment and deletion of conversational intents. This sophisticated n8n workflow provides a secure, remote mechanism for deleting specific Dialogflow Intents using a simple command sent via Telegram.
The value of this n8n automation lies in its security layers. It starts with the Telegram n8n trigger and immediately enforces two critical checks: validating the sender's Telegram ID (ensuring only authorized personnel can proceed) and validating the exact command keyword (ensuring intentional execution).
If the checks pass, the n8n workflow uses the power of the HTTP Request n8n node to interact directly with the Google Dialogflow API, fetching the intent name before deleting it and confirming the success back to the user via Telegram. This robust pattern serves as an excellent example of highly secure and functional n8n templates for operational management.
This n8n workflow follows a strict security and execution path:
User validation by ID If n8n node checks if the ID of the incoming message sender matches a predefined authorized user ID (via an expression like ={{ TelegramuserID }}). Unauthorized users are notified and the workflow stops.Keyword validation If n8n node checks if the message text is the exact delete command ("delete" in this example).HTTP Request GET NAME) executes a GET request against the Dialogflow API to retrieve the displayName of the intent about to be deleted. This information is crucial for the confirmation message.simulated delay Wait n8n node pauses the flow for one second, ensuring smooth sequential operation.HTTP Request ELIMINAR) performs a secure DELETE operation targeting the specific Dialogflow Intent URL, removing the resource.Confirmation message Telegram n8n node informs the authorized user that the intent, identified by its display name, has been successfully removed. This entire sequence showcases efficient use of the n8n node library for secure DevOps.To deploy and use this secure n8n workflow, follow these steps:
Telegram Trigger n8n node and the downstream Telegram n8n nodes with this credential.predefinedCredentialType authentication).User validation by ID If n8n node, replace {{ TelegramuserID }} with the actual Telegram User ID of the person authorized to perform deletions.GET NAME and ELIMINAR). They contain hardcoded URLs referencing a specific project ID and a specific Intent ID. You must update both URLs to match the project and intent you wish to target. This is essential for the n8n node to interact correctly with your Dialogflow instance. Telegram Trigger (n8n trigger): The starting point of the n8n workflow. It monitors for new messages, specifically listening for message updates to initiate the secure deletion process.
User validation by ID (If n8n node): Implements the first security check. It compares the incoming message sender's ID ($json.message.from.id) against a security variable to ensure only permitted users can proceed.
Keyword validation (If n8n node): The second security layer. Checks if the message text exactly matches the required deletion command ("delete").
HTTP Request GET NAME (n8n node): Uses a GET method with Google API authentication to query the Dialogflow API. Its purpose is solely to fetch the displayName of the target intent before deletion, enhancing user feedback.
simulated delay (Wait n8n node): A utility n8n node that pauses the n8n workflow for 1 second, ensuring smooth transition between fetching the name and executing the deletion command.
HTTP Request ELIMINAR (n8n node): The core action n8n node. It executes a critical DELETE request using Google API authentication to remove the specified Dialogflow Intent.
HTTP Request GET NAME n8n node to confirm which specific intent was removed.Automate deep, cited web research directly from Telegram using this powerful n8n workflow. It leverages an n8n AI agent with Perplexity Sonar and Sonar Pro for accurate, real-time results.

Deploy this powerful n8n workflow to automate deep research. Use AI agents for topic clarification, Tavily for data fetching, and publish structured reports directly to Notion.

Use this powerful n8n workflow template to automate deep research, content planning, drafting, and final editing of targeted sales lead magnets using a team of interacting AI agents (LangChain).

Automate daily currency exchange rate delivery using this robust n8n workflow. Integrate CurrencyFreaks API data and distribute alerts via Email and WhatsApp using a scheduled n8n trigger.

Soy 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.







































