with Scalr and Judge.me?
Emit new event when a new review is posted. See the documentation
Create a private reply for a review, on behalf of the shop. Private replies are not shown on the widgets, but can be emailed to the reviewers. See the documentation
Create a public reply for a review on behalf of the shop. Public replies are shown publicly on the widgets. See the documentation
The Scalr API enables programmatic interaction with Scalr's infrastructure management and automation capabilities. On Pipedream, you can harness this API to create diverse workflows that automate cloud resource provisioning, management, and monitoring. These workflows can trigger on various events and integrate with other services to streamline your DevOps processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scalr: {
type: "app",
app: "scalr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apidirectories.scalr.io/api/iacp/v3/users`,
headers: {
Authorization: `Bearer ${this.scalr.$auth.api_token}`,
"Prefer": `profile=preview`,
"Accept": `application/vnd.api+json`,
},
})
},
})
The Judge.me API lets you tap into a rich repository of product review data, enabling you to automate the gathering, moderation, and publication of reviews on your store. You can also trigger actions based on review events, like thanking a customer after they leave a positive review or addressing negative feedback promptly. With Pipedream's serverless platform, you can craft workflows to interact with other apps, streamline processes, and react to review-related activities in real-time, without writing any backend code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
judge_me: {
type: "app",
app: "judge_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://judge.me/api/v1/reviews`,
params: {
api_token: `${this.judge_me.$auth.oauth_access_token}`,
shop_domain: `${this.judge_me.$auth.shop_domain}`,
},
})
},
})