with Starloop and Zenventory?
This source triggers when a new profile is created in Starloop.
Emit new event when a new customer order is created.
Emit new event when a new purchase order is created.
Returns your business id and a list of all profile id’s and names. See the documentation
Creates a new recipient and sends a Starloop invite (Email | SMS | both) to your customer to leave a review. See the documentation
The Starloop API provides a pathway to streamline customer feedback management by allowing the automation of review requests, monitoring of multiple review sites, and analysis of customer sentiment. With Pipedream, you can craft serverless workflows that leverage these capabilities, integrating Starloop's functionalities with other apps and services to amplify your customer relationship strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
starloop: {
type: "app",
app: "starloop",
}
},
async run({steps, $}) {
const data = {
"token": `${this.starloop.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://go.starloop.com/api/list_ids`,
headers: {
"Content-Type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zenventory: {
type: "app",
app: "zenventory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.zenventory.com/rest/inventory/items`,
auth: {
username: `${this.zenventory.$auth.api_key}`,
password: `${this.zenventory.$auth.api_secret}`,
},
})
},
})