Metabase Actions

I’ve been using Metabase for personal projects for the last year or so and love their simple and friendly user experience. As a platform it sets up quickly, you can get up and running in about 10 minutes.

In Metabase version 0.46, a new feature was released called Actions which enable database write back from Metabase to your database. In my experience this feature is unusual in a BI tool, where most vendors prefer to be the endpoint to an analysis workflow. There are several use cases I’ve come across where a CRUD (Create, Read, Update, Delete) experience is desired by a user. Viewing analytics and adjusting manual inputs like inventory targets without needing to toggle to another screen simplifies workflows. Pairing analytics closely with business decisions makes for fast and better informed decision making.

After going through the excellent tutorial, I found the basic Actions (Create, Update, Delete) to be fairly user friendly and easy to set up, Metabase writes the backend SQL for you and detects data types which makes data entry on the user end easy. It’s several steps to get the Actions up and running, but once they are created they can be used in an unlimited number of dashboards that feed from the same data model.

Metabase also offers custom Actions that are created from parameterized SQL, so if you’re comfortable writing SQL you can create some really great interactions with your database for your users all from the comfort of a dashboard. Custom Actions are great for complex data models with multiple tables since Basic Actions can only be created on models build from a single table.

Custom action

As of today, there isn’t any built in security for Actions. Metabase has stated there will be more options for securing your Actions coming in a future release, which is great to hear. Since the Actions directly write & delete from the database this could cause some problems if a user mistakenly deletes some important records. Limiting Action availability by user role would be important to Actions having any serious application.

I have a tutorial where I walk through how to make a workout tracking app using Actions. Take a look at the post here, and look for a video tutorial in the near future!

Metabase Actions Tutorial


These posts help to improve my writing and crystallize my thoughts on topics relating to data, analytics, and product! Thanks for reading!