with Dolibarr and Esendex?
Emit new event when a new message is received. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dolibarr: {
type: "app",
app: "dolibarr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.dolibarr.$auth.domain}/api/index.php/users/info`,
headers: {
"accept": `application/json`,
"dolapikey": `${this.dolibarr.$auth.api_key}`,
},
})
},
})
The Esendex API enables seamless SMS and voice messaging integration into your applications, allowing for automated communication with customers or systems. On Pipedream, you can harness this API to create serverless workflows that react to various triggers, from inbound messages to scheduled times, and interact with other services to provide a cohesive automation experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
esendex: {
type: "app",
app: "esendex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.esendex.com/v1.0/accounts`,
auth: {
username: `${this.esendex.$auth.username}`,
password: `${this.esendex.$auth.api_password}`,
},
})
},
})