Info |
---|
Please note that Twilio for WhatsApp is currently a Beta product available from Twilio. Please review the details on this Beta product on the Twilio site https://www.twilio.com/docs/sms/whatsapp/api. |
Luma supports WhatsApp as a chat channel for the organizations, that use WhatsApp as one of the supported channels for user engagement. The Twilio API for WhatsApp helps organizations send and receive messages to their WhatsApp users.
...
Register and create an account in Twilio. Once the account is created, set up billing for the Twilio messages/transactions. For details about the pricing and billing, refer to https://www.twilio.com/whatsapp/pricing/us.
Create a Project in Twilio. Copy the Account SID, Auth Token, Sender number, activation code, and retain them in an easily accessible location such as notepad or any text editor tool.
Configure and Enable the WhatsApp chat channel in Luma Virtual Agent using the Account SID and Auth Token from the Twilio Whatsapp project.
Invite users to use the WhatsApp channel to interact with Virtual Agent.
...
Navigate to the Twilio website by entering the URL www.twilio.com. The Twilio home page appears as shown below.
Create an account in Twilio by clicking Sign up. To know how to sign up for a Twilio account and other account management details, refer https://support.twilio.com/hc/en-us/sections/205104908-Account-Management.
If you already have an account, skip to the next step (point 3).On sign up screen, add the required details and Password.
Select the 'I accept Twilio Privacy statement….' andclick on Start your free trial to create your account.
An email will be triggered to the email address (added in the above step) to verify your account.
Click on the link in the email and confirm your email address.
The link redirects you back to Twilio. To verify your phone number, add your number and click on Verify.
Enter the verification code received on your phone and click on Submit.
The account is now verified. Finish account creationand go to the Project Dashboard.
On ‘Do you write code’, click No and click on Skip to Dashboard.
If you already have an account, log in to Twilio using your account details and navigate to Dashboard.
Once logged in, the next step is to create a new project. If you already have a project, skip to the next step (point 5).
On the Project Dashboard, click on Create New Project.
Add the Project Name and click Verify.
Provide your phone number and verification code to verify your account (as in point 2→e). Now skip to Dashboard.
Your project is now ready.
On the Project Dashboard, copy the below details and retain the information in notepad to be used for channel configuration in Luma. Click on the copy button on the fields:
Account SID
Auth Token
...
The next step is to configure and enable WhatsApp as a chat channel in Luma Virtual Agent.
Log in to your tenant on the Bot Builder UI.
Navigate to Bot Menu → Configurations → Channels. Click on the Twilio WhatsApp tile and open configurations.
Now add the Account SID and Auth Token (copied in Step 2 → point 5) to the respective fields on the configuration screen in Bot builder UI.
On User Reconciliation For Channel Authentication section, specify the user information that should be used for auto authentication and user data reconciliation with Luma Virtual Agent record fields. Since Whatsapp uses the user’s Phone number for authentication, select ‘phone’in User Fields and click on Set.
Copy the Message URL and retain the information on a notepad to be used to configure messaging service in Twilio in a later step.
Click on Configure to enable WhatsApp. The channel is now enabled and set to Active.
Step 3: Configure WhatsApp Sandbox
...