← Bandwidth

New Incoming SMS from Bandwidth API

Pipedream makes it easy to connect APIs for Bandwidth and 900+ other apps remarkably fast.

Trigger workflow on
New Incoming SMS from the Bandwidth API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Trigger a workflow on New Incoming SMS with Bandwidth API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Incoming SMS trigger
    1. Connect your Bandwidth account
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New Incoming SMS from Bandwidth.com API
Bandwidth + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Incoming SMS from Bandwidth.com API
Bandwidth + Google Sheets
 
Try it
Get Film with SWAPI API on New Incoming SMS from Bandwidth.com API
Bandwidth + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Incoming SMS from Bandwidth.com API
Bandwidth + Airtable
 
Try it
Custom Request with HTTP / Webhook API on New Incoming SMS from Bandwidth.com API
Bandwidth + HTTP / Webhook
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

New Incoming SMS on Bandwidth
Description:Emits an event each time a `message-received` event is received at the source url
Version:1.1.0
Key:bandwidth-new-incoming-sms

Code

const bandwidth = require("../../bandwidth.app");

module.exports = {
  name: "New Incoming SMS",
  description: "Emits an event each time a `message-received` event is received at the source url",
  key: "bandwidth-new-incoming-sms",
  version: "1.1.0",
  props: {
    bandwidth,
    http: {
      type: "$.interface.http",
      customResponse: true,
    },
  },

  async run(event) {
    const messageBody = event.body[0];
    this.http.respond({
      status: 204,
    });

    if (messageBody.message.direction == "in") {
      this.$emit(messageBody, {
        summary: "Message Received",
        id: messageBody.message.id,
        ts: +new Date(messageBody.time),
      });
    }
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
BandwidthbandwidthappThis component uses the Bandwidth app.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.

Authentication

Bandwidth uses API keys for authentication. When you connect your Bandwidth account, Pipedream securely stores the keys so you can easily authenticate to Bandwidth APIs in both code and no-code steps.

Bandwidth.com requires the user's username:password pair to be encoded as part of the header. (docs)
The accountId is used as part of the url to make API requests. Ex: https://dashboard.bandwidth.com/api/accounts/{accountId}/

About Bandwidth

Enterprise Grade Voice, Messaging, and 911 Access

More Ways to Use Bandwidth

Triggers

New Outgoing SMS from the Bandwidth API

Emits an event each time an outbound message status event is received at the source url

 
Try it

Actions

Send SMS with the Bandwidth API

Send an SMS message using Bandwidth's Messaging API

 
Try it