🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 23, 2026

How to Send an SMS From Gravity Forms With Your Own Vonage Account

GravityExtra
How to Send an SMS From Gravity Forms With Your Own Vonage Account

A form entry that nobody sees for three hours is a lost lead. E-mail notifications get buried, and a customer who has just booked a visit wants to know now that the booking worked. A text message is read within minutes. This guide shows how to send a text message from Gravity Forms through your own Vonage account, to your team and to the person who filled in the form, with the message text built from merge tags and with conditional logic that decides who gets what. It uses the Gravity Forms Vonage SMS Premium Add-on and needs no code.

Why send a text message from a form

E-mail is still the right place for long messages, but three situations call for a text. The first is urgency: a new lead, a booking request or a support form that should reach a person at once. The second is confirmation: the visitor wants proof that the form went through, and a short text with their name and the plan they chose says it better than a thank you page they already closed. The third is reach: some audiences simply do not read e-mail, and a reminder to a mobile number is the only message they see.

Gravity Forms has an official text message add-on, but it works with one gateway only. If your business already has a Vonage account, with the numbers, the registered sender and the prices you negotiated, you want the form to use it, not to open a second account somewhere else. That is the gap this add-on fills.

What you need before you start

  • A Vonage account with an API key, an API secret and some credit. Both are in the Vonage dashboard.
  • Gravity Forms 2.9 or newer.
  • A mobile phone field in your form if you want to text the visitor. A Phone field is best.
  • The consent of the people you text. Add a line to the form that says the number will be used for a text message, and keep a record of it.

Step 1: connect Vonage once

Install the add-on, open Forms → Settings → Vonage SMS, activate your license, and enter the API key and the API secret. The secret is encrypted before it is saved and is never shown again, so a database export or a backup does not hold it in clear text. Add the sender (up to 11 letters and digits, or a Vonage number) and the default country code of your customers, for example 44 for the United Kingdom, so that a visitor who types a local number with a leading zero still gets the message.

The Vonage SMS settings screen in Gravity Forms: the license box, the API key, the encrypted API secret field, the sender and the default country code
The add-on settings: your own Vonage key and secret, a sender and a default country code.

Step 2: text your team when a form arrives

Open the form, go to Settings → Vonage SMS and add a feed called Admin alert. Tick Admin number(s) and type the numbers of the people who should know, separated by commas. Then write the message with merge tags. For a booking form, something like this works well: New booking from {Name (First):1.3} {Name (Last):1.6}, plan {Plan:4}. The merge tag button next to the box lists every field of the form.

Keep the text short. A text with only standard letters and digits fits 160 characters in one part. Vonage charges by part, so a message that stays inside one part is the cheapest, and the first words are what shows on a locked phone screen. Put the thing that matters, the name and the reason, at the start.

Step 3: confirm to the visitor

Add a second feed called Customer confirmation. Tick The person who submits the form and choose the mobile phone field. Write a friendly text: Hi {Name (First):1.3}, thanks for booking. We will text you the time. The add-on cleans the number for Vonage: spaces, dashes, brackets, a plus sign, a double zero or a local zero are all fine, and a number that cannot be right is skipped and noted on the entry instead of failing the whole form.

You can use a different sender for this feed. The team might get the text from an internal name, while customers see your shop name.

Step 4: decide who gets which text with conditional logic

Not every submission deserves every message. Turn on Enable Condition in a feed and build the rule with the same screen Gravity Forms uses for notifications. Here are rules that work well in practice.

  • Send the customer confirmation only when the Plan field is Premium, and send Starter customers an e-mail only.
  • Send the admin alert only when the Urgent box is ticked, or only when the amount is over a limit.
  • Send a message to the sales manager for one country and to another manager for another country, with one feed for each, each with its own condition.
  • Send a different language of the same message by testing a Language field.
The Vonage SMS feed editor: send to the submitter, the phone field, a sender, the message with merge tags and conditional logic that sends only for the Premium plan
A feed: who gets the text, what it says, and the condition that decides when it is sent.

The condition looks at the answers of the entry. Several rules can be combined with all or any, so a message can go out only when the plan is Premium and the country is Germany, or when either of two boxes is ticked.

Step 5: check what was sent

Every text leaves a note on the entry. The note says Vonage SMS sent to a masked number (only the last four digits show), how many parts it used, and the Vonage message id, which is what you look for in the Vonage dashboard if a customer says the text never arrived. If Vonage refuses a message, for example because the account has run out of credit, the note carries the status and the reason, and the entry is saved anyway. The visitor never sees an error.

A Gravity Forms entry screen with three notes that say Vonage SMS sent to a masked number with the number of parts and the message id
Every text is written to the entry as a note, with the number masked.

The add-on also protects you from double texts. After a successful send it marks the entry for that feed, so re-processing an entry, or a payment add-on that delays feeds until the payment is complete, does not send the same text twice. And because payment add-ons delay feeds, a confirmation text for an order is sent only for orders that were paid.

Characters, languages and cost

A text that only uses the standard GSM alphabet is a normal message. As soon as one character is outside it, an emoji, a Cyrillic or Greek letter, a Vietnamese letter with a second mark, the whole message is sent as unicode, and a single part holds only 70 characters instead of 160. The add-on picks the right type for every message by itself. If your messages are in a language that needs unicode, keep them short, and consider the cost of the longer parts in your Vonage price list.

A complete example: a studio visit booking form

Here is how the pieces fit on a simple booking form with a name, a mobile phone, an e-mail, a plan and a note. Three feeds cover everything. The first, Admin alert, goes to two numbers at the studio and always sends: it says who booked, which plan and what the note says. The second, Customer confirmation, goes to the visitor from the sender Northwind and is conditional: it is sent only when the plan is Premium, because Premium customers were promised a text with the time of the visit. The third sends a short unicode message to the visitor and the studio only when the note contains a given word, for example a request in another language.

A Premium visitor who enters a local number such as (415) 555-0199 triggers three messages: one to each studio number and one to the visitor, with the number completed using the default country code. A Starter visitor triggers only the two admin messages. The entry then shows one note for each text, so the person who opens the entry can see exactly what went out, to which ending of number, and with which Vonage message id.

Good practice for texting visitors

  • Say in the form that you will text, and get consent. Many countries require it by law.
  • Use a sender your customers recognise, and register it where the country requires it.
  • Do not put anything private in the text. A phone can be read by anyone who holds it.
  • Test with your own number first. Send one test submission and read the note on the entry.
  • Watch your Vonage balance. A text that cannot be sent is noted on the entry, but it is still not delivered.

What it does not do

The add-on sends messages. It does not read delivery receipts, receive replies, send a text on a schedule, or verify a number with a code. Keeping it small is what makes it dependable: one submission, one clear note for each text.

Questions

Do I need a developer to set it up?

No. Everything is in two screens: the add-on settings for your Vonage account and the feed settings of each form. Developers can use filters to change the message or the recipients.

Is my Vonage secret safe?

The secret is encrypted with AES-256-GCM using a key made from your site’s security salts, and it is never shown in the settings again. You can also keep it out of the database completely by defining it in wp-config.php.

Who pays for the messages?

You do, to Vonage, at your own price. The add-on never sends anything through GravityExtra.

What happens if Vonage is down?

The entry is saved, the visitor sees the normal confirmation, and a note on the entry shows what went wrong. The add-on does not retry on its own, so you can decide what to do with the lead.

Which Gravity Forms versions does it support?

Gravity Forms 2.9 and newer. It is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.

Get started

The Gravity Forms Vonage SMS Premium Add-on sends a text from your own Vonage account for every submission, to your team, to the visitor or to both, with merge tags and conditional logic. See the features, the price and the setup guide on the add-on page.

See the Vonage SMS add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr