Configure WhatsApp Business
You can use WhatsApp-Business to streamline conversations along with being cost-effective. WhatsApp Business removes the dependency on third-party service providers to send and receive messages to WhatsApp users, enhancing efficiency and cost savings.
To configure the WhatsApp Business as a chat channel, a Skills Builder Administrator needs to complete the following steps:
Register and create an account on the Meta Developers account. Once the account is created, set up billing for the WhatsApp messages/transactions.
Create an App. Copy the AppID, Secret Key, Phone number, WhatsApp Business Phone number, Access Token and retain them in an easily accessible location such as Notepad or any text editor tool.
Configure and Enable the WhatsApp Business chat channel in Luma Virtual Agent using the above details.
Update the Facebook App with the Message URL and Invite users to use the WhatsApp channel to interact with Virtual Agent.
Step 1: Register to Facebook/Meta developer
Follow the below steps to register as a Meta developer.
Log in to your Facebook account and go to https://developers.facebook.com/async/registration. Alternatively, you can go to the Meta for Developers website and click Get Started.
Agree to the Terms and Policies
Click Next to agree to Platform Terms and Developer Policies.
Verify your account. You will receive a confirmation code to the registered phone number and email address. Your number and email will be used for important developer notifications of any changes that may impact to your app.
Select your occupation to Register.
Now that you have registered, you can use the App Dashboard to create your app.
For more information refer to Register - Meta App Development.
Step 2: Create an App
The Next step is to create an App. To do so, follow the below steps:
Login to your Facebook Business account at https://developers.facebook.com/
Click "My Apps" to navigate to the App Dashboard. Here you can view the list of Apps available in your Business account. These apps are used to connect to your Luma VA Tenant.
Start by creating a new App. Click on "Create App".
Select 'Other' from the list of use cases. This indicates the permissions, products and features that should be available to the App.
Click Next.Â
The Next step is to select the use case for the App. Select 'Business' and click Next.
Provide a name for your App and click on 'Create App'.
Re-enter your password to confirm and submit.
Your App is now created. Click on My Apps to view the App on your Dashboard.
Step 3: Configure your App and Permissions
Select your App from the Dashboard.
Now, navigate to App Settings --> Basic.
Copy the AppID and App Secret Key available on the screen and retain them in an easily accessible location such as Notepad or any text editor tool.
Now, Navigate to WhatsApp --> API Setting screen. Click "Copy" to copy the Access Token. Retain the information on the notepad.
Note: For a paid and verified developer account, the token is persisted.Next, Copy and retain the Phone number ID and WhatsApp Business Account ID. Note that the Phone number ID becomes the message sender ID for your tenant.
Step 4: Configure and Enable the WhatsApp Business chat channel in Bot Builder
The next step is to enable Whatsapp Business Channel or your tenant. To do so, follow the below steps:
Login to your Bot Builder environment. Navigate to Bot --> Configurations-->Channels.
Click on the 'WhatsApp Business' tile.
Paste the App ID, App Secret Key. Access Token, Phone Number ID and WhatsApp Business Account ID, copied in Step 2, in respective fields.
Click on Configure to save details.Set a Verify Token and copy the Message URL.
Now, navigate back to the Meta Developers portal. Under your app, navigate to Webhooks.
Click "Edit"Paste the Message URL copied in the previous step to the "Callback URL" field.
Enter the "Verify token" set on the Channel configuration page in Bot Builder.
Click "Verify and save".
Navigate the Messager tab and ensure messages are Subscribed. Click on Test to test the connection.
Click "Send to My Server".
You receive below success message for successful connection.
The Channel is now successfully configured and enabled.
Step 5: Invite users to use the WhatsApp channel
Once the Channel and App are configured. The next step is to invite users to use the Whatsapp channel.
Navigate to WhatsApp → API Setting screen. Click "To" drop to manage the list of Receipents.
Click "Manage phone number list"
Click "Add phone number"
Add the receipient's phone number and click Next. You can add as many recipient's as required.
A verification code sent to the user's number on their Whatapp. Provide the verification code received. Click Next.
Click "Send message".
A Welcome message is sent to the added user. They can now start conversing with the Virtual Agent and execute skills.
Only user messages of Text, Audio, Video, and Document types are supported. Other types of messages, like Location, Poll, etc., are ignored.
© 2019 Serviceaide 1-650-206-8988 http://www.serviceaide.com info@serviceaide.com