To send a text from Power Automate, add an HTTP action to your flow, point it at your SMS provider's REST endpoint, put the API key in a header and build the JSON body from the trigger's dynamic content. There's no custom connector to publish and no code to host. If a flow can reach a URL, it can send a text.

We make Ready, so the example below uses the Ready messaging API and only the request shape we document. The same steps work with any provider that takes a JSON POST. The parts that need care aren't the call itself: they're where the key lives, what happens when the action retries, and which flows should be texting people at all.

What you need first

Four things before the first run:

  1. An API key. Ready reads it from an X-API-Key header.
  2. A card and a number on the account. The number is $2 a month. To build the flow first, create a test key (Settings, Developers, Environment: Test). It simulates every send with no card, number or charge, so you can run the flow end to end and swap in the live key later.
  3. A Power Automate plan that includes the HTTP action. It's a premium connector, so check your licence before you build around it.
  4. Recipients who agreed to texts. Each request carries consent_attested: true, which is your promise that the person opted in. Only set it when it's true for that flow.

An account can send up to 500 texts a calendar month until its 10DLC registration is approved, and every text is charged from the first one. Most approvals take 2 to 7 days, so register early. Our 10DLC explainer covers why carriers ask for it.

Build the HTTP action

Pick a trigger first. Common ones are a new row in a list, a form response, a Dataverse record change or a scheduled recurrence. Then add an HTTP action and fill it in like this:

FieldValue
MethodPOST
URIhttps://api.tryready.com/v1/messages
HeadersX-API-Key: your key, Content-Type: application/json, Idempotency-Key: see below
Bodythe JSON below

The body uses dynamic content for the number and the message. Here's the shape, with expressions where the trigger's fields go:

{
  "to": "@{triggerOutputs()?['body/Phone']}",
  "body": "Hi @{triggerOutputs()?['body/FirstName']}, your appointment is confirmed for Friday at 2 PM.",
  "consent_attested": true
}

to must be a phone number in E.164 format, like +12125550199. A 10-digit US number is treated as +1, but a value with spaces, dashes or a leading zero from a free-text form field is a common reason a flow fails. Clean it first, or read our guide to E.164 formatting.

The field names above (Phone, FirstName) are examples. Yours come from your own list or table.

Keep the key out of run history

Power Automate stores each run's inputs and outputs, and anyone with access to the flow's history can read them. Two habits help:

  • Open the HTTP action's settings and turn on Secure Inputs and Secure Outputs, so the header value doesn't show in run history.
  • Don't paste the key into the action at all if you can avoid it. Keep it in an environment variable of the secret type or in a vault your tenant already uses, and read it into the header from there.

If a key ever does end up where it shouldn't, rotate it. Our key security and rotation post has the steps.

Make retries safe with an idempotency key

The HTTP action has a retry policy, and by default it retries certain failures on its own. That's helpful when a network blips and harmful when the first attempt actually went through. Without protection, the contact gets two identical texts.

The fix is an Idempotency-Key header. Ready treats a repeated key as the same send, so a retry returns the original result instead of texting again. The key should be stable across retries of one logical message and different for every new message.

Inside a flow, a good key is built from something that identifies the business event, not from a value regenerated on each attempt. A few choices:

  • The trigger item's ID, plus a label for the message: concat('confirm-', triggerOutputs()?['body/ID'])
  • The flow run name for a one-off message: workflow()?['run']?['name']
  • A hash of the contact and the appointment time, if you have no ID

Our post on deterministic idempotency keys goes deeper on why a stable key beats a random one.

Handle what comes back

After the HTTP action, add a Condition on the action's status code. Treat the outcomes in three buckets:

ResultWhat to do
2xxThe text was accepted. Log the response if you want a record.
429 or a timeoutLet the retry policy run. The idempotency key makes it safe.
Other 4xxDon't retry. Something about the request or the recipient is wrong. Notify an owner.

A refused text, such as one to a number that has opted out, isn't a transient error, so the same call will fail again. Route it to a person or a log, not to a retry loop. The error codes in the docs list what each response means.

One more case worth knowing: API texts sent during a recipient's quiet hours may be held or refused with a 409, depending on how soon the window opens. If your flow texts late at night, read how to handle the quiet-hours 409 before you design around it.

Which flows should send texts

Power Automate makes it easy to wire a text to almost anything, so decide on purpose. These are good fits:

  • Appointment confirmations triggered by a booking row
  • A heads-up when an approval request is waiting
  • Internal alerts to on-call staff when a monitored list changes
  • Order or delivery status updates from a line-of-business app

These are poor fits: sending a promotion to a list from a recurrence trigger, or texting people who never agreed to hear from you. Marketing-style sends need registration, opt-out handling and a consent record that lives somewhere you control. Ready stores the sender's attestation per API send, but it doesn't keep a per-contact opt-in record for you, so your form or CRM has to.

What it costs

Each segment on the Standard rate is $0.0075 plus a $0.0045 carrier fee. As an example, a flow that sends 200 one-segment confirmations in a month costs 200 × ($0.0075 + $0.0045) = $2.40, plus the $2 monthly number. That all-in figure doesn't include screening, the optional Scrub lists and Number validation switches, which are off by default and add $0.003 per segment each when you turn them on. Segments are metered, not messages: a text over 160 characters, or one with an emoji, splits into more. See pricing for the full list.

Ready's all-in prices per segment include the carrier fee but not screening: Scrub lists and Number validation, the two switches in Settings under Compliance, each add $0.003 per segment when switched on, shown as screening on your bill, and both are off by default. Unless you turn the opt-out footer off, the first text to each contact, and one again from time to time, also gets "Reply STOP to opt out" and your business name if the message does not already have them, so a text close to the segment limit can bill one more segment.

Accounts opened before November 12, 2026 keep their signup prices, shown under Billing.

The short version

One trigger, one HTTP action, a secured header, a stable idempotency key and a condition on the status code. That's a working text flow in about ten minutes. If you want to try the request by hand before you build the flow, the curl guide shows the raw call, and the API quickstart walks through a first send. When you're ready to go live, you can start texting today.