To send a text when someone submits a Typeform, add a webhook on the form that posts each response to a small handler you run, and have the handler call Ready's POST /v1/messages with the phone number and message. Put a separate SMS consent question in the form, and set consent_attested to true only when the answer is yes.

Typeform and Ready don't have a native connection, so a handler sits between them. It can be a serverless function or a route on a server you already have. The job is short: receive the response, pull out three answers, decide whether texting is allowed, send, and return a 200. This post walks through the form design, the handler, the request, retries and the replies that come back.

What the flow looks like

Here's the path a response takes, from submit to text.

  1. The person fills in the form, including a phone number and a consent question.
  2. Typeform posts the response to your webhook URL.
  3. Your handler checks the signature Typeform provides, reads the answers and checks consent.
  4. If consent is yes, the handler calls POST /v1/messages with a message such as a confirmation.
  5. Replies from the person arrive at an account webhook you set up in Ready.

You need a Ready account with a registered number first, since texting US numbers needs registration. If you haven't looked at it yet, what 10DLC is explains the why. You also need an API key, kept on the server and never in the form or a browser.

If you'd rather not run any code, a no-code step in a tool like Zapier or Make can sit in the middle instead, and our post on connecting SMS to Mailchimp, Typeform, Calendly and Jotform compares those routes. This post is for the version where you own the handler.

Design the form so consent is a real answer

A phone number in a form isn't permission to text it. Treat consent as its own question, not as a side effect of giving a number.

Add a yes or no question directly after the phone field. A few rules for it:

  • Say who will text, what about, how often, and the opt-out. Something like: "Yes, text me updates about my request from Acme. Message frequency varies. Reply STOP to opt out."
  • Don't pre-select yes. The person has to choose it.
  • Make it separate from agreeing to terms or joining an email list.
  • Keep it matched to the message. Consent to appointment updates isn't consent to promotions.

Typeform also lets you require a question, so you can choose whether a no answer blocks submission or just means no text. Blocking is usually the wrong choice: someone who doesn't want texts should still be able to send the form, and you'd email them instead. Let them answer no, and have your handler skip the send.

For wording that holds up, see SMS opt-in message and form examples. Keep a copy of the exact question text and the date you changed it, because the form is your evidence. Ready stores no per-contact consent record: no opt-in time, wording or page URL for a given recipient. The attestation says you did the collecting, and your form and your data prove it.

Don't guess at the Typeform payload

Typeform's webhook sends a JSON body describing the response. The exact shape, including how answers are keyed and how a phone number is represented, is Typeform's to define, and it can differ by question type. Don't copy a payload layout from a blog post, this one included.

Do this instead:

  1. Add your handler URL as a webhook on the form. A request-inspection tool or a local tunnel works while you're building.
  2. Submit the form yourself with a test number and a yes answer, then again with no.
  3. Read the real payloads Typeform sent. Note where the phone answer, the consent answer and the person's name appear.
  4. Write your extraction code against those samples, and keep them as test fixtures.
  5. Check Typeform's webhook documentation for how it signs requests, and verify that signature in the handler.

Our post on testing webhooks locally covers the tunnel step. The extraction function is the one part of the handler that depends on Typeform, so keep it in one place. When someone later edits the form and the structure shifts, you'll know where to look.

The handler, step by step

Here's the shape of the handler in Node. The extraction function is deliberately a stub, because you fill it from your own test payload.

async function onTypeformResponse(request, response) {
  // 1. Verify the request really came from Typeform (see Typeform's docs).
  // 2. Read the answers from your own test payload.
  const { phone, consentedToSms, responseId } = extractAnswers(request.body);

  response.status(200).end();   // acknowledge fast

  if (!consentedToSms) return;  // no consent: no text, nothing to attest

  await fetch("https://api.tryready.com/v1/messages", {
    method: "POST",
    headers: {
      "X-API-Key": process.env.READY_API_KEY,
      "Idempotency-Key": keyFor(responseId),
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      to: phone,
      body: "Acme: thanks, we got your request and will be in touch today. Reply STOP to opt out.",
      consent_attested: true,
    }),
  });
}

Some notes on what's going on.

The to value must be E.164, such as +12125550199. A 10-digit US number is treated as +1, but form fields produce spaces, dashes and parentheses. Normalize the number in extractAnswers before it goes anywhere else. Our post on E.164 formatting for SMS APIs has the patterns. Typeform's own phone question type may help with format, but check what your test payload actually contains.

The consent_attested: true line only runs after the if (!consentedToSms) return check. That ordering is the whole point. If you hard-code the flag and skip the check, the attestation is false.

Acknowledging first and sending after is a choice. Typeform expects a quick answer, and a slow handler can lead to retries from their side. Look at Typeform's documentation for its retry behavior, and make the handler safe to run twice either way.

Make the handler safe to run twice

A webhook sender may deliver the same response more than once. Your handler, a deploy, or a timeout can also run the same code again. Without a guard, the person gets two texts.

Ready accepts an Idempotency-Key header, one UUID per message. Derive that key from something stable about the response, so the same Typeform response always produces the same key. The response's own id in your test payload is a natural source. Hash it into a UUID, or look it up in a small table that stores the UUID created the first time. The method is described in deterministic idempotency keys for SMS.

Reuse a key only to retry a request that got no answer, such as a timeout or a dropped connection, or after a 409 idempotency_in_progress. If Ready returned a 5xx, don't resend under the same key: the 5xx is stored under it and replayed. Check GET /v1/messages, then send again with a new key if the text isn't there. For the full set of cases, read duplicate texts and idempotency.

What the person sees, and what you pay

The first text to a contact carries "Reply STOP to opt out" and the business name, which Ready adds unless the account turns it off. Count those characters if your message sits near the end of a segment. A single segment holds 160 characters, and a longer message splits into 153-character parts, each billed. An emoji drops a segment to 70 characters.

A sent segment costs $0.0075 plus a $0.0045 carrier fee. That all-in rate excludes screening, the extra per-segment charge on the bill when Scrub lists or Number validation are switched on. A confirmation of 120 characters is one segment. A number is $2 a month, and a card on file is required to send.

Quiet hours matter for a form that someone fills in at 11 PM. A text sent through the API is held only if the recipient's window opens within 24 hours. If it doesn't, the API answers 409 with QUIET_HOURS_BLOCK, and your handler sends again once the window opens. Our post on handling the quiet hours 409 shows a retry that waits without hammering the endpoint.

Receive replies

When someone answers the confirmation, you'll want it. Add an account webhook in Ready that points at a second route on your server. Ready posts JSON shaped as {event, timestamp, data}. Pick the inbound-message event when you set it up, and read a real test delivery before you write parsing code.

A few habits keep the receiving route calm:

  • Dedupe on the X-Ready-Event-Id header, which stays the same across retries.
  • Verify X-Signature or X-Ready-Signature-V2 when the webhook has a signing secret, and refuse a timestamp more than 5 minutes off.
  • Return 200 quickly and do the work afterwards.

The webhook reference is at the webhooks docs. A reply that is exactly STOP, UNSUBSCRIBE, CANCEL, END, QUIT or one of the other documented opt-out words opts the contact out in Ready, so the next send to that number is refused. Record the opt-out on your own side too, so the form data doesn't claim consent that's been withdrawn.

Common ways this breaks

SymptomLikely causeFix
No text after a yes answerPhone parsed in the wrong formatNormalize to E.164 before the call
Texts go to people who said noConsent read from the wrong answerPin the consent answer to the question, and test with a no
Two texts for one responseWebhook delivered twice, no idempotencyDerive the key from the response id
Handler stops working after a form editQuestion order or type changedRe-test with a payload and update extractAnswers
409 on a late-night responseQuiet hoursResend when the window opens

None of these is exotic. They all come from treating the form as stable when it's a document people edit.

Before you launch

Run through these once with real submissions: yes with a valid number, yes with a messy number, no, a blank phone, and the same response delivered twice. Then check the messages list with GET /v1/messages to see what went out. Keep health information out of the confirmation, since Ready isn't HIPAA compliant and doesn't sign BAAs. A message like "Your results are ready, please log in" is fine. A diagnosis isn't.

When the form is live, sign up at tryready.com/signup, register your business, and run the handler against your own number first.

Accounts opened before 17:55 UTC on November 12, 2026 keep their signup prices, shown under Billing, and so do the sub-accounts they open.

Frequently asked questions

Does Typeform have a built-in Ready integration?

No. There's no native connection, so the usual route is a Typeform webhook that posts each response to a handler you run, and the handler calls POST /v1/messages. A no-code tool in the middle works too.

What does the Typeform webhook payload look like?

Check a test payload from your own form instead of relying on a description. Submit the form with test answers, read what Typeform sent, and write your extraction code against that. The structure can differ by question type and change when the form is edited.

When should consent_attested be true?

Only when the person answered yes to a clear SMS consent question in the form. If the answer is no or blank, skip the send. Ready doesn't store a per-contact consent record, so keep the form wording and the answer in your own data.

What if Typeform delivers the same response twice?

Send an Idempotency-Key derived from the response id, so the same response always maps to the same key. A repeat then replays the first answer instead of sending a second text.

Can I text people who answered no?

Not by SMS about this request. Use another channel, such as email, and let them answer no without losing the form submission.