Communication APIs for SMS, Voice, Video and Authentication
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
MSG91 API offers a powerful platform for integrating SMS solutions into a variety of applications, enabling automated and personalized communication. With Pipedream, MSG91's API can be woven into workflows to send notifications, verify users with OTPs, and engage customers with marketing campaigns. Pipedream's no-code connectors and serverless execution model simplify the process of setting up MSG91-powered automations that can interact with countless other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
msg91: {
type: "app",
app: "msg91",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.msg91.com/api/validate.php?authkey=${this.msg91.$auth.authkey}`,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})