Fast analytics with the friendly UX and integrated tooling to let your company explore data on their own.
Go to siteThe Metabase API opens a gateway to interact with Metabase programmatically, enabling you to automate reporting, dashboards, and data analysis operations. With Pipedream, you can harness this API to trigger workflows, manipulate data, and integrate with various other apps to create a seamless data ecosystem. Think of syncing Metabase insights with other tools, automating report generation, or reacting to events within your Metabase instance in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metabase: {
type: "app",
app: "metabase",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.metabase.$auth.server_address}/api/user/current`,
headers: {
"X-Metabase-Session": `${this.metabase.$auth.oauth_access_token}`,
},
})
},
})
Automated Reporting: Use Pipedream to set up scheduled triggers that fetch reports from Metabase and send them via email or Slack. This workflow can help teams stay updated with the latest insights without manual intervention.
Dashboard Sync: Create a workflow that listens for updates in a specific Metabase dashboard and synchronizes those changes with a Google Sheets document. This allows for easy sharing and collaboration on data insights with stakeholders who prefer working in spreadsheets.
Alerting on Metrics: Set up a Pipedream workflow that monitors specific metrics within Metabase. If certain thresholds are crossed, actions can be taken automatically, like sending alerts through SMS using Twilio or creating a task in project management tools like Trello.
Metabase uses OAuth authentication. When you connect your Metabase account, Pipedream will open a popup window where you can sign into Metabase and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Metabase API.
Pipedream requests the following authorization scopes when you connect your account:
POST
{{custom_fields.server_address}}/api/session
content-type: application/json
accept: application/json
username={{custom_fields.username}}
&
password={{custom_fields.password}}
POST
{{custom_fields.server_address}}/api/session
content-type: application/json
accept: application/json
username={{custom_fields.username}}
&
password={{custom_fields.password}}