How to Get an SMS Text Message From Your Joomla Form
- by Naveen Kumar
- on Tutorials
Do you want to get Text SMS alert when any Form submitted on your Joomla website? You can get this done with the help of Twilio app for Zapier. You can connect your Joomla Form with Zapier and connect Zapier with Twilio.
In this tutorial, we will learn how to connect Zapier with Joomla form and Twilio.
Creating Joomla Form
Let me tell you that SMS alerts on form submission are not possible with the standard Joomla contact forms.
So you have to install the Convert Forms Joomla extension.
Install Convert Forms
Convert Forms is a leading Joomla Contact form extension which is also available with the free version. But this feature is not possible with Free version, so I will suggest you get Convert Forms at €19.
If you have already the pro version you can continue to install the extension. Install it and follow the below given steps.
Create a Form with Convert Forms
Once installed successfully, the next step is to create a Joomla Form with Convert Forms. Here is a step by step guide on how to create a form with Convert Forms.
Connecting Your Joomla Form With Zapier
To send direct Text SMS on form submission, you need to connect your Joomla Form with an SMS app like Twilio. But before that, you need to integrate Zapier with your Convert Forms so the process can be smooth.
Integrate Zapier with Convert Forms
To integrate Zapier with Convert Forms you will need to create an API secret key so Zapier can authenticate with your Joomla Form.
Here you can find detailed documentation on how to integrate Zapier with Convert Forms
Setting Up Actions on Zapier to Send Text SMS
.Now, you have to set up the action when Zapier will receive a lead in your Convert Forms App. If you are from the UK or US, you can simply use the SMS app from the action apps and if you are from the outside from UK or US, you can use Twilio App.
So here I am going to use Twilio App.
So simply choose Twilio from Action Apps
Now, it's time to set up Twilio actions. We need to send Text SMS when someone submits the Joomla Form. on your website. So we will choose to Send SMS (it also offer Call Phone feature as well.)
Choose Send SMS and click on Save + Continue button.
Creating And Connecting Twilio Account
If you don't have a Twilio account, please create a free account. You will need to connect Twilio Account with Zapier by entering its Account SID and Auth Token.
To find the Account SID and Auth Token, navigate to Console > Settings > API Credentials
Copy all the required details (Account SID & Auth Token) and paste them in Zapier. At last click on Yes, Continue button. The popup will be closed.
After allowing access, select Save + Continue.
As soon as you click on Save + Continue button, you will be redirected to Set up Twilio SMS screen where you will need a From Number and a To Number. To get these numbers,
go back to Twilio Console and click the # tab in the left panel. > Active Numbers > Get Started.
Now, click on Get your first Twilio phone number. As soon you click on the button, a popup with your number will be displayed on your screen. Here you can search for another number or choose the number by clicking on Choose This Number button.
Now, again back to your Zapier account and start setting up Twilio SMS for form submission.
From Number - In this field, simply add the number you have got from Twilio. You can choose this number from the drop down as well.
To Number - In this field, you have to add the number on which you want to receive the alert.
Message - Here you can specify the form fields i.e. Name, email, message etc. In short, you can create a template for the message.
And after submitting all the required information, click on Continue.
Test the Twilio Integration
You are almost done with the integration and setting up SMS alert for Joomla Form.
But I will suggest you test the configuration before leaving the page.
When you have clicked on Continue button in the previous step, you will be redirected to Test Twilio screen.
You can simply click on the Send Test to Twilio button.
Oh, I got an error. Thank god, I have tested it.
I forgot to add the country code in To number. So keep in mind to always add country code while entering the number.
I have tested again after adding the country code and test was successful.
The Final Step
Now, you are done with testing and configuring the Zapier with Convert Forms and Twilio with Zapier.
Now, in the last step, you have to turn on your Zap.
Once it is turned on, you will be notified by an SMS when you will have an entry on your Joomla form.
This is how you can get an SMS alert message from your Joomla from when someone submits the form.