Sometimes you need to opt back in multiple contacts that share the same email address. There are two methods to specifically target contacts and opt them back in
Under normal circumstances you could use a web form that matches on email address. However, if there are duplicates, this process updates the contact with the lowest recipient ID, so no matter how many times you submit it, the process will detect the duplicates and keep updating the same contact.
- Find/create another field on Acoustic Campaign contact that you can update with a unique value and use that as your match criteria within your web form.
For example, create a custom text field named 'TEMP Recipient ID' and update it with the contact's recipient ID. Then when updating, instead of matching on Email address, match on the 'TEMP Recipient ID' field. Now you should be able to submit the web form multiple times on behalf of each recipient ID and opt back in each contact.
- Use the UpdateRecipient API and match on the recipient ID. The sample syntax below that opts back in two recipients. Whether they share the same email address or not is irrelevant, the point is that using RECIPIENT_ID as the <SYNC_FIELD> finds that exact contact.
<Envelope> <Body> <UpdateRecipient> <LIST_ID>32051</LIST_ID> <SYNC_FIELDS> <SYNC_FIELD> <NAME>RECIPIENT_ID</NAME> <VALUE>4371536808</VALUE> </SYNC_FIELD> </SYNC_FIELDS> <COLUMN> <NAME>OPT_OUT</NAME> <VALUE>false</VALUE> </COLUMN> </UpdateRecipient> <UpdateRecipient> <LIST_ID>32051</LIST_ID> <SYNC_FIELDS> <SYNC_FIELD> <NAME>RECIPIENT_ID</NAME> <VALUE>5925868857</VALUE> </SYNC_FIELD> </SYNC_FIELDS> <COLUMN> <NAME>OPT_OUT</NAME> <VALUE>false</VALUE> </COLUMN> </UpdateRecipient> </Body> </Envelope>
Note: Regardless of how you opt back in a contact, you need to remove the email address from the master suppression list should it exist there.
Please sign in to leave a comment.