with Moxie and Fakturoid?
The Moxie API provides tools to facilitate customer engagement through chat and messaging services. With this API, you can integrate real-time chat capabilities, manage conversations, and leverage customer data to provide personalized support. On Pipedream, you can use the Moxie API to create automated workflows that respond to events in Moxie, such as new messages or chat engagements, and connect them with other services to enhance customer support, automate responses, and streamline communication processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
moxie: {
type: "app",
app: "moxie",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.moxie.$auth.base_url}action/clients/list`,
headers: {
"X-API-KEY": `${this.moxie.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fakturoid: {
type: "app",
app: "fakturoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.fakturoid.cz/api/v3/user.json`,
headers: {
Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
},
})
},
})