with Plasmic 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 Plasmic API enables you to tap into the powerful visual design features of Plasmic within Pipedream workflows. With it, you can automate the fetching, updating, and publishing of Plasmic projects and their components. This opens up possibilities for dynamic content management, design collaboration automation, and streamlined deployment processes. You can use the Plasmic API to integrate with various services, trigger updates across platforms, or synchronize design changes in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plasmic: {
type: "app",
app: "plasmic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://codegen.plasmic.app/api/v1/loader/html/preview/${this.plasmic.$auth.project_id}/{your_component_name}`,
headers: {
"x-plasmic-api-project-tokens": `${this.plasmic.$auth.project_id}:${this.plasmic.$auth.project_token}`,
},
})
},
})
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}`,
},
})
},
})