with SyncMate by Assitro and ServiceNow?
Send multiple WhatsApp messages in bulk. See the documentation
Send a single WhatsApp message using SyncMate by Assistro. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
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,
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})