π¬ Export Dialogflow intents with priority levels to Google Sheets via Telegram
β‘ 97 views Β· π¬ Document Extraction & Analysis
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
displayNameandpriorityof 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
.jsoninto your n8n instance. -
Connect Telegram:
Add your Telegram bot credentials and configure the nodeValidaciΓ³n de usuario por IDwith 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 nodeAΓ±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.
π Nodes Used
Google Sheets, HTTP Request, Telegram, Telegram Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File