with Databricks (OAuth - Service Principal) and Budgets.ai?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
databricks_oauth: {
type: "app",
app: "databricks_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.databricks_oauth.$auth.domain}.cloud.databricks.com/api/2.0/clusters/list`,
headers: {
Authorization: `Bearer ${this.databricks_oauth.$auth.oauth_access_token}`,
},
})
},
})
The Budgets.ai API offers robust tools for managing budgets, tracking expenses, and monitoring financial goals. By leveraging this API on Pipedream, you can automate your financial data processes, sync with other financial tools, and generate real-time analytics and notifications. Pipedream's serverless platform facilitates the integration of Budgets.ai with hundreds of other apps, enabling you to create custom, automated workflows that fit your financial management needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
budgets_ai: {
type: "app",
app: "budgets_ai",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.budgets_ai.$auth.api_key}`,
"domain": `pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://crm.budgets.ai/api-product/incoming-webhook/enrich-company`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})