with Yotpo - Loyalty & Referrals and Eventbrite?
Get event attendees for a specified event. See the documentation
Get event summary for a specified event. See the documentation
Get a list of event orders placed by the authenticated user. See the documentation
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 Eventbrite API offers a powerful way to create, manage, and attend events programmatically. With Pipedream, you can leverage this API to automate a swath of tasks such as syncing attendee data, updating events in real-time, and connecting Eventbrite to other apps to streamline event workflows. By employing Pipedream's serverless platform, you can engineer intricate automations that respond to event triggers (like new event creation or ticket purchase) and conduct actions across your software stack without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
eventbrite: {
type: "app",
app: "eventbrite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.eventbriteapi.com/v3/users/me/`,
headers: {
Authorization: `Bearer ${this.eventbrite.$auth.oauth_access_token}`,
},
})
},
})