Skip to main content
All CollectionsAutomationProgram builderProgram nodes
Program messaging channel: Allow contacts to opt out of Messenger
Program messaging channel: Allow contacts to opt out of Messenger

Give contacts the option to opt out of Messenger

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over a year ago

Contacts who have opted into a Messenger page (profile) have a value for their FBOPTIN_XXX contact data field.

To give contacts the option to opt out of Messenger, you need to make this option available in the preference centre, and set up some automations to manage the opt-in process:

Learn more about the preference centre in Set up a preference centre.


Add Messenger to the preference centre

Contacts can edit their preferences in the preference centre by selecting the names of the lists that they want to belong to.

To add Messenger to the preference centre:

  1. Create a list called Messenger opt-in and set its visibility to public, which makes the list visible in the preference centre, so contacts can choose to opt out of it.

  2. Create a triggered email campaign called Messenger opt-out campaign to send to contacts who opt out of this list.

  3. Select the Messenger opt-out campaign from the list's Unsubscribe action dropdown.


    Learn more in Trigger a campaign when a contact unsubscribes from a list.

    This triggered email campaign is used in the opt-in program to check which contacts have opted out of Messenger.

Multiple profiles

If you want to allow your contacts to unsubscribe from specific Messenger profiles, you can create a list for each profile instead of having one Messenger list.


Create a program for contacts who opt into Messenger

After you've added Messenger to the preference centre, contacts can opt out of Messenger only if they're in the Messenger opt-in list. Therefore, contacts need to be added to the Messenger opt-in list when they opt in. You can create a program to manage this.

To do this:

1. Start node

  1. Create a new program.

  2. In the program builder, select the Start node to open its settings menu.

  3. Create an enrolment schedule that enrols contacts daily at a time that suits your program.

  4. Create an enrolment rule using a segment, that includes contacts whose FBOPTIN_XXX contact data field is not empty, and excludes contacts who have been sent the Messenger opt-out campaign in the last 1 day.

  5. Apply the Re-enrol contacts on the program every day they meet the start criteria enrolment limit.

2. Add contact node

  1. Attach an Add contact node to the Start node.

  2. Select the Add contact node to open its settings menu.

  3. Select the option to add contacts to the Messenger opt-in list.

  4. Attach an End node to the Add contact node.


Create a program for contacts who opt out of Messenger

When a contact opts out of a list in the preference centre, that contact is removed from that list. Therefore, contacts are considered opted out of Messenger if they are not in the Messenger opt-in list.

This program enrols contacts who have opted in to Messenger, but who are no longer in the Messenger opt-in list. Then, the program removes the value of those contacts' FBOPTIN_XXX contact data field.

1. Start node

  1. Create a new program.

  2. In the program builder, select the Start node to open its settings menu.

  3. Create an enrolment schedule that enrols contacts daily at a later time than the one you selected in the opt-in program.

  4. Create an enrolment rule that includes contacts:

    • whose FBOPTIN_XXX contact data field is not empty

    • who are not in the Messenger opt-in list

    • who have been sent the Messenger opt-out campaign in the last 1 day.

  5. Apply the Re-enrol contacts on the program every day they meet the start critera enrolment limit.

2. Update contact node

  1. Attach an Update contact node to the Start node.

  2. Select the Update contact node to open its settings menu.

  3. Select the FBOPTIN_XXX contact data field, and leave the Set value to field empty.
    Contacts with an empty value are no longer opted in to Messenger.

  4. Attach an End node to the Update contact node.

Did this answer your question?