🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Vonage SMS Premium Add-on Setup Guide

Updated 8 min read Gravity Forms Notifications & Email
On this page
  1. Video walkthrough
  2. What you need
  3. Step 1: install and activate
  4. Step 2: connect your Vonage account
  5. Step 3: add a text message to a form
  6. Send to
  7. Sender
  8. Message
  9. Characters, parts and cost
  10. Conditional logic
  11. What happens after the form is submitted
  12. Use with payments and other add-ons
  13. For developers
  14. Privacy and security
  15. Troubleshooting
  16. Questions
  17. Do I pay GravityExtra for the messages?
  18. Can I send to a number that is chosen by the visitor?
  19. Does it work with Gravity Forms conditional logic on the fields?
  20. Can the admin number change by form?
  21. Does the add-on work with other SMS add-ons?

Video walkthrough

Gravity Forms Vonage SMS Add-On Setup Guide: API Key, Sender & Feeds (WordPress Side)
Video setup guide: Gravity Forms Vonage SMS Watch on YouTube

The Gravity Forms Vonage SMS Premium Add-on sends a text message through your own Vonage account every time a Gravity Forms form is submitted. You choose who gets the message (an admin number, the person who filled in the form, or both), you write the text with merge tags, and conditional logic decides when each message goes out. This guide walks through the setup, every setting, what the add-on writes to the entry, and what it does when something goes wrong.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • A Vonage account with an API key and an API secret (both are shown in your Vonage dashboard) and credit to send. Vonage bills you for every message part; GravityExtra is not involved in sending or billing.
  • A GravityExtra license key for this add-on.

Messages are sent from your server straight to the Vonage SMS API. The add-on follows the Vonage SMS API reference at developer.vonage.com/en/api/sms (the page does not publish a version number; it was read on 23 October 2026): one request per recipient, sent with HTTP Basic authentication, and Vonage answers with a status for each message part.

Step 1: install and activate

  1. Upload and activate the add-on in Plugins.
  2. Open Forms → Settings → Vonage SMS.
  3. Enter your license key and press Activate License. Without an active license nothing is sent; the entry is still saved and a note tells you why.

Step 2: connect your Vonage account

On the same settings screen, fill in the Your Vonage account box.

  • API key: the key from your Vonage dashboard.
  • API secret: the secret from the dashboard. It is encrypted with AES-256-GCM before it is saved, using a key made from your site’s own security salts, and it is never shown again. To keep the saved secret, leave the field blank when you save; to replace it, type the new one. If your server has no OpenSSL with AES-256-GCM the secret is not saved at all (it is never stored in clear text); define GEVS_API_SECRET in wp-config.php instead.
  • Sender: the name or number the text appears to come from. Use up to 11 letters and digits (for example your shop name) or a Vonage number of up to 15 digits. Some countries accept only a registered sender, so check the rules of the country you send to.
  • Default country code: digits only, for example 1 or 44. It is added to numbers that were typed without a country code. A number that starts with a plus sign or 00 is used as it is.
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 3: add a text message to a form

  1. Open the form and go to Settings → Vonage SMS.
  2. Press Add New.
  3. Give the feed a name that tells you what it does, for example Admin alert.
  4. Choose who gets the message, write the text, set the conditions, and save.

A form can have as many feeds as you like. Each one is a separate message with its own recipients, text and conditions. Switch a feed off in the list when you do not need it.

Send to

  • Admin number(s): type one or more numbers separated by commas, with the country code, for example +14155550100, +442079460958. The box accepts merge tags, so a form with a Department drop-down can route the message to a number stored in a hidden field.
  • The person who submits the form: choose the form field that holds their mobile number. A Phone field is the best choice, a single line text field also works.

Numbers can be typed the way people type them: with spaces, dashes and brackets, with a plus sign, with 00, or with a local leading zero (the default country code is used for that). A number that is clearly not valid, such as one with fewer than seven digits, is skipped, and a note on the entry says so. The same number is never sent the same message twice in one feed. A feed sends to at most 10 numbers; developers can change that with a filter.

Sender

Leave this blank to use the sender from the settings, or enter a different one for this feed, for example the name of the department that is texting the customer.

Message

Write the text as you would write an e-mail subject. Use the merge tag button on the right to add what the visitor typed, for example Hi {Name (First):1.3}, thanks for booking the {Plan:4} plan. All Gravity Forms merge tags work, including {entry_id}, {form_title}, {admin_email} and the tags of other add-ons. The message is plain text: tags are removed, line breaks are kept, and the text is cut at 1,000 characters.

Characters, parts and cost

A text that only uses the standard GSM alphabet (English letters, digits, common punctuation and the usual Western accents) is sent as a normal message of up to 160 characters, or in parts of 153 characters when it is longer. As soon as the text contains a character outside that alphabet, such as Vietnamese letters with several marks, Cyrillic, Greek, Arabic, Chinese or an emoji, the add-on sends it as unicode, which fits only 70 characters in one part or 67 in each longer part. The type is chosen for you for every message. Vonage charges by part, so a short message costs less.

Conditional logic

Turn on Enable Condition and build the rules with the same screen Gravity Forms uses for notifications. The message is sent only when the rules match: only for the Premium plan, only when Country is Germany, only when the Urgent box is ticked, only when the amount is above a limit. The condition is checked when the entry is submitted, using the answers of that entry.

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.

What happens after the form is submitted

Gravity Forms runs every active feed of the form whose condition matches. For each recipient the add-on makes one request to Vonage and writes a note on the entry.

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.
  • Sent: the note says Vonage SMS sent to a masked number (only the last four digits are shown), how many parts, and the Vonage message id. The id is what you search for in your Vonage dashboard.
  • Refused by Vonage: the note shows the status and the text Vonage gave, for example Partner quota exceeded when the account has no credit left.
  • No answer or a server error: the note shows the HTTP code or the connection problem. The entry itself is always saved, and the visitor never sees an error.
  • Sent only once: after a successful send the add-on marks the entry for that feed, so running the feed again (a re-processed entry, a payment add-on that delays feeds) does not send a second text.

Several things are deliberately not done: the add-on does not retry a failed text (a delayed text with old information is worse than a note you can act on), it does not read delivery receipts, and it does not receive replies.

Use with payments and other add-ons

The feeds follow the Gravity Forms add-on framework, so an add-on that delays feeds until a payment is complete (a payment gateway) also delays the text message. A text that confirms an order is then sent only for paid orders. If you want a different behaviour, use the conditional logic on a payment status field.

For developers

  • gfvonagesms_message (filter): the final text, before it is sent. Arguments: the text, the feed, the entry and the form.
  • gfvonagesms_recipients (filter): the final list of numbers in international format without a plus sign.
  • gfvonagesms_max_recipients and gfvonagesms_max_length (filters): the limits of 10 numbers per feed and 1,000 characters per message.
  • gfvonagesms_request_args (filter): the arguments of the HTTP request, for example a longer timeout. They contain the credentials, so do not log them.
  • GEVS_API_SECRET (constant in wp-config.php): the API secret, used instead of the stored one.

Privacy and security

The only outside service the add-on contacts is the Vonage SMS API, and only to send the messages you configured. The numbers and the text you send are given to Vonage, so mention it in your privacy policy and ask for consent when you text visitors. The add-on stores no copy of a number: entries already hold what the visitor typed. Notes show masked numbers. The secret is encrypted at rest, settings can be changed only by users who may edit Gravity Forms settings, and requests use HTTPS with certificate checking on.

Troubleshooting

  • Nothing is sent: check the license is active, the API key and secret are saved, the feed is switched on, and the entry notes. Every reason is written there.
  • Status 2 or 4: Vonage did not accept the key, secret or sender. Copy them again from the dashboard.
  • Status 9: the Vonage account has no credit.
  • The text arrives with a different sender: the destination country replaces unregistered names. Register the sender with Vonage or use a Vonage number.
  • The visitor typed a local number: set the default country code in the settings.
  • The text is cut: the limit is 1,000 characters; shorten the text or use a filter to raise it.

Questions

Do I pay GravityExtra for the messages?

No. The messages are billed by Vonage to your own account. The add-on is a one-time purchase with a license for updates and support.

Can I send to a number that is chosen by the visitor?

Yes. Choose the phone field of the form in Send to the person who submits the form. The field is read when the form is submitted.

Does it work with Gravity Forms conditional logic on the fields?

Yes, and independently of it. The feed condition looks at the answers of the entry, and a field that was hidden by conditional logic counts as empty.

Can the admin number change by form?

Yes, every feed has its own admin numbers, and the box accepts merge tags.

Does the add-on work with other SMS add-ons?

Yes. They are independent. You can keep another gateway for some forms and use Vonage for others.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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