with HappyFox Chat and Sinch?
Emit new event when a new fax is received. See the documentation
Emit new event when a new message is received. See the documentation
The HappyFox Chat API equips you with the capability to enhance customer support interactions by automating chat-related tasks, extracting chat data for analysis, and connecting chat events with other business tools. By leveraging this API with Pipedream's serverless platform, you can create powerful workflows that respond to chat events in real-time, synchronize chat data across platforms, and augment your support system with advanced features like dynamic responses or customer satisfaction analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
happyfox_chat: {
type: "app",
app: "happyfox_chat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.happyfoxchat.com/v1/agents`,
headers: {
Authorization: `Bearer ${this.happyfox_chat.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sinch: {
type: "app",
app: "sinch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.sinch.$auth.region}.conversation.api.sinch.com/v1/projects/${this.sinch.$auth.project_id}/contacts`,
headers: {
Authorization: `Bearer ${this.sinch.$auth.oauth_access_token}`,
},
})
},
})