with dbt Cloud and CleverReach?
Emit new event when a new subscriber is added to a selected group. See the documentation
Emit new event when a receiver unsubscribes. See the documentation
Retrieve information about an environment. See the documentation
Adds a new subscriber to a mailing list. See the documentation
Retrieve information about a run artifact. See the documentation
Updates the information of an existing subscriber. 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 CleverReach API lets you automate email marketing operations and integrate with your data sources for personalized campaigns. On Pipedream, use this API to craft and manage subscriber lists, send targeted emails, and track campaign performance. With an event-driven platform like Pipedream, you can trigger workflows from numerous sources, manipulate data, and connect CleverReach to other apps to automate complex tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cleverreach: {
type: "app",
app: "cleverreach",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.cleverreach.com/v3/groups.json`,
headers: {
Authorization: `Bearer ${this.cleverreach.$auth.oauth_access_token}`,
},
})
},
})