Yotpo is an eCommerce marketing platform with the most advanced solutions for customer reviews, visual marketing, loyalty, referrals, and SMS marketing.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With Yotpo’s Reviews & Ratings API, you can create applications to make it
easier than ever to connect your customers to your products. This comprehensive
API allows you to access, display, manage, and analyze all your reviews,
ratings and customer interactions, including user-generated content across
websites, in-app and mobile experiences. With Yotpo’s Reviews & Ratings API,
you can:
Examples of applications or experiences that can be built using the Yotpo
Reviews & Ratings API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yotpo: {
type: "app",
app: "yotpo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://developers.yotpo.com/v2/${this.yotpo.$auth.app_key}/orders?access_token=${this.yotpo.$auth.oauth_access_token}`,
headers: {
Authorization: `Bearer ${this.yotpo.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})