In My project, the requirement is to send the offer email not through the Pega Campaign, rather the email content management and delivery will happen through external system. Pega Marking Campaign will work as brain to identify which offer (email template) will be send to which customer using a complex strategy, and will pass the customer-id/email and the template name as batch file/DB table to that external system for final delivery of email with appropriate content to the customer.
Now to implement this I have 2 approaches, which I am writing below. I want to know which option is better any why?
Option 1: In the Campaign rule, in the Engagement section under Schedule, I can opt for “Direct output to template” where I will select a database template so that the campaign run will bypass the offer processing and the campaign result will be written to database template/table, which can be used by external system for actual email delivery.
Option 2: In the Campaign rule, whatever offers get associated with the strategy against each proposition, in those offer rules I will use the “Send Generic” shape. And there I will use File or Database template.
So that no actual email will be sent to customer, rather the offer/campaign result will be written in the file/database template which can be shared with the external system for final email delivery.
Please let me know your view on which option is better and why. I am preferring option 2.
i think both options are same, i think it might depend on your business model and volumes involved here.
Option 1: when used in campaign, any offers emitted by the campaign will be written to DB template. if some of the email Offers are part of different campaign, you will need to set this on every campaign.
Option 2: if set on offer, its helpful if the same offer is part of multiple campaigns, but if your case is to have every output of the campaign to be written in db template, then you have to make sure every offer has db template setup. This option prevents you have different output templates for different campaign.