MessageBird

A communications platform building a world where talking with a business is as easy and natural as talking to a friend.

Integrate the MessageBird API with the Bash API

Setup the MessageBird API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate MessageBird and Bash remarkably fast. Free for developers.

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of MessageBird

The MessageBird API on Pipedream allows you to automate communications by sending messages, making voice calls, and verifying phone numbers. With Pipedream's serverless platform, you can trigger workflows that integrate MessageBird with hundreds of other apps to engage customers, streamline notifications, and improve verification processes. Create custom alert systems, chatbots, or multi-factor authentication (MFA) mechanisms by leveraging the API's capabilities within Pipedream's seamless integration environment.

Connect MessageBird

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    messagebird: {
      type: "app",
      app: "messagebird",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://rest.messagebird.com/balance`,
      headers: {
        "Authorization": `AccessKey ${this.messagebird.$auth.api_key}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS