From 4a8a9ab1720b7c6ab81d5dc999fb659ad08e946e Mon Sep 17 00:00:00 2001 From: "promptless[bot]" Date: Fri, 12 Jun 2026 14:47:16 +0000 Subject: [PATCH] Document Prevent action after date Campaign condition Add documentation for the new Campaign condition that routes Contacts based on elapsed time since Campaign launch. Includes configuration steps for timestamp, operator, and interval settings, plus an example use case for time-limited promotions. --- docs/campaigns/campaign_builder.rst | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/docs/campaigns/campaign_builder.rst b/docs/campaigns/campaign_builder.rst index 18c8619a8..1cdcfadb4 100644 --- a/docs/campaigns/campaign_builder.rst +++ b/docs/campaigns/campaign_builder.rst @@ -246,9 +246,11 @@ Here are the different conditions that Mautic offers in the Campaign Builder: - Checks if values submitted for a selected field on a selected Form matches specified criteria. * - **Has active notification** - Checks if the Contact has an active web notification. - * - **Has valid Email address** - - Checks if the Contact's Email address has a valid syntax, for example name@example.com without spaces, other invalid characters or formats. - + * - **Has valid Email address** + - Checks if the Contact's Email address has a valid syntax, for example name@example.com without spaces, other invalid characters or formats. + * - **Prevent action after date** + - Routes Contacts based on how much time has elapsed since the Campaign started. Use this condition to stop sending Campaign actions after a deadline, such as limiting a promotional offer to the first week after Campaign launch. + Notes on delayed conditions and dates ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -274,6 +276,24 @@ This **doesn't work** for the Anniversary option. If a Contact appears again at a later date in that Segment because the value of the date has changed, then the Contact passes through the Campaign only once, and hence isn't included in the Campaign again. +Prevent action after date condition +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The Prevent action after date condition routes Contacts based on whether the current time is before or after a threshold relative to the Campaign start date. Use this condition when Campaign actions should only execute within a specific time window after launch. + +To configure this condition: + +#. **Time Stamp**: Select the reference point for calculating the threshold. Currently, this is the Campaign Start Date - the date and time when the Campaign was first published. + +#. **Operator**: Choose how to compare the current time against the threshold: + + * **less than**: The Contact takes the green path if the current time is before the threshold. Use this to execute actions only during the initial period after Campaign launch. + * **greater than**: The Contact takes the green path if the current time is after the threshold. Use this to execute actions only after a waiting period has passed. + +#. **Interval**: Specify the time duration using a number and unit. Available units are minutes, hours, days, months, and years. + +**Example**: A flash sale Campaign should only send promotional Emails during the first 48 hours after launch. Configure the condition with Campaign Start Date, 'less than', and '2 days'. Contacts entering the Campaign within 48 hours of launch take the green path and receive the promotional Email. Contacts entering after 48 hours take the red path, where you can send a different message or take no action. + Smart event schedule ~~~~~~~~~~~~~~~~~~~~~