Use this secure n8n workflow to export Dialogflow intents, analyze their priority levels using an n8n code node, and log the structured data automatically into Google Sheets.
Download this n8n workflow template and start using it instantly.
Bot Developers and QA Engineers who need a traceable history of their Dialogflow agent configuration.
Users seeking advanced n8n templates that combine secure access control (Telegram ID validation) with custom data transformation.
Teams needing a simple, command-line interface to execute complex backend tasks using n8n automation.
Anyone looking for a practical application demonstrating the power of the n8n code node for data parsing and enrichment.
Managing large AI agents requires robust monitoring of configuration changes, especially intent priorities. This powerful n8n workflow solves the problem of manual data extraction by automating the entire backup process using a secure Telegram command. When a designated user sends the 'backup' command, the n8n trigger activates the flow.
This unique n8n template integrates critical security checks, ensuring only authorized users can request the data dump. Furthermore, it employs a custom n8n node (the Code node) to analyze the numerical priority values returned by the Dialogflow API and map them to clear textual and emoji indicators (Highest, High, Normal, Low), providing instant, actionable intelligence when the data lands in Google Sheets. This highly efficient n8n workflow guarantees timely and structured documentation of your agent's current state.
This automation sequence starts with the primary n8n trigger and executes a series of validation and processing steps:
displayName and priority for each intent, and applies JavaScript logic to assign clear priority classifications (e.g., 🔴 Highest, 🔵 Normal).To implement this advanced n8n workflow, follow these setup steps:
Telegram Trigger and the subsequent Telegram action nodes.Validación de usuario por ID n8n node, replace the placeholder user ID (7894561234) with the actual Telegram ID of the user authorized to run the backup.Añadir fila en la hoja n8n node with your Google Sheets credentials and select the target Spreadsheet ID and Sheet Name where the data will be written.Dialogflow API Client).Obtiene datos de los intents n8n node, replace TUPROJECTID in the URL with your actual Dialogflow project ID. This HTTP Request n8n node must use the configured Google API authentication. Telegram Trigger (n8n trigger): Sets the automation in motion upon receiving any Telegram message. It acts as the primary n8n trigger point.
Validación de usuario por ID (If n8n node): A security checkpoint. It verifies that the incoming message originates from a whitelisted Telegram User ID.
Validación del comando (If n8n node): Checks if the incoming message text is exactly the required command ('backup').
Obtiene datos de los intents (HTTP Request n8n node): Sends an authenticated request using Google API credentials to the Dialogflow v2 API to retrieve all intents and their associated metadata.
Mapear intents con su prioridad (Code n8n node): This crucial transformation n8n node uses custom JavaScript to iterate over the intents array, extract the numerical priority, and translate it into standardized descriptive text and corresponding emojis (e.g., 'Highest', 'Low'). This prepares the data structure for consistent logging in Google Sheets.
Añadir fila en la hoja (Google Sheets n8n node): Appends the structured intent data, including the name, priority level, color code (emoji), and processing timestamps, to the designated Google Sheet.
Automate bulk data export from Cloudflare to Google Sheets using this powerful n8n workflow. Capture domain settings, DNS records, and TLD metadata efficiently.

Use this powerful n8n workflow to bulk scrape thousands of Amazon product reviews via RapidAPI and automatically store the structured data in Google Sheets for analysis.

Use this powerful n8n workflow to automatically export AI agent chat memory logs from Postgres (or Supabase) to Google Sheets, creating one dynamic sheet per session ID for easy analysis.

Export daily or monthly Google Search Console SEO data directly to Airtable using this automated n8n workflow. Stop exporting CSVs and maintain a real-time, organized database of keywords, pages, clicks, and impressions. Use this n8n template for seamless reporting.

Soy un apasionado de la tecnología. Me entusiasma el desarrollo y la implementación de chatbots y automatizaciones. Disfruto simplificando procesos y mejorando la experiencia del usuario.







































