Consolidating Campaign Members using Open Refine
BACKGROUND
Over time, campaign members build up, and at some point you may want to delete them to lower storage usage. I will demonstrate an approach to ‘consolidating’ multiple historical campaign member records to a single campaign member record.
So it would go from this:
To this:
Allowing you to retain the information, in a single campaign member record.
Note that this approach requires creating a custom long text area field on campaign member, as the standard description field just displays the lead/contact description field and cant be written to. This post assumes you have a custom field called ‘Notes’ (Notes__c) on the campaign member object.
RECIPE
There are four broad steps in this process
- export data from Salesforce
- ‘consolidate’ records using OpenRefine
- load new campaign records w/ consolidated data in notes field
delete the existing campaign member records (using...