Trigger workflows on an interval or cron schedule.
Adds a new contact to a list in the Octopush SMS Gateway. See the documentation
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.
The Octopush SMS API lets you programmatically send text messages, providing a powerful way to reach out to customers directly on their phones. With Pipedream, you can create workflows that trigger SMS sending via Octopush based on various events, streamlining communication processes. You could use this API to send alerts, reminders, verification codes, or marketing messages, and integrate with other apps to respond to emails, form submissions, or updates in a CRM.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octopush_sms: {
type: "app",
app: "octopush_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.octopush.com/v1/public/wallet/check-balance`,
headers: {
"Content-Type": `application/json`,
"api-login": `${this.octopush_sms.$auth.api_login}`,
"api-key": `${this.octopush_sms.$auth.api_key}`,
},
})
},
})