with Dixa and Kustomer?
Emit new event when a conversation is created in Kustomer.
Emit new event when a conversation is created in Dixa. See the documentation
Emit new event when a new customer is added to Kustomer.
Emit new events when the status of a conversation changes (e.g., open, closed, or abandoned). See the documentation
Emit new event when a new message is created in a conversation.
Adds a message to an existing conversation. See the documentation
Creates a new conversation in Kustomer. See the documentation
Creates a new email or contact form-based conversation. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dixa: {
type: "app",
app: "dixa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev.dixa.io/v1/agents`,
headers: {
"authorization": `${this.dixa.$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`,
},
})
},
})