Nudgify is the Social Proof, FOMO and UX app that adds real-world context to your website in realtime.
The Nudgify API lets you create and manage social proof notifications, aimed at increasing user engagement and conversions on your website. By leveraging this API on Pipedream, you can automate the interaction with Nudgify notifications and integrate them into your site's workflow. This could include creating notifications based on user behavior, updating them in real-time as data changes, or deleting them once they're no longer needed. The Pipedream platform simplifies the process of working with the Nudgify API by handling authentication, providing a code-free interface for setting up workflows, and enabling connections with numerous other apps for extended functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nudgify: {
type: "app",
app: "nudgify",
}
},
async run({steps, $}) {
const data = {
"site_key": `${this.nudgify.$auth.site_key}`,
"conversions": [{
"date":"2021-04-15 04:29:42",
"email":"john0941034@gmail.com",
"first_name":"John",
"last_name":"Mendes",
"ip":"92.21.8.106",
"city":"Houston",
"state":"Texas",
"country":"US"
}],
}
return await axios($, {
method: "POST",
url: `https://app.nudgify.com/api/conversions`,
headers: {
Authorization: `Bearer ${this.nudgify.$auth.api_key}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
The Klaviyo API grants you the power to automate and personalize your email marketing efforts. With it, you can manage lists, profiles, and campaigns, track event-driven communications, and analyze the results. By leveraging this API on Pipedream, you can create intricate, automated workflows that respond in real-time to your users' behavior, sync data across multiple platforms, and tailor your marketing strategies to improve engagement and conversion rates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klaviyo: {
type: "app",
app: "klaviyo",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://a.klaviyo.com/api/accounts/`,
headers: {
"Authorization": `Klaviyo-API-Key ${this.klaviyo.$auth.api_key}`,
"revision": `2023-12-15`,
},
})
},
})