Note: The Free API is only for personal use.
CallMeBot API can send WhatsApp Text Messages from your Microsoft MS Flows very easily using the HTTP Action
See below the step-by-step instructions to send Whatsapp Messages from MS Flow
Setup:
You need to get the apikey form the bot before using the API:
1. Add the phone number +34 621 34 22 27 into your Phone Contacts. (Name it it as you wish)
- Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)
- Wait until you receive the message "API Activated for your phone number. Your APIKEY is 123123" from the bot.
Note: If you don't receive the ApiKey in 2 minutes, please try again after 24hs. - The WhatsApp message from the bot will contain the apikey needed to send messages using the API.
You can send text messages using the API after receiving the confirmation.
Example:
58
5. Enjoy
5. Note, If you need any of the capabilities listed below, please check https://textmebot.com (low cost) or https://www.twilio.com/ (best official provider)
- Send messages to others
- Send messages to Groups
- Send messages from your whatsapp number
- Send Images
- Send Buttons
- Send documents
- Receive the answers
How to send WhatsApp Messages from MS Flow
It is very simple to send WhatsApp messages from your MS Flow Automation. You just need to use the HTTP Action
1) Get an APIkey using the instructions described above
2) Add an "HTTP" Action into your MS Flow
3) Complete the HTTP configuration as shown below
What is key in the configuration is to format the "Subscribe URI" properly. The "text" field must be urlencoded and it can be dynamically created to send different messages using MS Flow variables for example.
Format of the URI field:
https://api.callmebot.com/whatsapp.php?phone=<your_phone_number>&text=<text_message_to_send>&apikey=<your_apikey>
Problems?
If you have problems, like not receiving the Call on Telegram, or not receiving the WhatsApp messages, try to test the CallMeBot API using your Web Browser:
- Telegram Phone Calls using Web Browser: here
- Telegram Text Messages using Web Browsers: here
- WhatsApp Text Messages using Web Browser: here
You might get some errors on the screen that will help you to identify the problem. (Ex: Calls disabled in the Telegram Security Settings, WhatsApp not activated, etc.)
If you still have problems using the API, don’t hesitate to contact me in Telegram @callmebot_com or by email at [email protected]. Remember to Follow me on Twitter to get news about coming features, changes, invitations, etc.