with Simplesat and Kustomer?
Emit new event when a conversation is created in Kustomer.
Emit new event when a new customer is added to Kustomer.
Emit new event when a new message is created in a conversation.
Emit new event when an existing conversation is updated in Kustomer.
Creates a new conversation in Kustomer. See the documentation
Gets a custom object by external ID in Kustomer. See the documentation
Gets a custom object by ID in Kustomer. See the documentation
The Simplesat API allows you to automate and integrate customer feedback workflows directly with your other business processes. With this API, you can seamlessly gather customer satisfaction ratings, Net Promoter Scores, and firsthand testimonials. You can trigger actions based on feedback, sync data to CRM or support tools, and analyze customer sentiment in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simplesat: {
type: "app",
app: "simplesat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.simplesat.io/api/answers/`,
headers: {
"X-Simplesat-Token": `${this.simplesat.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kustomer: {
type: "app",
app: "kustomer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.kustomer.$auth.subdomain}.api.kustomerapp.com/v1/customers`,
headers: {
Authorization: `Bearer ${this.kustomer.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})