Whatsapp Business Advanced - Help Guide

Installation :

Enter the org details in which the application is to be installed with the given link

App Link :

Choose Install for All Users and acknowledge by checking the checkboxΒ 

click Install Button

Check the check boxes below SSL Encrypted.

Check the access checkbox and click Continue

Once the installation is complete Click Done

1. Create Phone Code Prefix field and Whatsapp Opt out field in Respective custom object (Create Only for Pure Custom Object)

2. If Customer is using phone field with special characters Create a new Formula field like WA Formatted Phone

{ Formula :Β 

SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(Phone, ‘(‘, ”), ‘)’, ”), ‘-‘, ”), ‘+’, ”), ‘ ‘, ”) }

Click on Manage Records near WhatsApp Business URL

Creating Records in Custom Meta Data :

Go to Setup. Search Custom Metadata Types Β in Quick Find Box and click on that

Click on Manage Records near Country Phone Code Mapping

Click New Button

 

Label – Enter the Country NameΒ 

Phone Prefix – Phone code prefix of respective country

Click Save

Click on Manage Records near WhatsApp Business URL

Click New button

  • Label Β  –Β  Lead / Contact
  • WhatsApp Business URL NameΒ  –Β  Gets pre populated automatically
  • Access TokenΒ  – Permanent access token generated from Meta
  • Encryption Key – ****************
  • FB Verify Token – Token used while verifying Webhook
  • Phone IdΒ  –Β  Phone Number Id From Meta
  • Value Β  –Β  graph.facebook.com
  • VersionΒ  – v15.0
  • WhatsApp Business IdΒ  –Β  WhatsApp Business Account Id from Meta
  • Phone CodeΒ  –Β  Β  +1(For US Phone Numbers)
  • Target Object – Choose the Target Object as Lead / Contact
  • Display NumberΒ  – From Number in Meta
  • Formatted Phone Field – If Customer is using phone field with special characters then enter the API Name of Created Formatted Phone Field or use Phone field API

Click Save & New button

  • Label Β  –Β  Case
  • WhatsApp Business URL NameΒ  –Β  Gets pre populated automatically
  • Access TokenΒ  – Permanent access token generated from Meta
  • Encryption Key – ****************
  • FB Verify Token – Token used while verifying Webhook
  • Phone IdΒ  –Β  Phone Number Id From Meta
  • Value Β  – Β graph.facebook.com
  • VersionΒ  – v15.0
  • WhatsApp Business IdΒ  –Β  WhatsApp Business Account Id from Meta
  • Phone CodeΒ  –Β  Β  +1(For US Phone Numbers)
  • Target Object – Choose the Target Object as Case
  • Display NumberΒ  – From Number in Meta
  • Formatted Phone Field – If Customer is using phone field with special characters then enter the API Name of Created Formatted Phone Field or use Phone field API

Click Save Button

Picklist Values for Lead & Case :

Go to setup β†’ Object Manager β†’ Lead β†’ Fields & Relationships β†’ Lead source

Under Account/Lead Source Picklist Values Section, Click the New Button

Enter Value as Whatsapp and Click Save

Go to setup β†’ Object Manager β†’ Case β†’ Fields & Relationships β†’ Origin

Under Case Origin Picklist Values section Click the New Button

Enter Value as Whatsapp and Click Save

Component Placement :

Lead Page :

Go to Leads tabΒ 

Select a Lead Record and give edit page

Drag & drop the wA_LeadScreen from components to the page and click Save

Contact Page :

Go to Contacts tabΒ 

Select a contact Record and give edit page

Drag & drop the wA_ContactScreen from components to the page and click Save

Case Page :

Go to Cases tabΒ 

Select a case Record and give edit page

Drag & drop the wA_CaseScreen from components to the page and click Save

Campaign Member Page :

Go to Campaigns tabΒ 

Select a campaign Member Record and give edit page

Drag & drop the wA_CampaignScreen from components to the page and click Save

Object Manager β†’ Campaign β†’ Page LayoutsΒ Β 

Click Campaign Layout β†’ Mobile & Lightning Actions

Drag and drop the Whatsapp Messages button under Salesforce Mobile & Lightning Experience Actions

Click Fields

Drag & drop the WA Campaign and WA Template button in page layout

Click Save

Mobile Notification :

To Get Notification for inbound messages. Goto setup β†’ Notification Delivery Settings

Click the down arrow and choose Edit button

Choose Salesforce for iOS and Salesforce for Android Checkbox and Click Save