Delete Dialogflow intents via Telegram commands
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER 🎉 Early Black Friday Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Delete a Dialogflow Intent via Telegram 🗑️
This workflow allows you to delete a specific Dialogflow intent simply by sending the keyword delete through Telegram. It’s designed for quick and safe deletions from your mobile device, without needing to access the Dialogflow console.
🔧 What does this workflow do?
- Listens for Telegram messages using the
Telegram Triggernode. - Validates the user ID through the
User validation by IDnode, ensuring only authorized users can trigger the deletion. - Checks if the message equals
deleteusing theKeyword validationnode. - If both checks pass:
- Performs an HTTP GET request via
HTTP Request GET NAMEto retrieve the name of the intent (used in the confirmation message). - Adds a small delay using
simulated delay. - Then executes a DELETE request to the Dialogflow API via the
HTTP Request ELIMINARnode to delete the intent. - Sends a Telegram confirmation message through the
Confirmation messagenode.
- Performs an HTTP GET request via
- If the user ID or keyword is invalid:
- Responds with a custom message using either
Invalid user messageorInvalid keyword message.
- Responds with a custom message using either
📌 Requirements
- A valid Google API credential (Service Account) set up in n8n.
- Obtain your
PROJECT_IDandINTENT_IDfrom the URL of the intent in Dialogflow:
✅ Use Cases
- Delete test or unused intents without opening Dialogflow.
- Automate cleanup of outdated intents.
- Allow controlled Telegram-based access for specific users to delete intents remotely.