with WisePops and Lead Identity Check?
The WisePops API unlocks potent possibilities for automating pop-up and banners management on your website. By integrating WisePops with Pipedream, you can streamline workflows such as syncing lead data to CRM platforms, personalizing visitor engagement based on real-time analytics, and dynamically updating marketing campaigns. The API's ability to fetch, update, create, and delete pop-ups enables developers to orchestrate sophisticated marketing automation that reacts to customer behavior and data-driven insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wisepops: {
type: "app",
app: "wisepops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.wisepops.com/api2/contacts`,
headers: {
"Authorization": `WISEPOPS-API key="${this.wisepops.$auth.api_key}"`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lead_identity_check: {
type: "app",
app: "lead_identity_check",
}
},
async run({steps, $}) {
const data = {
"Firstname": `Sergio`,
"Lastname": `Wong`,
"Email": `sergio@pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://leadidentitycheck-node.vercel.app/main/lic/v1`,
headers: {
" x-lic-key": `${this.lead_identity_check.$auth.api_key}`,
"filterkey": `${this.lead_identity_check.$auth.filter_key}`,
},
data,
})
},
})