with Pusher and ClickSend SMS?
Emit new event for each new incoming SMS message received. See the documentation
Emit new event when a new voice message is received or sent. See the documentation
Creates a new contact in a specific list. See the documentation
Sends a new MMS to one or multiple recipients. See the documentation
Sends a new SMS to one or several recipients. See the documentation
The Pusher API offers real-time communication capabilities for apps, enabling instant data delivery. With Pipedream, you can harness these features to create dynamic, real-time workflows that react to events, update clients immediately, and synchronize data across users and systems. It's perfect for powering live dashboards, instant notifications, chat applications, and any scenario where you need to push updates quickly and efficiently. Pipedream's serverless platform empowers you to build and run workflows that leverage Pusher's APIs without managing any infrastructure.
module.exports = defineComponent({
props: {
pusher: {
type: "app",
app: "pusher",
}
},
async run({steps, $}) {
const Pusher = require('pusher')
const { appId, key, secret, cluster } = this.pusher.$auth
const pusher = new Pusher({
appId,
key,
secret,
cluster,
useTLS: true
})
await pusher.trigger('my-channel', 'my-event', {
"message": "hello world"
})
},
})
The ClickSend SMS API unlocks the potential to integrate robust messaging capabilities into your workflows. With Pipedream, you can not only send SMS messages programmatically but also automate notifications, streamline communication based on events, and much more. Whether you're confirming orders, alerting staff, or engaging with customers, ClickSend and Pipedream make these tasks seamless.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clicksend: {
type: "app",
app: "clicksend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.clicksend.com/v3/account`,
auth: {
username: `${this.clicksend.$auth.username}`,
password: `${this.clicksend.$auth.api_key}`,
},
})
},
})