Solutions
Examples
Marketing Email
unaric reports allows you to send marketing emails to lists of recipients determined by a report this example loosely follows what we do for our unaric reports release emails report setup before creating the marketing email solution, you have to set up a report in salesforce that lists out contacts that have not yet received the new release email and have not opted out of receiving marketing messages email template setup next we need to create an email template for the marketing email note we want to use the fields from the burst report as variables for our email, so we will run the report and look at the report variables we are going to use the first name variable in a couple of places we also want to include a link to view the email as a web page and an unsubscribe link to do this, we add the following variables to our html template {{web link url}} solution creation in unaric reports, navigate to the solutions tab and click the add button provide a name for the solution and keep the default for running user click next on the items step, click yes under do you want to add items? , select report , and click the next button select the report you created earlier set burst as the report type for the burst filter value field, select to contact id usually with a burst report, you set the burst filter value field so that you can filter any other reports on the solution but since this is for marketing emails and the burst report is the only report we will include in this solution, technically this field shouldn't be required still, if you want to use a direct link with this solution (which allows you to include a button in salesforce to open a solution), you need this field choose email for the name value field this will help review activity after running the solution on the send step, select email as delivery option and click the next button on the email step, set the to fields to the email field from your burst report for the email body, pick the email template previously created on the schedule step, uncheck the schedule checkbox, since you only want to run this solution once click next in the options step, configure salesforce updates to mark each contact once the email is sent this prevents duplicate sends, as your report is filtered to only include contacts who haven't yet received the update additionally, configure the unsubscribe setup to automatically check the hasoptedoutofemail field on the contact record under salesforce updates , set object to update contact field to update new release email sent c update value true don't update if report is empty unchecked save as activity checked save as attachment unchecked under unsubscribe setup , set object to update contact field to update hasoptedoutofemail update value true email field api name email solution preview now that the solution has been created, click preview to see one of the personalised emails and check everything is correct in this example, the {{first name}} variable added to the subject and body now has the first name of the contact in its place solution run on the solution's page, click run once the solution has run, scroll down to the bottom of the solution details page and click the see all button on the recent activity section here you can review the activity to see if there were any issues in this example, you can see that the solution attempted to send to everyone on the burst report the green checkbox means that the email was successfully delivered the red circle means there was a problem in this example, the solution partially failed because the second email that the solution tried to send to does not exist also, note that each filter record shows the email address and the contact id activity stats click view emails stats for detailed information about the deliverability (email opened, dropped, unsubscribed, etc )