← HTTP / Webhook + UltraMsg integrations

Send Audio with UltraMsg API on New Requests (Payload Only) from HTTP / Webhook API

Pipedream makes it easy to connect APIs for UltraMsg, HTTP / Webhook and 1000+ other apps remarkably fast.

Trigger workflow on
New Requests (Payload Only) from the HTTP / Webhook API
Next, do this
Send Audio with the UltraMsg API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a HTTP / Webhook trigger and UltraMsg action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Requests (Payload Only) trigger
    1. Connect your HTTP / Webhook account
  3. Configure the Send Audio action
    1. Connect your UltraMsg account
    2. Select a To
    3. Configure Audio
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are 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.

Trigger

Description:Get a URL and emit the HTTP body as an event on every request
Version:0.1.1
Key:http-new-requests-payload-only

Trigger Code

import http from "../../http.app.mjs";

// Core HTTP component
// Returns a 200 OK response, emits the HTTP payload as an event
export default {
  key: "http-new-requests-payload-only",
  name: "New Requests (Payload Only)",
  // eslint-disable-next-line
  description: "Get a URL and emit the HTTP body as an event on every request",
  version: "0.1.1",
  type: "source",
  props: {
    // eslint-disable-next-line
    httpInterface: {
      type: "$.interface.http",
      customResponse: true,
    },
    http,
  },
  async run(event) {
    const { body } = event;
    this.httpInterface.respond({
      status: 200,
      body,
    });
    // Emit the HTTP payload
    this.$emit({
      body,
    });
  },
};

Trigger 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
N/AhttpInterface$.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.
HTTP / WebhookhttpappThis component uses the HTTP / Webhook app.

Trigger Authentication

The HTTP / Webhook API does not require authentication.

About HTTP / Webhook

Get a unique URL where you can send HTTP or webhook requests

Action

Description:Send an audio file to a specified number. [See the docs here](https://docs.ultramsg.com/api/post/messages/audio)
Version:0.0.1
Key:ultramsg-send-audio

UltraMsg Overview

Using UltraMsg API, you can build powerful messaging applications quickly and
easily. This API allows developers to quickly implement communication solutions
such as chat, messaging, voice & video calls, presence, notifications, and data
publishing/subscribing. With the UltraMsg API, it's easier than ever to add
robust features to your app.

These are some of the features you can achieve with UltraMsg API:

  • Secure messaging, voice & video calls and group management
  • Presence, group management, and notifications
  • Easy data publishing and subscribing
  • Support for custom messages and rich message formats
  • Message delivery and delivery notifications
  • Reliable, secure and efficient delivery of messages
  • Device-agnostic messaging including web, mobile, and desktop
  • Easy integration with existing services
  • Robust user and identity management

Below are some example applications that you can build using the UltraMsg API:

  • Chat applications
  • Video conferencing and collaboration
  • Mobile messaging and notifications
  • Gaming platforms and chat lobbies
  • IoT and sensor data streaming
  • Enterprise notification systems
  • Inter-application communication
  • Real-time analytics and data collection

Action Code

import ultramsg from "../../ultramsg.app.mjs";

export default {
  name: "Send Audio",
  description: "Send an audio file to a specified number. [See the docs here](https://docs.ultramsg.com/api/post/messages/audio)",
  key: "ultramsg-send-audio",
  version: "0.0.1",
  type: "action",
  props: {
    ultramsg,
    to: {
      propDefinition: [
        ultramsg,
        "to",
      ],
    },
    audio: {
      type: "string",
      label: "Audio",
      description: "Public URL of your audio file",
    },
  },
  async run({ $ }) {
    const {
      to,
      audio,
    } = this;

    const data = {
      to,
      audio,
    };
    const res = await this.ultramsg.sendAudio(data, $);
    $.export("$summary", `Audio successfully sent to "${to}"`);

    return res;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
UltraMsgultramsgappThis component uses the UltraMsg app.
TotostringSelect a value from the drop down menu.
Audioaudiostring

Public URL of your audio file

Action Authentication

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

To connect your UltraMsg account with Pipedream, get your Instance Id and Token on the Instances page within your UltraMsg account.

About UltraMsg

Ultramsg is a WhatsApp API provider and a gateway for working with messages.

More Ways to Connect UltraMsg + HTTP / Webhook

Send Audio with UltraMsg API on New Requests from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
Send a Document with UltraMsg API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
Send a Document with UltraMsg API on New Requests from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
Send an Image with UltraMsg API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
Send an Image with UltraMsg API on New Requests from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send POST Request with the HTTP / Webhook API

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send PUT Request with the HTTP / Webhook API

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Return HTTP Response with the HTTP / Webhook API

Use with an HTTP Source that uses Return a custom response from your workflow as its HTTP Response

 
Try it