HappyFox Chat is a live chat software to connect, engage and convert customers.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With HappyFox Chat API, you can easily build a powerful chat application for
your website or blog. The API allows you to easily add chat functionality to
your site, and provides a number of features to make your chat experience more
powerful and engaging.
Here are some examples of what you can build with HappyFox Chat API:
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}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})