with Airbrake and SyncMate by Assitro?
Send multiple WhatsApp messages in bulk. See the documentation
Send a single WhatsApp message using SyncMate by Assistro. See the documentation
The Airbrake API facilitates real-time error monitoring and automatic exception reporting for your web applications, giving you instant insight into issues as they arise. With this API, you can create custom notifications, analyze and aggregate error data, and manage your project's error trends. Leveraging Pipedream's capabilities, you can automate workflows that respond to these errors, connect with other services for enhanced issue resolution, and maintain a smooth operation within your development and production environments.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airbrake: {
type: "app",
app: "airbrake",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airbrake.io/api/v4/projects`,
params: {
key: `${this.airbrake.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
syncmate_by_assitro: {
type: "app",
app: "syncmate_by_assitro",
}
},
async run({steps, $}) {
const data = {
"msgs": [
{
"number": 14159371662, //Your whatsapp number with country code
"message": "This is a test via Pipedream and SyncMate by Assitro integration."
}
]
}
return await axios($, {
method: "post",
url: `https://app.assistro.co/api/v1/wapushplus/single/message`,
headers: {
Authorization: `Bearer ${this.syncmate_by_assitro.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})