with Waboxapp and agentOS?
The Waboxapp API is a powerful tool allowing enhanced interaction with WhatsApp, enabling automated messages, and message monitoring. With this API on Pipedream, you can create sophisticated workflows that send alerts, synchronize with customer service platforms, or even trigger events in other apps based on received WhatsApp messages. By leveraging serverless execution, these automations can run on-demand or on a schedule without the need for dedicated infrastructure.
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agentos: {
type: "app",
app: "agentos",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://live-api.letmc.com/v4/appointments/${this.agentos.$auth.short_name}/company/branches/0/1000`,
params: {
api_key: `${this.agentos.$auth.api_key}`,
},
})
},
})