Skip to main content

Export Dialogflow intents with priority levels to Google Sheets via Telegram

Workflow preview

Workflow preview
100%
Export Dialogflow intents with priority levels to Google Sheets via Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Document Extraction automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.httprequest, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Eddy Medina.

Original n8n.io source

1.1 Workflow description

Title
Export Dialogflow intents with priority levels to Google Sheets via Telegram
Workflow name
Export Dialogflow intents with priority levels to Google Sheets via Telegram

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

  1. Import the workflow: Upload the .json into your n8n instance.

  2. Connect Telegram:
    Add your Telegram bot credentials and configure the node Validación de usuario por ID with your Telegram ID.

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

  4. Connect Google Sheets:
    Authorize Google Sheets via OAuth2 and select your destination document/sheet in the node Añadir fila en la hoja.

  5. Customize trigger keyword:
    Adjust the command text (default "backup") if needed.

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Añadir fila en la hoja

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Validación de usuario por ID

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 7 - Validación del comando

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - Mensaje de validación de comando

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Obtiene datos de los intents

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Mensaje de confirmación

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Mensaje de usuario inválido

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 12 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Mapear intents con su prioridad

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Export Dialogflow intents with priority levels to Google Sheets via Telegram
Complexity intermediate
Nodes 13
Categories Document Extraction
Author Eddy Medina
Published 06 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7073/7073.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Export Dialogflow intents with priority levels to Google Sheets via Telegram do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.