with dbt Cloud and Kanban Tool?
Retrieve information about an environment. See the documentation
Marks a subtask as completed See the docs here
Retrieve information about a run artifact. See the documentation
The dbt Cloud API allows users to initiate jobs, check on their status, and interact with dbt Cloud programmatically. On Pipedream, you can harness this functionality to automate workflows, such as triggering dbt runs, monitoring your data transformation jobs, and integrating dbt Cloud with other data services. By leveraging Pipedream's serverless platform, you can create custom workflows that act on dbt Cloud events or use the dbt Cloud API to manage your data transformation processes seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dbt: {
type: "app",
app: "dbt",
}
},
async run({steps, $}) {
const baseUrl = this.dbt.$auth.access_url || `https://${this.dbt.$auth.region}.com/`
return await axios($, {
url: `${baseUrl}api/v3/accounts/`,
headers: {
"Authorization": `Token ${this.dbt.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
The Kanban Tool API allows for the seamless integration and manipulation of Kanban boards, tasks, and workflows to optimize project management and team collaboration. By leveraging this API on Pipedream, you can automate task updates, synchronize boards with other data sources, and create custom notifications—thus enhancing productivity and maintaining momentum across projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kanban_tool: {
type: "app",
app: "kanban_tool",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.kanban_tool.$auth.domain}.kanbantool.com/api/v3/users/current.json`,
headers: {
Authorization: `Bearer ${this.kanban_tool.$auth.api_token}`,
},
})
},
})