How to send a WhatsApp message when an Elementor form submission is received

blog

27 Dec 2022

4393

In this article, I will show you how to send a WhatsApp message when an Wordpress Elementor form submission is received. Elementator is a popular wordpress plugin for website page & form builder. BotSailor can be used to capture Elementor form submission data & send WhatsApp message to the submitter.

 

 

You can create a contact form on Elementor and integrate it with BotSailor to send WhatsApp messages instantly.

 

 

 

You can create any kind of form and send a WhatsApp message when you receive the form submission.

 

 

How to create a Message Template for WhatsApp by BotSailor

 

In the message template, you have to use a template variable called message.

 

Now you have to create a Webhook Workflow. To create a Webhook Workflow, follow the instructions below:

 

 

     

  1. Click on the Webhook Workflow menu in the left sidebar of the dashboard
  2.  

  3. Now click on the create button to create a Webhook workflow.
  4.  

  5. Provide a name in the Workflow name field.
  6.  

  7. Select the WhatsApp account from where you want to send the message. 
  8.  

  9. Then select the message template you have created. 
  10.  

  11. Now click on the Create workflow button.
  12.  

 

 

 

 

 

 

 

 

     

  • Now copy the Webhook URL. You have to use the Webhook callback URL in the Eliminator form.
  •  

 

 

     

  1.  Go to the WordPress admin dashboard. 
  2.  

  3. Select the Elementor -> select the Getting Started button.
  4.  

  5. Click on Create Your First Page button.
  6.  

 

 

 

     

  • On the Elementor page, drag the form component and drop it on the editor. 
  •  

 

 

     

  • Instantly, a form will appear with three fields – name, email, and message– and a send button.
  •  

  • You have to turn the Email field into a phone number field.
  •  

 

 

     

  1. In the type, select number option.
  2.  

  3. In the Label field, write "phone number".
  4.  

  5. In the Placeholder field, write "phone number" .
  6.  

 

 

     

  • Now, go to the form’s actions after submit. 
  •  

  • On the add action, select Webhook.
  •  

 

 

     

  • Then click on Webhook. And instantly, a webhook URL form will appear. 
  •  

  • And you have to paste the webhook URL that you have copied in the BotSailor.
  •  

  • Then click on the publish button.
  •  

 

 

 

 

 

 

     

  • Put your name in the name field.
  •  

  • Put your phone number in the phone number field.
  •  

  • Then write a message in the message field.
  •  

 

 

 

 

 

 

     

  • It may take a while to capture the data. 
  •  

  • After a few moments, you will get the sample data.
  •  

 

 

     

  1. Now, you have to configure the Webhook Response Mapping
  2.  

  3. In the phone number field, select the phone number
  4.  

  5. In the user name field, select Name
  6.  

  7. In the message field, select a message
  8.  

 

 

 

 

     

  • Fill out the Elementor form again and click on the send button.
  •  

 

 

 

 

 

 

Thank you for reading the article.

Share This Post
author
Written by

Kamrul Hasan

➢  more from this author

Comments (0)