Hello,
Real-time event targeting dimension or Event-based transactional messages target data contained in the event itself, whereas profile-based transactional messages target data contained in the Adobe Campaign database. Event-based transactional message is supposed to use only the data that are in the sent event to define the recipient and the message content personalization. However, it is also possible to enrich the content of your transactional message using information from the Adobe Campaign database.
For example:
In case of event based, on triggering the event from the web application, all the personalization data would be sent in the event request as below.
POST https://mc.adobe.io/<ORGANIZATION>/campaign/<instance name>/<Event ID>
Content-Type: application/json
{"ctx":{"Email":"string0","FirstName":"string1","LastName":"string2"}}
For enrichment (optional), each of those fields which are to be fetched from database, needs to be mapped to exsiting resource fields like firstName & lastName
While adding personalization fields on the message, you would choose only the fields under "Event Context".
In case of profile based, at least one enrichment field has to be created which could be to map crm id with ACS profile id. No need to add any other fields such as recipient email, First name, Last name as those can be fetched in personalization fields directly from the Adobe Campaign database (e.g. Profile). The event request need to only send the enrichment (link) field as below
POST https://mc.adobe.io/<ORGANIZATION>/campaign/<instance name>/<Event ID>
Content-Type: application/json
{"ctx":{"crmId":"string1"}}
Selecting a targeting enrichment based on the Profile resource is mandatory for profile-based events.
Reference: https://docs.adobe.com/content/help/en/campaign-standard/using/administrating/configuring-channels/c...
Thanks
Shelly