cancel
Showing results for 
Search instead for 
Did you mean: 

How to include a message built in a CBO for WhatsApp campaigns

elio
Explorer
0 Kudos

hello experts

I have a problem when sending a message for WhatsApp with the open channel campaign type.

The problem that arises is that the message that I want to send to the client is created in a custom business object (CBO).

with an implementation definition you can also send a file or an export definition.

The problem is that all the information that is in the Export Definition reaches the CPI, but not the message that I build in the CBO.

it is not built into the export definition, that is done on the custom object, it cannot be a custom attribute that is added to the export definition

For example if we want to send a message:

Hello Miguel, your debt is $10.00

In the definition goes the name and the field that stores the debt

But in that Export Definition the message that the user writes and wants to transmit to the clients does not go

That is written to a custom object, as follows

Hello [first_name], your debt is $[dia_mora].

That is, the message is written and in the sending process the message is personalized, with the data sent by the target group and the data that is in the Export Definition.

And it would arrive like this:

Message 1: Hi Miguel, your debt is $10.00

Message 2 : Hello Elio, your debt is $15.00

In addition to the message, you want to send a link, fields that are also in the custom object, eg: file url

Hello [first_name], your debt is $[dia_mora]. Download your invoice here: URL_File

Message 1: Hi Miguel, your debt is $10.00. Download your invoice here http//………

1.- The campaign APP indicates the type of campaign, target group and adds the action

In the open Channel node, the export definition is added

In this definition, of course, the data of the personalized fields travel, for example name, surname or another value to personalize the message

All this process was carried out to try to simulate what MKT already has with SMS campaigns

On the one hand you build the automation of the SMS campaign and in the content studio you build the message

Elio C.

Accepted Solutions (1)

Accepted Solutions (1)

isathore
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Elio,

I believe that I answered one of your several questions about this integration with WhatsApp.

Check CX Works | Open Channel Campaign with Facebook Messenger (Part 1/2) (sap.com) and CX Works | Open Channel Campaign with Facebook Messenger (Part 2/2) (sap.com). It is not for WhatsApp but it is a similar use case with a different media.

You can read CBOs. Refer to the CBO online documentation Custom Business Objects | SAP Help Portal - and all subsequent sections. There is and OData and a CDS view that are generated with each CBO which can be used to read data. The data must be read in CPI - not in SMC.

Best Regards

Isabelle

Answers (0)