API platform for calls, customer service, two-factor authentication and notifications.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
With the MessageBird API, you can build a variety of applications and
integrations that allow you to send and receive SMS messages. Here are some
examples of what you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
message_bird: {
type: "app",
app: "message_bird",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.messagebird.com/balance`,
headers: {
"Authorization": `AccessKey ${this.message_bird.$auth.access_key}`,
},
})
},
})
// 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
},
})