This workflow automates the process of retrieving intents from Dialogflow, processing their priorities, and recording the details in Google Sheets, all triggered by Telegram messages. It is designed to facilitate real-time management and analysis of chatbot intents, especially useful for developers and chatbot managers.
The workflow begins with a Telegram trigger that listens for incoming messages. It first validates the user’s identity by matching their ID to a predefined value to ensure authorized access. When a user sends the command “backup,” the workflow proceeds to request the list of intents from Dialogflow through an authenticated HTTP request. The response JSON containing the intentions is then processed by a JavaScript node, which maps each intent’s display name and priority, assigning visual emoji indicators based on priority levels (e.g., red for highest priority, green for low).
The processed intents are then appended as new rows in a specified Google Sheets document, including additional details such as registration date and time. After successfully logging the data, the workflow sends a confirmation message via Telegram indicating the number of intents stored.
This automation is ideal for updating team members on current chatbot configurations, maintaining logs for future reference, and ensuring secure access with user validation. It streamlines intent management, enhances workflow transparency, and integrates seamlessly across Telegram, Dialogflow, and Google Sheets.
Reviews
There are no reviews yet.