with Reviewflowz and Mailtrap?
Emit new event when a review is published on any of your listings.
Reviewflowz API lets you streamline your product review management process. It helps you capture, monitor, and act on customer feedback from multiple platforms in one place. On Pipedream, you can use this API to automate the gathering and organizing of reviews, notify teams about new feedback, and integrate review data into other tools like CRMs or analytics services, turning reviews into actionable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
reviewflowz: {
type: "app",
app: "reviewflowz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.reviewflowz.com/api/v2/me`,
headers: {
Authorization: `Bearer ${this.reviewflowz.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailtrap: {
type: "app",
app: "mailtrap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://mailtrap.io/api/accounts`,
headers: {
Authorization: `Bearer ${this.mailtrap.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})