API for WhatsApp and WhatsApp Business
Building a two-way chatbot application is now easy and enjoyable thanks to the
Waboxapp API. With its simple and straightforward API, developers and
businesses can create a powerful bot that communicates effortlessly with
customers, automatically providing support, information and more.
The API can be used to build a wide range of applications, such as:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
waboxapp: {
type: "app",
app: "waboxapp",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://www.waboxapp.com/api/status/[UID]`,
params: {
token: `${this.waboxapp.$auth.api_token}`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})