with WisePops and Alt Text Generator AI?
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: {
alt_text_generator_ai: {
type: "app",
app: "alt_text_generator_ai",
}
},
async run({steps, $}) {
const data = {
"image": `https://alttextgeneratorai.com/_next/image?url=%2Fhero1.jpg&w=1080&q=75`,
"wpkey": `${this.alt_text_generator_ai.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://alttextgeneratorai.com/api/wp`,
data,
})
},
})