As part of the event automation process, we need the ability to programmatically create real-time journey emails from an existing email (like the “Save As” feature in the UI) and replace personalization tokens via a supported Email API.
For each new event, specific placeholder values in the msdynmkt_placeholders field should be replaced before creating the new email. This capability would enable automation of large-scale event communications while reducing manual effort and risk of errors.
Business Value:
- Automates email creation for recurring events
- Ensures consistency and accuracy in personalization
- Reduces manual overhead for event managers
Aligns with existing “Save As” functionality in the UI, but enables it via API for automation
Example placeholder data before replacement
"ReadableEventID": {
"title": "ReadableEventID",
"defaultValue": null,
"type": [ "null", "string" ],
"category": "general",
"isInternal": false,
"binding": {
"source": "DataverseDataSource",
"inputs": {
"sourceType": { "value": "msevtmgt_event" },
"sourcePrimaryIdName": { "value": "msevtmgt_eventid" },
"recordsetType": { "value": "msevtmgt_events" },
"recordId": { "value": "c78887c0-a0e8-4ce3-a643-aaf46c147449" }
},
"outputPath": "msevtmgt_readableeventid",
"outputType": "string"
},
"touched": true
},
Placeholder data after replacement
"ReadableEventID": {
"title": "ReadableEventID",
"defaultValue": null,
"type": [ "null", "string" ],
"category": "general",
"isInternal": false,
"binding": {
"source": "DataverseDataSource",
"inputs": {
"sourceType": { "value": "msevtmgt_event" },
"sourcePrimaryIdName": { "value": "msevtmgt_eventid" },
"recordsetType": { "value": "msevtmgt_events" },
"recordId": { "value": "49eace4c-9056-456d-840a-b05dcd4a5cd8" }
},
"outputPath": "msevtmgt_readableeventid",
"outputType": "string"
},
"touched": true
},