AgentHub

Export Dialogflow Intents with Priority Levels to Google Sheets via Telegram

What does this workflow do?

Live
Open / InstallLast updated July 27, 2026

Description

What does this workflow do? This workflow exports the names of all Dialogflow intents from your agent, together with their priority levels, directly into a Google Sheets spreadsheet. It is triggered via Telegram and includes visual indicators (emojis) for priority levels. ๐Ÿ“œ Overview ๐Ÿ”” Activation**: Triggered when a validated user sends the keyword (e.g. "backup") via Telegram. ๐Ÿ“ฅ Data Retrieval**: Fetches all intents of the specified Dialogflow agent using the Dialogflow API. โš™๏ธ Processing**: Transforms each intent into an n8n-compatible item. Extracts the displayName and priority of each intent. Assigns an emoji and descriptive label based on priority tier: ๐Ÿ”ด Highest, ๐ŸŸ  High, ๐Ÿ”ต Normal, ๐ŸŸข Low, ๐Ÿšซ Ignore. ๐Ÿ“‘ Storage**: Appends each intent (name, priority number, emoji, and description), along with current date and time, to a Google Sheets document. ๐Ÿ“ฉ Notification**: Sends a single confirmation message to the Telegram user once insertion is complete (using Execute Once). ๐Ÿ› ๏ธ How to install and configure Import the workflow: Upload the .json into your n8n instance. Connect Telegram: Add your Telegram bot credentials and configure the node Validaciรณn de usuario por ID with your Telegram ID. Configure Dialogflow: Authenticate using a Google Service Account API Credential. Then, in the Obtiene datos de los intents node, replace the example project ID (TU_PROJECT_ID) with your actual Dialogflow agent's project ID. Connect Google Sheets: Authorize Google Sheets via OAuth2 and select your destination document/sheet in the node Aรฑadir fila en la hoja. Customize trigger keyword: Adjust the command text (default "backup") if needed. Activate workflow: Ensure the webhook is correctly set up in Telegram before enabling the workflow. ๐Ÿ‘ฅ Who is this for? ๐Ÿค– Bot administrators who need quick backups of Dialogflow intent names. ๐ŸŒ Teams managing multilingual or multi-intent agents wanting priority oversight. ๐Ÿ’ป Development teams needing an automated way to audit or version intent configurations regularly. ๐Ÿ’ก Use Cases โš™๏ธ Backup intents periodically to monitor changes over time. ๐Ÿ“Š Visualize priority assignment in a spreadsheet for analysis or team discussion. ๐Ÿ“– Document conversational structure for onboarding or knowledge transfer. An n8n automation workflow template by Eddy Medina.

Author

Eddy Medina

Platform

web

Pricing model

free

Categories

Automation

Tags

n8n
workflow
google-sheets
http-request
telegram
code

Capabilities

  • 4 nodes
  • 20 views