Nudgify is the Social Proof, FOMO and UX app that adds real-world context to your website in realtime.
Emit new event for every new row added in a table. See documentation here
Emit new event for every insert
, update
, or delete
operation in a table. This source requires user configuration using the Supabase website. More information in the README. Also see documentation here
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,
})
},
})
Supabase is a real-time backend-as-a-service that provides developers with a suite of tools to quickly build and scale their applications. It offers database storage, authentication, instant APIs, and real-time subscriptions. With the Supabase API, you can perform CRUD operations on your database, manage users, and listen to database changes in real time. When integrated with Pipedream, you can automate workflows that react to these database events, synchronize data across multiple services, or streamline user management processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supabase: {
type: "app",
app: "supabase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.supabase.$auth.subdomain}.supabase.co/rest/v1/`,
headers: {
Authorization: `Bearer ${this.supabase.$auth.service_key}`,
"apikey": `${this.supabase.$auth.service_key}`,
},
})
},
})