Hash Form Pro

Send texts with Twilio

Send a text message through Twilio when a form is submitted. Pick a number on your Twilio account to send from, and the field that holds the number to text.

Hash Form + Twilio

Set in each form

  • Enable Twilio
  • Twilio Phone Number
  • To
  • Message
  • Account SID and Auth Token
    The two settings in the Twilio module’s popup.
  • Your Twilio numbers
    Pick the sending number from the numbers on your Twilio account.
  • Country codes kept
    Numbers written with + or 00 keep their own country code.
What you get

What you can do with Twilio

Numbers from Twilio

The Twilio Phone Number menu is filled from the phone numbers on your Twilio account.

A sender per form

Each form picks its own sending number, so different forms can text from different numbers.

Recipient from a field

The To menu lists your form’s fields, except Email fields. The number entered there gets the text.

International numbers

A number starting with + or 00 keeps its country code. Without one, +1 is added and a leading 0 dropped.

Empty answers skipped

No text is sent when the number field is empty or holds no digits.

Failed sends flagged

If Twilio refuses a text, the error is logged and shown in an admin notice.
How it works

Set up Twilio in three steps

01

Turn on Twilio

Under Hash Form > Modules, switch on Twilio SMS and click Save.

02

Add SID and token

Click the cog, enter your Twilio Account SID and Twilio Auth Token, and click Save Settings.

03

Choose the numbers

In the form’s Settings tab, open Plus Extra, turn on Enable Twilio, pick a Twilio Phone Number and the To field, and write the Message.

FAQ

Questions, answered

Still wondering about Twilio? The documentation covers every setting, and we are happy to help.

Do I need a Twilio phone number?

Yes. Texts are sent from a number on your Twilio account, chosen in each form. Without one, no text is sent.

Can I text numbers outside the US?

Yes, when the number is entered with + or 00 and its country code. Numbers without one get +1, which a developer can change with the hashform_twilio_default_country_code filter.

Where do I find my Account SID and Auth Token?

The links under both fields in the popup open your Twilio console.

Connect Twilio with Hash Form Pro

Every integration is included in every Pro plan, on a yearly subscription or a lifetime license.