with Kommo and Fivetran?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kommo: {
type: "app",
app: "kommo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.kommo.$auth.subdomain}.kommo.com/api/v4/account`,
headers: {
Authorization: `Bearer ${this.kommo.$auth.oauth_access_token}`,
},
})
},
})
The Fivetran API enables automated, effortless replication of data from various sources into a cloud warehouse. By leveraging Fivetran in Pipedream, you can programmatically manage your Fivetran connectors, set up and control data pipelines, and trigger data syncs. Pipedream's serverless platform allows for the creation of workflows that can respond to HTTP requests, process events on a schedule, and interact with numerous other services to create complex automation solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fivetran: {
type: "app",
app: "fivetran",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fivetran.com/v1/users`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.fivetran.$auth.api_key}`,
password: `${this.fivetran.$auth.api_secret}`,
},
})
},
})