Yotpo is an eCommerce marketing platform with the most advanced solutions for customer reviews, visual marketing, loyalty, referrals, and SMS marketing.
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go 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}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}