LIVEAI Bootcamps · May 2026 · 🇫🇷 CET
Resources · Integrations · n8n FREE · 2026Metabase logo featuring a blue and white color scheme with a geometric shape and text

METABASE n8n INTEGRATION: AUTOMATE METABASE WITH N8N

METABASE N8N INTEGRATION: AUTOMATE METABASE WITH N8N

Need help

Need help automating Metabase with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Why automate

Why automate Metabase with n8n?

The Metabase n8n integration gives you access to 10 distinct actions covering questions, metrics, alerts, and database management. This means you can build sophisticated data pipelines that automatically fetch your BI insights and route them wherever they're needed—Slack, email, spreadsheets, CRMs, or any of n8n's 400+ supported applications.

The benefits are substantial. Significant time savings: no more manually exporting CSV reports or copying metrics into other tools. Set up automated workflows that pull fresh data on schedule or on-demand. Improved responsiveness: automatically retrieve alerts and route critical information to stakeholders the moment it matters. Zero oversight: your workflows run 24/7, ensuring scheduled reports are always delivered and database connections are properly monitored. Seamless integration: connect Metabase to your entire tech stack, from Slack notifications when metrics change to automatic Google Sheets updates with fresh query results.

Concrete examples? Automatically export daily sales metrics to a shared spreadsheet every morning. Pull question results and send formatted reports via email. Monitor Metabase alerts and trigger Slack or Discord notifications when thresholds are crossed. Programmatically add new database connections as your infrastructure scales. The possibilities expand with every workflow you build.

Credentials

How to connect Metabase to n8n?

  1. !
    1 step

    How to connect Metabase to n8n?

    1. 01

      Add the node

      Search and add the node in your workflow.

    Metabase credentials
    TIP
    💡 TIP: Create a dedicated Metabase service account for your n8n automations rather than using personal credentials. This ensures your workflows won't break if someone changes their password, and it makes it easier to track API usage and manage permissions across your organization. Need help setting this up? Our n8n training covers best practices for credential management.
Need help

Need help automating Metabase with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Actions

Metabase actions available in n8n

  1. 01
    Action 01

    Result Data

    This action fetches the actual data results from a specific Metabase question (saved query) and returns them in your preferred format. It's the cornerstone of any reporting automation—when you need fresh data from your dashboards delivered somewhere else, this is your go-to action.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials for authentication (required)
    • Resource: Set to "Question" to indicate you're working with saved queries
    • Operation: Set to "Result Data" to fetch the actual query results
    • Question ID: Numeric identifier of the specific Metabase question to retrieve data from (required)
    • Format: Dropdown to select output format—CSV is shown in the example, perfect for spreadsheet integrations

    Use cases:

    • Export daily sales reports to Google Sheets automatically every morning
    • Feed fresh analytics data into Slack channels for team visibility
    • Populate external dashboards or data warehouses with Metabase query results
    Result Data
  2. 02
    Action 02

    Get Many Question

    This action retrieves multiple questions (saved queries) from your Metabase instance in a single operation. It's particularly useful when you need to audit your BI environment, sync question metadata to external systems, or build dynamic workflows that adapt based on available queries.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Question" to target saved queries in Metabase
    • Operation: Set to "Get Many" to fetch multiple question records at once

    Use cases:

    • Create an inventory of all saved questions for documentation purposes
    • Build workflows that dynamically process multiple reports in sequence
    • Sync question metadata to project management tools for better BI governance
    Get Many Question
  3. 03
    Action 03

    Metabase - Get Question

    This action retrieves detailed information about a single specific question by its unique identifier. Use it when you need metadata about a particular saved query—its configuration, last run time, creator, or other properties.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Question" to work with saved queries
    • Operation: Set to "Get" to fetch a single question's details
    • Question ID: Numeric or text field where you specify the exact question to retrieve (required)—can be a fixed value or dynamic expression

    Use cases:

    • Verify a question exists before attempting to fetch its results
    • Retrieve question metadata to include in automated reports
    • Build conditional workflows that behave differently based on question properties
    Metabase - Get Question
  4. 04
    Action 04

    Get Many Metrics

    This action fetches multiple metrics from your Metabase instance at once. Metrics in Metabase are reusable calculations that maintain consistency across your organization—retrieving them programmatically helps maintain data governance.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Metric" to interact with Metabase metrics
    • Operation: Set to "Get Many" to retrieve multiple metric definitions

    Use cases:

    • Audit all defined metrics for consistency and documentation
    • Sync metric definitions to external data catalogs
    • Build monitoring workflows that track metric changes over time
    Get Many Metrics
  5. 05
    Action 05

    Get Metric

    This action retrieves detailed information about a single metric by its unique identifier. Perfect for workflows that need specific metric metadata or validation before using that metric in calculations.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Metric" to work with Metabase metrics
    • Operation: Set to "Get" to fetch a single metric's details
    • Metric ID: Numeric field where you provide the unique identifier of the metric to retrieve (required)

    Use cases:

    • Validate metric configurations before running dependent reports
    • Include metric definitions in automated documentation workflows
    • Monitor specific high-value metrics for configuration changes
    Get Metric
  6. 06
    Action 06

    Get Fields

    This action retrieves all fields (columns) from a specific database connected to your Metabase instance. It's essential for understanding your data structure and building dynamic queries or data mapping workflows.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Database" to interact with database resources
    • Operation: Set to "Get Fields" to fetch the field/column structure
    • Database ID: Numeric field specifying which database to retrieve fields from (required)

    Use cases:

    • Document database schemas automatically for data dictionaries
    • Build dynamic workflows that adapt to changing table structures
    • Validate that expected fields exist before running data pipelines
    Get Fields
  7. 07
    Action 07

    Get Many

    This action retrieves multiple database connection records from your Metabase instance. Use it to audit your connected data sources or build workflows that interact with multiple databases.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Database" to work with database connections
    • Operation: Set to "Get Many" to fetch multiple database records
    • Simplify: Toggle switch to return data in a simplified, easier-to-process format (optional but recommended)

    Use cases:

    • Create an inventory of all database connections for security audits
    • Monitor database connection health across your Metabase instance
    • Build workflows that process data from multiple sources in sequence
    Get Many
  8. 08
    Action 08

    Add Database

    This action programmatically adds a new database connection to your Metabase instance. It's particularly valuable for DevOps workflows, automated environment provisioning, or scaling scenarios where databases are created dynamically.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Database" to manage database connections
    • Operation: Set to "Add" to create a new database connection
    • Engine: Dropdown to select the database type (PostgreSQL, MySQL, etc.)
    • Host: Text field for the database server hostname/IP and optional port
    • Name: Text field for the display name in Metabase
    • Port: Numeric field for the database connection port
    • User: Text field for the database username
    • Password: Text field for the database user's password
    • Database Name: Text field for the actual database name to connect to

    Use cases:

    • Automatically provision Metabase connections when new databases are created
    • Build self-service workflows where teams can request new data source connections
    • Sync database connections across multiple Metabase environments
    Add Database
  9. 09
    Action 09

    Metabase Alert - Get Many

    This action retrieves multiple alerts configured in your Metabase instance. Alerts in Metabase trigger when query results meet certain conditions—fetching them programmatically enables sophisticated monitoring workflows.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Alert" to work with Metabase alerts
    • Operation: Set to "Get Many" to fetch multiple alert records

    Use cases:

    • Audit all configured alerts for compliance and coverage
    • Build meta-monitoring that tracks alert configurations across your instance
    • Sync alert definitions to external incident management systems
    Metabase Alert - Get Many
  10. 10
    Action 10

    Get Alert

    This action retrieves detailed information about a single alert by its unique identifier. Use it when you need to verify alert configuration, check status, or route specific alert information to other systems.

    Key parameters:

    • Credential to connect with: Dropdown to select your Metabase account credentials (required)
    • Resource: Set to "Alert" to interact with Metabase alerts
    • Operation: Set to "Get" to fetch a single alert's details
    • Alert ID: Numeric field where you provide the unique identifier of the alert to retrieve (required)

    Use cases:

    • Verify alert configurations before critical business periods
    • Include alert details in automated status reports
    • Build conditional workflows that respond differently based on alert properties
    Get Alert
You've seen the integration

Build your first workflow with our team

Drop your email and we'll send you the catalog of automations you can ship today.

  • Free n8n & Make scenarios to import
  • Step-by-step setup docs
  • Live cohort + community support

Frequently asked questions

  • Is the Metabase n8n integration free?
    Yes, the Metabase integration is included natively in n8n at no additional cost. If you're using n8n Cloud, your pricing depends on your execution volume, not which integrations you use. If you're self-hosting n8n (which is completely free and open-source), you can use the Metabase integration without any licensing fees. The only requirement is having a valid Metabase instance with API access enabled—both Metabase's open-source and Pro/Enterprise editions work with this integration. Check out the official n8n documentation for more details.
  • What data can I retrieve from Metabase using n8n?
    The Metabase n8n integration gives you access to four main resource types: Questions (saved queries and their result data in formats like CSV), Metrics (reusable calculation definitions), Alerts (monitoring configurations), and Databases (connection information and field structures). You can retrieve query results directly, get metadata about your BI objects, audit your database connections, and even add new database sources programmatically. This covers most common automation scenarios for business intelligence workflows. You can also connect Metabase data to your HubSpot CRM or Notion workspace for enhanced reporting.
  • How long does it take to set up the Metabase n8n integration?
    Most users get their first Metabase workflow running in under 10 minutes. The credential setup is straightforward—you just need your Metabase instance URL and valid login credentials. Once connected, dragging a Metabase node onto your canvas, selecting an action, and configuring parameters takes just a few clicks. The longest part is usually deciding what you want to automate and finding the right Question or Database IDs in your Metabase interface. Pro tip: keep a reference document with your most-used Metabase IDs to speed up future workflow creation. If you need guidance, explore our downloadable automation catalog for ready-to-use templates.
Hack'celeration Lab

Get our weekly integration tips.

No spam. Unsubscribe anytime.