How to send SMS message when notifier is sent?

  • creshjho
    Asked on February 13, 2017 at 7:56 AM

    Hi I would like to know. Is is possible for the person submitting the form to receive a sms saying thank you.

    The  form already has mobile number field. I just need some idea on how can he receive an sms if he clicks on submit button on the form.

     

    Thank You for your help.

    Email: asif@cre-me.com

  • Nik_C
    Replied on February 13, 2017 at 10:05 AM

    You can achieve that by using the Webhooks integration: https://www.jotform.com/help/245-How-to-Setup-a-Webhook-with-JotForm

    And here is how to send instant notifications by using Webhooks: https://www.jotform.com/blog/85-Send-Instant-Submission-Notifications-with-Webhooks

    PHP script examples (2nd example is the SMS) https://www.jotform.com/help/248-Webhook-PHP-Script-Examples

    Hope it helps.

    If you have any further questions do not hesitate to contact us.

    Thank you!

  • creshjho
    Replied on February 14, 2017 at 3:46 AM

    I have created a web hook url
    http://www.cre-me.com/webhook.php
    after this I am lost. Should I create that page on my website.
    Also my main intension is to send Thank You as a text sms to the client who submits the form and who has mobile number entered in the form.

    Thanks & Regards,
    Asif Shaikh Mohammed

  • Nik_C
    Replied on February 14, 2017 at 5:22 AM

    Hello Asif,

    I tried to open your PHP file but I couldn't:

    How to send SMS message when notifier is sent? Image 1 Screenshot 20

    Basically, you have to create a PHP page and store it on your own server, then that file's URL you put in Webhooks integration. What is also important is that you have to place your SMS service provider API information in that PHP script. It would help if you share from which form you want to send the SMS and the PHP file you created.

    We'll wait for your response.

    Thank you!

     

  • creshjho
    Replied on February 14, 2017 at 8:23 AM

    The jot form link and php page is below:

    I am in uae so which sms api would be perfect for this.

     

    Also I need form to take the mobile number submitted  and than sms him or her the text sms.

    https://form.jotform.me/70383413714452

    http://cre-me.com/webhook/

     

  • AIDAN
    Replied on February 14, 2017 at 11:15 AM

    Hi,

    Although I cannot examine the PHP code that you are using, I can point you to the Webhook PHP script examples guide that my colleague mentioned: https://www.jotform.com/help/248-Webhook-PHP-Script-Examples where there is a section named "2. SMS Notification - Send SMS after form submission using your SMS Provider's API." with an example in it.

    If you need further assistance please let us know. We will be happy to help. Thank you.