Skip to content

How to Set Up Contact Rules from Campaign Results

Contact rules tab with the Replied outcome in the Automation Builder
Contact rules tab with the Replied outcome in the Automation Builder
  • Your account has permission to manage automations in the Automation Builder (/automations).
  • Campaign recipients are already registered as contacts in the Contacts (/contacts) with a matching phone number.
  1. Open the Contact rules tab

    Open Automation Builder (/automations), then click the Contact rules tab (/automations/contact-rules).

  2. Add a new rule

    Click the New Contact Rule button in the top right corner to open the rule creation form.

  3. Fill in the rule name and campaign scope

    Enter a descriptive name in Rule name, then in the Campaign field, select All campaigns or select a specific campaign.

  4. Select the delivery outcome or reply trigger

    In the When message is field, select one of the following campaign outcomes:

    • Sent (sent)
    • Delivered (delivered)
    • Read (read)
    • Failed (failed)
    • Link clicked (clicked)
    • Replied (replied) — runs exactly once, on the recipient’s first inbound reply to that campaign send.
  5. Define at least one change to the contact

    Fill in at least one of the following actions:

    • Add tag: adds a tag to the contact.
    • Remove tag: removes a tag from the contact.
    • Set field key and Set field value: sets or updates a contact custom attribute.
    • Set lifecycle stage: changes the contact’s lifecycle stage.
  6. Save rule

    Click Save rule until the notification Contact rule saved. appears.

  7. (Optional) Run an automation when the rule adds a tag

    Open Automation Builder (/automations), create or open an automation flow, then click Publish so its status is Active. Next, open the Triggers tab (/automations/triggers), click New Trigger, select Trigger Type Contact Tag Added, enter the same tag name as the one added by the contact rule in Tags, select your flow in Automation to Run (optional: check Enter once per contact if each contact may only enter this automation at most once), then click Save Trigger. This trigger automatically skips flows that add their own trigger tag so it does not cause an infinite loop.

Each time a campaign message status reaches the outcome selected on When message is—including Replied, which runs once on the first inbound reply to a campaign send—the system automatically applies tag, field, or lifecycle stage changes to the recipient contact and records them on the Recent Activity card on the contact detail page. If you add the Contact Tag Added trigger (or Contact Field Updated / Contact Lifecycle Changed), the connected automation flow runs immediately when the rule updates that contact.

  • The Save rule button fails to save: Make sure Rule name is filled in and you have configured at least one action (Add tag, Remove tag, the pair Set field key + Set field value, or Set lifecycle stage).
  • Rules with the Replied outcome do not run again on the second or third reply: The Replied outcome is designed to run only once, on the first reply, for each campaign send. If you want to run an interactive flow on campaign replies, you can also set up Reply Assignment on the campaign detail page (see How to Trigger an Automation from Campaign Replies).
  • Contact does not change after a campaign runs: Make sure the rule is active and the campaign recipient’s phone number is already saved as a contact in Contacts.