with ADP 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 ADP API provides access to a breadth of payroll and human capital management services. With Pipedream, you can automate workflows that bridge the gap between ADP and other apps, streamlining your HR processes. By leveraging Pipedream's serverless platform, you can orchestrate data flows, synchronize employee information, manage payroll events, and react to changes in ADP data in real-time without writing extensive code.
import { axios } from "@pipedream/platform"
import https from "https"
export default defineComponent({
props: {
adp: {
type: "app",
app: "adp",
}
},
async run({steps, $}) {
const httpsAgent = new https.Agent({
cert: this.adp.$auth.crt_file,
key: this.adp.$auth.key_file,
})
return await axios($, {
url: `${this.adp.$auth.environment}api.adp.com/hr/v2/workers`,
headers: {
Authorization: `Bearer ${this.adp.$auth.oauth_access_token}`,
},
httpsAgent: httpsAgent
})
},
})
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,
})
},
})