Using Twilio Addon - Integrate Twilio addon to send sms with contact form
The Send SMS with Twilio feature from the Redirection for Contact Form 7 (available in the Enterprise plan) enables users to automatically send SMSs from form submissions.
Twilio website settings
First, you need to log in to your Twilio account from this page - console.twilio.com and ensure that you have a phone number created to send SMS. To verify you have an active number, you can go to Phone Numbers > Manage > Active Number.
After you have verified that you have an active phone number, you can go to the homepage on console.twilio.com, and scroll down to find information that can be used to integrate your connection with our add-on, such as Account SID and Auth Token.
How to install it
- Download the Redirection For Contact Form 7 Extension - Send sms with twilio plugin from your purchase history.
- Install the plugin on your site.
Need help installing a plugin? Check this doc for step-by-step details.
- In your WordPress dashboard, navigate to CF7 Redirection > Dashboard > Licenses and activate the license. ( The license is also available in your purchase history ).
How to use it
- Edit the C7 contact form of your choice.
- Navigate to the Actions tab.
- Click on the Add Action button and choose the Sens Sms with Twilio action.
- Enter your Twilio Account SID and API Key(Auth Token) and click on the Validate Connection button.
- If everything is OK, you should see three new fields:
To: The mobile number you wish to send the SMS to, you can add multiple mobile numbers by adding commas. Please ensure that all phone numbers are added with the correct country code.
From: The Twilio Number you have registered in your Twilio dashboard.
SMS content: The message that you wish to send to each contact from the form submission.
- You will be able to see all of the messages sent under your Twilio console dashboard by going to Monitor > Logs > Messaging