Okay
  Public Ticket #3701668
Question about Sms and Whatsapp notification
Closed

Comments

  • Audrey Mertens started the conversation

    Question SMS notification :

    I would like to activate appointment reminders via sms the day before an appointment as many customers forget. The customer should be able to cancel or reschedule the appointment via a link received in the SMS reminder.
    - Is this possible?
    - The SMS is sent from my phone number and is linked to my mobile phone subscription? How does it work?
    - For this to work, I need to include the phone number as a mandatory field in the Amelia form before payment. 
    - Can I decide which service to link to the SMS notification or will all services be linked by default?

    WhatsApp notification question:
    - Do I pay for each notification or is it free?
    - For this to work, I need to include the phone number as a mandatory field in the form before payment. And the customer must have Whatsapp I imagine?
    - Can I decide which service to link to the whatsapp notification or will all services be linked by default?

    Payment:
    - Is it possible to link two services to two different bank accounts? I manage one of the services and my colleague manages the other. We'd like to be autonomous and each collect the amount or deposit for the service we provide.

    Thanks you for your answers

  •  1,564
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    When you have several questions or issues please open a new seperate ticket for each question, and we will help you there. In that way, issues and questions that are related to different subjects will be in separate tickets so other customers or our support agents can find them easily. 

    Our policy is to have one issue or question per ticket because of the reasons that are described already.

    Thank you for understanding. 

    1. I would like to activate appointment reminders via sms the day before an appointment as many customers forget. The customer should be able to cancel or reschedule the appointment via a link received in the SMS reminder. - Is this possible? - Yes, and no, reminder notifications can be sent and for that you need to reach out to your hostimung provider so that they can set this up on your server. 

    They can not schedule via notifications for that they must use customer panel

    2. The SMS is sent from my phone number and is linked to my mobile phone subscription? - No, you are sending notifications from our Twillio account but you can set the alpha sender so that it shows that si coming from you

    3. How does it work? - For this to work, I need to include the phone number as a mandatory field in the Amelia form before payment.  - You can set phone fields as mandatory in customize section like this

    1867891850.png


    4. Can I decide which service to link to the SMS notification or will all services be linked by default? - You can create specific notifications for each service like this

    2394580559.png

    5. WhatsApp notification question: - Do I pay for each notification or is it free? - WhatApp is free app so there is no charge from our side

    6. For this to work, I need to include the phone number as a mandatory field in the form before payment. And the customer must have Whatsapp I imagine? - Yes, of course they have have WhatsApp and you can see above hoce you can set phone field as mandatory 

    7. Can I decide which service to link to the whatsapp notification or will all services be linked by default? - Yes, same as for SMS

    5325903483.png

    8. Payment: - Is it possible to link two services to two different bank accounts? I manage one of the services and my colleague manages the other. We'd like to be autonomous and each collect the amount or deposit for the service we provide. - You can achieve this using Stripe connect you can read moe about it on this link https://wpamelia.com/stripe-connect/

    Should you have any further inquiries or if you need to reply to any of these questions please open a separate ticket copy paste it from here and send it to us in separate ticket, and we will gladly help you there.

    Our policy is to have one issue or question per ticket.

    We wish you all the best and hope you have a wonderful day ahead. 

    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Audrey Mertens replied

    Hello Marko,

    Thank you for your response. I apologize for opening a ticket with multiple questions; I won’t do that in the future. Below are a few more questions related to the answers you just provided:

    • What exactly should I tell my hosting provider so they can configure the "appointment reminder notifications" via email, SMS, and WhatsApp?
    • What is the cost of sending "appointment reminder notifications" via SMS in Belgium?
    • How will I be informed when my SMS credits are depleted? Will you send me an email to notify me?
    • For the "appointment reminder notifications" via email, can I choose to have them sent automatically for a specific service, or will they be sent by default for all services?
    • Stripe Connect: I offer multiple services and have several employees per service. I would like to use Stripe Connect so that only one of my employees can receive her payment directly without going through me. This employee should receive 100% of the amount related to the service she provides. She should not receive the amount related to other services provided by my other employees. Is it possible with Stripe Connect to transfer the money earned directly to the concerned employee without this employee receiving the money for services she did not perform?

    Thanks


  •  1,564
    Marko replied

    Hello again,

    We will reply to a first question and for others please open a separate ticket to keep things fair for all other users. If each customer asks 13 questions per ticket response time will be up to 3 days and more. And we receive hundreds and hundreds of tickets each day. 

    1. What exactly should I tell my hosting provider so they can configure the "appointment reminder notifications" via email, SMS, and WhatsApp? - Just tell them to set up cron for and tell them which notifications and how you want the to be set they should know. We do not work with servers so we can not say exactly but we can offer some additional explanation that you can forward to them if necessary. 

    As explained for cron the best and easiest way to set this up is just to ask your hosting provider to set this, Since cron-reminder notifications are created and set on your server with your hosting provider,

    We can send you some instructions but if you are not familiar (even if you are) the best way is to ask them to set this up for you because it is their server and there can be several possibilities for each server.

    -

    Cron is not Amelia's feature cron is a WordPress feature. You can use cron with Amelia, but setting cron is not part of Amelia's support because it is not our feature. If your cron is not working and you cannot set it up, you need to contact your hosting provider so that they can set up cron for you.

    -

    We will try to help you as best we can in the meantime cron is a Linux utility that schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.

    It can happen that they will need to test several configurations and depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.

    Also, you can try this:

    */15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"

    Or this:

    */15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'

    Or this:

    GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null

    WP Crontrol plugin is the best option if you're not familiar with cron jobs. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.

    So, if you already read that, and still need some clarification here's some further info.

    You copy only the URL from below a scheduled notification:

    7810032183.png

    Then, go to Tools/Cron Events, and click on the "Cron Schedules" tab. In it, add a 15-minute interval:

    2487877415.png

    Then go back to the "Cron Events" tab and click on "Add new":

    9085918175.png

    Below it, select the "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:

    file_get_contents("yourURL");
    2095163400.png

    Below it add the name and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45 (local, current time), set it to run at 12:50; and then select the schedule you previously selected:

    7642938415.png

    Click on Add Event, and that's it.

    The cron runs every 15 minutes and checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example), the emails will be sent when the cron runs after that time.

    For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.

    I hope that helps in case it doesn't please contact your hosting provider.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead. 

    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Audrey Mertens replied

    Thank you! I saw it with my hosting provider and add this command "*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send' in my hosting provider. 

    Is there a way to test the cron to see if it's working properly? 

  •  1,564
    Marko replied

    Hello again,

    Your hosting should be able to checks and tests but you can test the cron and see if it works this is the command: https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send

    So, to test notification, you need to book an appointment, then simply copy the URL above (just change yourwebsite.com to your domain name) and paste it into another browser window.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead. 

    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables