Skip to main content

Metabase

With Metabase modules in Make , you can:

  • create, update, retrieve, search, and disable users

  • create, update, retrieve, search collections, and collection items

  • create, update, retrieve, search, and delete dashboards

  • add a card to a dashboard, generate links for a card, retrieve a card, list alerts for a card, search and delete cards

  • search, retrieve, and unsubscribe from an alert

  • create, update, retrieve, and list metrics

  • update, retrieve, and list tables

  • execute a query, retrieve, search, and delete databases

  • search, retrieve, and unsubscribe from dashboard subscription

To get started with Metabase, create an account at metabase.com

Connect Metabase to Make

To connect Metabase app:

  1. Log in to your Make , insert a Metabase module in your scenario and click the Add button next to the Connection field.

    Metabase_1.gif
  2. In the Connection name field, enter a name for the connection.

  3. In the Company Name field enter your company name.

  4. In theEmail and Password fields, enter your Metabase credentials and click Save.

You have successfully established the connection. You can now begin editing scenarios and adding more Metabase modules. If your connection needs reauthorization at any point, follow the connection renewal steps here.

Users

You can create, update, retrieve, search, and disable users using the following modules.

Creates a new user.

For field descriptions, see the Metabase Users API reference.

Adds a user to a permissions group.

Connection

Establish a connection to your Metabase account.

Group ID

Select or map the Group ID whose users you want to add.

User ID

Select or map the User ID whom you want to add.

Is Group Manager

Select whether the user is a group manager.

Updates a user.

Connection

Establish a connection to your Metabase account.

User ID

Select or map the User ID whose details you want to update.

For field descriptions, see the Metabase Users API reference.

Gets a user.

Connection

Establish a connection to your Metabase account.

User ID

Select or map the User ID whose details you want to retrieve.

Searches users by given criteria.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of users Make will return during one execution cycle. The default value is 10.

See Metabase Users API reference for entering the field values to search the users that match the specified value.

Disables a user.

Connection

Establish a connection to your Metabase account.

User ID

Select or map the User ID you want to disable.

Collections

You can create, update, retrieve, and search collections, and collection items using the following modules.

Creates a new collection.

For field descriptions, see the Metabase Collections API reference.

Updates a collection.

Connection

Establish a connection to your Metabase account.

Collection ID

Select or map the Collection ID whose details you want to update.

For field descriptions, see the Metabase Collections API reference.

Gets a collection.

Connection

Establish a connection to your Metabase account.

Collection ID

Select or map the Collection ID whose details you want to retrieve.

Searches collections by given criteria.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of collections Make will return during one execution cycle. The default value is 10.

See Metabase Collections API reference for entering the field values to search the collections that match the specified value.

Searches a specific collection's Items.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of collection items Make will return during one execution cycle. The default value is 10.

See Metabase Collections API reference for entering the field values to search the collections that match the specified value.

Dashboards

You can create, update, retrieve, search, and delete dashboards using the following modules.

Creates a new dashboard.

For field descriptions, see the Metabase Dashboard API reference.

Updates a dashboard.

Connection

Establish a connection to your Metabase account.

Dashboard ID

Select or map the Dashboard ID whose details you want to update.

For field descriptions, see the Metabase Dashboard API reference.

Gets a dashboard.

Connection

Establish a connection to your Metabase account.

Dashboard ID

Select or map the Dashboard ID whose details you want to retrieve.

Searches dashboards by given criteria.

Connection

Establish a connection to your Metabase account.

Filter

Select the filter:

  • All

  • Archived

  • Mine

Limit

Set the maximum number of dashboards Make will return during one execution cycle. The default value is 10.

Deletes a dashboard.

Connection

Establish a connection to your Metabase account.

Dashboard ID

Select or map the Dashboard ID you want to delete.

Cards

You can add a card to a dashboard, generate a link for a card, retrieve a card, list alerts for a card, search, and delete cards using the following modules.

Adds a card to a dashboard.

For field descriptions, see the Metabase Card API reference.

Gets a card.

Connection

Establish a connection to your Metabase account.

Card ID

Select or map the Card ID whose details you want to retrieve.

Gets all alerts for the given card.

Connection

Establish a connection to your Metabase account.

Card ID

Select or map the Card ID whose alerts you want to list.

Limit

Set the maximum number of alerts Make will return during one execution cycle. The default value is 10.

Searches cards by given criteria.

Connection

Establish a connection to your Metabase account.

Filter

Select a filter to search cards by the criteria given.

Limit

Set the maximum number of cards Make will return during one execution cycle. The default value is 10.

Deletes a card.

Connection

Establish a connection to your Metabase account.

Card ID

Select or map the Card ID you want to delete.

Alerts

You can search, retrieve, and unsubscribe from an alert using the following modules.

Gets an alert.

Connection

Establish a connection to your Metabase account.

Alert ID

Select or map the Alert ID whose details you want to retrieve.

Searches alerts by given criteria.

Connection

Establish a connection to your Metabase account.

Archived

Select whether to search for archived alerts.

User ID

Select or map the User ID whose alerts you want to search.

Limit

Set the maximum number of alerts Make will return during one execution cycle. The default value is 10.

Unsubscribes from an alert.

Connection

Establish a connection to your Metabase account.

Alert ID

Select or map the Alert ID you want to unsubscribe.

Metrics

You can create, update, retrieve, and list metrics using the following modules.

Creates a new metric.

For field descriptions, see the Metabase Metrics API reference.

Updates a metric.

Connection

Establish a connection to your Metabase account.

Metric ID

Select or map the Metric ID whose details you want to update.

For field descriptions, see the Metabase Metrics API reference.

Gets a metric.

Connection

Establish a connection to your Metabase account.

Metric ID

Select or map the Metric ID whose details you want to retrieve.

Lists all metrics.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of metrics Make Make will return during one execution cycle. The default value is 10.

Tables

You can update, retrieve, and list tables using the following modules.

Updates a table.

Connection

Establish a connection to your Metabase account.

Table ID

Select or map the Table ID whose details you want to update.

For field descriptions, see the Metabase Tables API reference.

Gets a table.

Connection

Establish a connection to your Metabase account.

Table ID

Select or map the Table ID whose details you want to retrieve.

Lists all tables.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of tables Make will return during one execution cycle. The default value is 10.

Databases

You can execute a query, retrieve, search, and delete databases using the following modules.

Executes a query.

Connection

Establish a connection to your Metabase account.

Database

Select or map the Database whose query you want to execute.

Query

Enter the query in a valid JSON string.

Gets a database.

Connection

Establish a connection to your Metabase account.

Database ID

Select or map the Database ID whose details you want to retrieve.

Searches databases by given criteria.

Connection

Establish a connection to your Metabase account.

Limit

Set the maximum number of databases Make will return during one execution cycle. The default value is 10.

See Metabase Database API reference for entering the field values to search the databases that match the specified value.

Deletes a database.

Connection

Establish a connection to your Metabase account.

Database ID

Select or map the Database ID you want to delete.

Dashboard Subscriptions

You can search, retrieve, and unsubscribe from the dashboard subscription using the following modules.

Gets a dashboard subscription.

Connection

Establish a connection to your Metabase account.

Dashboard Subscription ID

Select or map the Dashboard Subscription ID whose details you want to retrieve.

Searches dashboard subscriptions by given criteria.

Connection

Establish a connection to your Metabase account.

Archived

Select whether to search archived for subscriptions.

Dashboard ID

Select or map the Dashboard ID whose dashboard subscriptions you want to search.

User ID

Select or map the User ID whose dashboard subscriptions you want to search.

Limit

Set the maximum number of dashboard subscriptions Make will return during one execution cycle. The default value is 10.

Unsubscribes users from a dashboard subscription.

Connection

Establish a connection to your Metabase account.

Dashboard Subscription ID

Select or map the Dashboard Subscription ID you want to unsubscribe.

Other

You can call APIs using the following module.

Performs an arbitrary authorized API call.

Note

For the list of available endpoints, refer to the Metabase API documentation.

Connection

Establish a connection to your Metabase account.

URL

Enter a path relative to https://peolydev.metabaseapp.com/api. For example, /user.

Method

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of use - Search Collections

The following API call returns all collections from your account.

URL: /collection

Method: GET

Metabase_3.png

Matches of the search can be found in the module's Output under Bundle > Body.

In our example 5 collections were returned:

Metabase_2.png