with Directus and Leadzen.ai?
Fetches detailed LinkedIn profile information based on the provided URL. See the documentation
Fetches the work email of a LinkedIn profile based on the specified URL. See the documentation
Directus is an open-source headless CMS with a rich API that lets you manage content dynamically and distribute it across various channels. Harness Directus API on Pipedream to automate content operations, streamline workflows, and integrate with countless other apps. With real-time capabilities, you can trigger actions on content changes, automate publishing, sync with external databases, and more. Pipedream's serverless platform provides a powerful, flexible way to build custom automations using Directus, without writing complex infrastructural code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
directus: {
type: "app",
app: "directus",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.directus.$auth.api_host}/users/me`,
headers: {
Authorization: `Bearer ${this.directus.$auth.access_token}`,
},
})
},
})
Leadzen.ai is an API designed to enhance lead management and marketing automation. It allows users to dynamically score, segment, and nurture leads based on various criteria and interactions. By integrating Leadzen.ai with Pipedream, users can automate complex workflows, sync data across multiple platforms, and trigger actions based on lead behavior in real-time. This integration enables marketers to refine their engagement strategies, personalize communications more effectively, and drive sales conversions more efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leadzen_ai: {
type: "app",
app: "leadzen_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.leadzen.ai/api/credits`,
headers: {
Authorization: `Bearer ${this.leadzen_ai.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})