bookmark_borderCreating a Feed for the Twilio Add-On

Once you have successfully configured your Twilio API settings within the Twilio add-on for Gravity Forms, the next step is to create a feed. Simply put, a feed allows your site to communicate with Twilio and tells it what data to transmit. In this article, we will show you how to create a feed for the Twilio add-on with just a few simple steps.

  1. First, log into your WordPress admin dashboard.
  2. twilio-feed-1Once logged in, click on Forms on the left side admin menu.
  3. twilio-feed-2You should now see a list of your forms. Simply click on the form that you want to create a feed for.
  4. twilio-feed-3From the form management page, hover over Form Settings and click on Twilio.
  5. twilio-feed-4On the feeds page, click Add New.
  6. twilio-feed-5You should now be presented with your feed settings page with various fields to configure. The first of these is the Names field. In this field, simply enter a name for your feed. It can be anything you want it to be, as long as it is unique.
  7. twilio-feed-6Next, the From Number dropdown will list any phone numbers that you have available within your Twilio account. Many users will only have a single number here to select, but if you have multiple numbers, simply select the number that you would like to use for sending notifications.
  8. twilio-feed-7Within the To Number field, you will simply enter the phone number that you would like notifications sent to. Be sure to include your fully numerical 10-digit phone number, including the area code.
  9. twilio-feed-8Now, we’re down to the main part of the notifications, the message itself. Within the Message field, you may use merge tags to dynamically generate your notification message. To review the available merge tags, you may simply click on the icon to the right of the field. To display all fields, you may use the {all_fields} merge tag.
  10. twilio-feed-9Lastly, is the option to shorten URLs using Bitly. If this option is selected, all URLs will be shortened. To use this option, you will need to configure Bitly support within the Twilio add-on.
  11. Once your desired changes are made, click the Update Settings button.

Congratulations, you have now configured a feed for the Twilio add-on. Now that a feed is configured, form submissions will now contact the Twilio API to send notifications to your mobile device.