with Air and WhatConverts?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
air: {
type: "app",
app: "air",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.air.inc/v1/assets`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.air.$auth.api_key}`,
"x-air-workspace-id": `${this.air.$auth.workspace_id}`,
},
})
},
})
The WhatConverts API allows you to track, manage, and report on leads and conversions from various marketing channels. With this API, you can automate the ingestion of lead data into your CRM, generate custom reports, and receive real-time alerts for new leads. When you implement this API within Pipedream, you can create powerful, serverless workflows that respond to events in WhatConverts, or trigger actions based on data from other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatconverts: {
type: "app",
app: "whatconverts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.whatconverts.com/api/v1/leads`,
auth: {
username: `${this.whatconverts.$auth.api_token}`,
password: `${this.whatconverts.$auth.api_secret}`,
},
})
},
})