with Yotpo - Loyalty & Referrals and Junip?
The Yotpo - Loyalty & Referrals API unlocks the potential to craft custom loyalty and referral programs by integrating with your tech stack through Pipedream. With this API, you can manage rewards, referrals, and customer loyalty data in real-time. Automate the process of rewarding customers for their engagement, track referral sources, and analyze program effectiveness directly through Pipedream's serverless platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yotpo_loyalty_referrals: {
type: "app",
app: "yotpo_loyalty_referrals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://loyalty.yotpo.com/api/v2/campaigns`,
headers: {
"Content-Type": `application/json`,
"x-guid": `${this.yotpo_loyalty_referrals.$auth.guid}`,
"x-api-key": `${this.yotpo_loyalty_referrals.$auth.api_key}`,
},
})
},
})
The Junip API provides a powerful way to integrate customer reviews and testimonials into your business workflow. By leveraging the Junip API on Pipedream, you can automate the collection, moderation, and publication of customer feedback, ensuring your potential clients see the most relevant and influential reviews. It's a boon for businesses looking to enhance their social proof and build trust with their audience through automated, real-time review management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
junip: {
type: "app",
app: "junip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.juniphq.com/v1/stores`,
headers: {
"Junip-Store-Key": `${this.junip.$auth.store_key}`,
},
})
},
})