--- title: "Unsubscribe Contact Based on Keywords in Reply" slug: "unsubscribe-contact-based-on-keywords-in-reply" updated: 2026-07-22T08:24:37Z published: 2026-07-22T08:24:37Z canonical: "docs.mapp.com/unsubscribe-contact-based-on-keywords-in-reply" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Unsubscribe Contact Based on Keywords in Reply ## Goal To automatically unsubscribe group members who send a reply to a message. Only replies that contain keywords, for example, "unsubscribe" or "do not contact", result in an unsubscribe. You can define your own keywords. --- ## Prerequisites You need the Automations (Event-Based) feature for your system. --- ## Procedure This procedure has two steps. A) Configure Reply Handling in the group settings. B) Create an event-based automation. ### A) Configure Group Settings 1. In the Main Navigation, click **Groups**. ⇒ The Group Overview window opens. 2. Click the options icon next to the group. ⇒ The Settings window opens. 3. Select the **Reply Handling** tab. 4. From the drop-down list Replies, select **Initiate an event-based automation**. 5. Click **Save**. ### B) Create an Event-Based Automation 1. In **Automations > Automations > Event-Based**, click **Create**. 2. Enter a **Name** for the automation. A **Description** is optional. 3. **Define Event** | Field | Entry | | --- | --- | | Event | [Message Reply Received (C)](/v1/docs/message-reply-received-c) | | Group Name | Select the group. | | Subject | From the drop-down, select Contains. In the third field, enter the word that Mapp Engage should look for in the incoming subject line. | | To Address | These fields limit the event to replies addressed to a certain email address. This can be used to apply the automation to multiple groups. It is necessary to configure Reply Handling in the group settings of each group to which this automation should apply. The To Address is not the normal group address. This address has the format *groupname-event@domain.com*. The event is limited to incoming messages to this automatically generated reply address. | > [!NOTE] > **Check for Multiple Words** > > You can use Regex to check for multiple words at the same time. From the drop-down, select Matches [Regex]. In the third field, enter the Regex. > > Example: **unsubscribe|(do[\s]*not[\s]*contact)** > > .* indicates that additional text or no text can appear before or after. > > | represents an "or" and indicates that only one of the patterns must appear in the email. > > [\s]* indicates that one or more empty spaces may exist between these words. > [!NOTE] > **Check the Subject Line and the Body** > > It is not possible to use the same automation to check both the subject line and the body. To do so, create a second automation. 4. **Define Job** | Field | Entry | | --- | --- | | Job | [Unsubscribe Member from One Group (C)](/v1/docs/unsubscribe-member-from-one-group-c) | | Contact | Check the **Use Event Parameter** check box. | | Group Name | Check the **Use Event Parameter** check box. | | Send Confirmation | Select **Yes** to send a confirmation message. | 5. Save and activate the automation. ⇒ The automation appears in the Event-Based overview. Status is **Running** if the start date is immediate, or **Scheduled** if the start date is in the future.