Outbound Cloud Contact Center Software.
Create and update contacts or add events to contacts. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
regal: {
type: "app",
app: "regal",
}
},
async run({steps, $}) {
const data = {
"userId": "testing",
"traits": {
"phones": {
"+19545552399": {}
},
"firstName": "Rebecca",
"lastName": "Greene"
},
"eventSource": "crm"
}
return await axios($, {
method: "post",
url: `https://events.regalvoice.com/events`,
headers: {
"Authorization": `${this.regal.$auth.api_key}`,
},
data,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.