dbt is an intuitive, collaborative platform that lets you reliably transform data using SQL and Python code.
Exposes an HTTP API for scheduling messages to be emitted at a future time
Emit new event based on a time interval before an upcoming event in the calendar. This source uses Pipedream's Task Scheduler. See the documentation for more information and instructions for connecting your Pipedream account.
Emit new event at a specified time before a card is due.
Retrieve information about an environment. See the documentation
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`,
},
})
},
})
Pipedream is an API that allows you to build applications that can connect to
various data sources and processes them in real-time. You can use Pipedream to
create applications that can perform ETL (Extract, Transform, and Load) tasks,
as well as to create data-driven workflows.
Some examples of applications you can build using the Pipedream API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pipedream: {
type: "app",
app: "pipedream",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pipedream.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.pipedream.$auth.api_key}`,
},
})
},
})