with LearnWorlds and HelloLeads?
Adds a new lead into the HelloLeads system. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
learnworlds: {
type: "app",
app: "learnworlds",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.learnworlds.$auth.school_domain}/admin/api/v2/users`,
headers: {
Authorization: `Bearer ${this.learnworlds.$auth.oauth_access_token}`,
"Lw-Client": `${this.learnworlds.$auth.oauth_client_id}`,
},
})
},
})
The HelloLeads API integrates with Pipedream to automate your lead management processes. By leveraging this API on Pipedream, you can streamline contact syncing, lead tracking, and perform actions based on lead status changes. With serverless workflows, you can connect HelloLeads with various apps like CRMs, communication platforms, or data analysis tools to enhance lead engagement, follow-up efficiency, and data-driven decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
helloleads: {
type: "app",
app: "helloleads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.helloleads.io/index.php/private/api/leads`,
headers: {
"hls-key": `token=${this.helloleads.$auth.api_key}`,
"Xemail": `${this.helloleads.$auth.email}`,
"Content-Type": `application/json`,
},
})
},
})