Business Phone, VoIP, Communication APIs, Contact Center
import { Vonage } from '@vonage/server-sdk';
export default defineComponent({
props: {
vonage: {
type: "app",
app: "vonage",
}
},
async run({ steps, $ }) {
const vonage = new Vonage({
apiKey: this.vonage.$auth.api_key,
apiSecret: this.vonage.$auth.api_secret
});
const from = "Vonage APIs"
const to = this.vonage.$auth.phone_number
const text = 'A text message sent using the Vonage SMS API'
return await vonage.sms.send({ to, from, text });
},
})
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.