Steps To Do the the Poc:
1. Meta Developer ApiÂ
2. Pega Personel Edition
3. Knowledge of Rest Connectors
First Go to this Link  https://developers.facebook.com/
Â
Create an AppÂ
next screen click Business
Click next and Fill The details and create the app
You Will get the below ScreenÂ
add your phone number to the To Dropdown which says Select a recepient phone number.
We are done with the Api setup and now we start the integration in pega.Â
Request payload For Message:
{
“messaging_product”: “whatsapp”,
“recipient_type”: “individual”,
“to” : “Your Mobile Number”,
“type”: “text”,
“text”:
{
“body”: “Whatapp says hello”
}
}
Request Payload For Attachment:
{
“messaging_product”: “whatsapp”,
“recipient_type”: “individual”,
“to” : “Your Mobile Number“,
“type”: “document”,
“document”:
{
“link”: “Link of your Attachment”
}
}
Here i am just goin to show the Flow and the integration activity assuming you have Connect Rest Integration Knowledge in pegaÂ
if not checkout my channel Pega for Life which has lot of integration videos on connect rest.
The case Type :Â
The Flow :Â
The Activity: The Type is Utility
Pages And Classes:
The Steps:Â
The Steps Expanded:
Run the Case and See We Should Be Done with the Below output :
Thanks you for visting please support by subcribing to Pega for Life Channel in Youtube!!
please let me know if you are unable to implement or need help, you can comment below or connect/contact me in linkedin : https://www.linkedin.com/in/bibhash-kalita-b477aa9b/