Sending Case Details and pdf from pega to whatsapp

Share Post

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/

Leave a Comment

Your email address will not be published. Required fields are marked *