Yotpo is an eCommerce marketing platform with the most advanced solutions for customer reviews, visual marketing, loyalty, referrals, and SMS marketing.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Yotpo - Reviews & Ratings API empowers businesses to leverage customer feedback by managing and utilizing user-generated content. With this API, you can programmatically fetch reviews, respond to customer feedback, and analyze sentiment to improve products and services. Integrating it with Pipedream allows for automation of these tasks, streamlining the process of collecting and acting on customer insights.
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}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}