This topic describes how to send WhatsApp messages.
Prerequisites
Alibaba Cloud account registration and enterprise authentication have been completed.
A WhatsApp channel has been created.
A WABA has been registered for the channel, and approved by WhatsApp.
A WhatsApp template has been created and approved by WhatsApp.
Procedure
Log on to the Chat App Message Service console.
In the left-side navigation pane, click Channel Management.
On the Channel Management page, find the WhatsApp channel, and click its ID or Manage in the Actions column.
On the channel details page, click Message Sending in the left-side navigation pane.
On the Message Sending page, set Language to specify the language of the message template.
In the Send Message section, click Select Template, and then select the message template from the list of approved templates.
NoteThe template list in the Select Template dialog box displays the approved message templates in the selected language.
Select a sending account.
NoteAvailable sending accounts are verified phone numbers in the Phone Number Management section of the WAB Management page.
Select a sending type.
Timing Send: The message will be sent at the specified time.
Immediately: The message will be sent immediately after you click Send.
Select a fallback policy. If you set Fallback Policy to None, no fallback is used.
NoteTo set a fallback policy, you must activate SMS on the Service Settings page in advance.
The fallback trigger rule is activated when a fallback policy is set and the message is either undelivered or fails to be sent. Failures caused by other factors, such as the message template being deleted or parameter validation not passing, will also trigger the fallback.
Select an import method.
Recipient phone numbers support two import methods: Import Phone Number Group and Upload Excel File.
Import Phone Number Group: suitable for sending a small number of messages. Click Add Phone Number to manually add the recipient phone numbers.
Upload Excel File: suitable for sending a large number of messages. Click Download Template and fill in the recipient phone numbers. Then, click Upload File to upload them.
NoteIf you have not selected a message template, the Download Template button is not clickable. To download a recipient number template, select a message template first.
If the selected message template contains variables, download a recipient number template and upload an Excel file to import recipient phone numbers. Do not modify the table header to prevent the system from failing to identify the variables.
Before uploading an Excel file to import recipient phone numbers, specify whether all numbers use the same variables.
Yes: All numbers use the same variables.
No: Set corresponding variables for different numbers.
NoteA recipient number template will be downloaded based on whether variables are shared. If you need to set different variables for different recipient phone numbers, first set Variable Shared to No.
Click Send.
You can view the message sending details on the Message List page. For more information, see Message list.