← UltraMsg

Send a Message with UltraMsg API

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

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Send a Message 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

Create a workflow to Send a Message with the UltraMsg API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Send a Message action
    1. Connect your UltraMsg account
    2. Select a To
    3. Configure Body
    4. Select a priority
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send a Message with UltraMsg API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + UltraMsg
 
Try it
Send a Message with UltraMsg API on New Item in Feed from RSS API
RSS + UltraMsg
 
Try it
Send a Message with UltraMsg API on New Message from Discord API
Discord + UltraMsg
 
Try it
Send a Message with UltraMsg API on New Message In Channels from Slack API
Slack + UltraMsg
 
Try it
Send a Message with UltraMsg API on New Message in Channel from Discord Bot API
Discord Bot + UltraMsg
 
Try it

Details

This is a pre-built, source-available 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.

Send a Message on UltraMsg
Description:Send a message to a specified number. [See the docs here](https://docs.ultramsg.com/api/post/messages/chat)
Version:0.0.1
Key:ultramsg-send-message

Code

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

export default {
  name: "Send a Message",
  description: "Send a message to a specified number. [See the docs here](https://docs.ultramsg.com/api/post/messages/chat)",
  key: "ultramsg-send-message",
  version: "0.0.1",
  type: "action",
  props: {
    ultramsg,
    to: {
      propDefinition: [
        ultramsg,
        "to",
      ],
    },
    body: {
      type: "string",
      label: "Body",
      description: "Message content",
    },
    priority: {
      type: "integer",
      label: "priority",
      description: "Priority on internal queue of your message",
      default: 10,
      options: options.priorities,
    },
  },
  async run({ $ }) {
    const {
      to,
      body,
      priority,
    } = this;

    const data = {
      to,
      body,
      priority,
    };
    const res = await this.ultramsg.sendMessage(data, $);
    $.export("$summary", `Message successfully sent to "${to}"`);

    return res;
  },
};

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
UltraMsgultramsgappThis component uses the UltraMsg app.
TotostringSelect a value from the drop down menu.
Bodybodystring

Message content

prioritypriorityintegerSelect a value from the drop down menu:{ "label": "0: for High priority like OTP messages.", "value": 0 }{ "label": "5: used with general messages.", "value": 5 }{ "label": "10: Non-urgent promotional offers and notifications to your customers", "value": 10 }

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 Use UltraMsg

Actions

Send a Document with the UltraMsg API

Send a document to a specified number. See the docs here

 
Try it
Send a Link with the UltraMsg API

Send a link to a specified number. See the docs here

 
Try it
Send a Location with the UltraMsg API

Send a location to a specified number. See the docs here

 
Try it
Send a Video with the UltraMsg API

Send a video to a specified number. See the docs here

 
Try it
Send an Image with the UltraMsg API

Send an image to a specified number. See the docs here

 
Try it