with Crove and Metabase?
The Crove API offers a suite of tools for automating document creation, customization, and management. Using Pipedream's integration capabilities, you can leverage Crove to generate tailored documents based on dynamic data inputs and trigger actions within other applications. Imagine auto-generating contracts when a deal is marked 'won' in a CRM, or creating personalized onboarding paperwork as soon as a new employee is added to your HR system. With Pipedream, you can connect Crove to a multitude of apps to streamline document workflows and enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    crove_app: {
      type: "app",
      app: "crove_app",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://v2.api.crove.app/api/integrations/external/templates/`,
      headers: {
        "Content-Type": `application/json`,
        "X-API-KEY": `${this.crove_app.$auth.api_key}`,
      },
    })
  },
})
The 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-api-key": `${this.metabase.$auth.api_key}`,
      },
    })
  },
})