Date-Based Campaigns (Date Trigger)
Date-Triggered campaigns send messages automatically when a date property on the contact matches today’s date — for example, a customer’s birthday, a join anniversary reminder, a monthly invoice due date, or a contract renewal date. Unlike Blast campaigns that are sent once to the entire audience, date triggers are evaluated daily by Mahadata and only reach contacts whose date falls due on that day. This feature is well suited for retention teams, CRM, and customer lifecycle marketing.
You access this feature from Campaign > Create Campaign, then selecting the campaign type Date-Triggered (lihat di portal). Once the campaign is created, its trigger configuration is managed from campaign detail page.
For the general campaign creation steps (name, channel, template, variable mapping), see Creating a Broadcast Campaign. This page only covers the date trigger-specific parts.
Selecting the Campaign Type
Section titled “Selecting the Campaign Type”At the beginning of the campaign creation form, you choose one of two types:
| Type | How it works |
|---|---|
| Blast Campaign | Send now or on schedule to the selected audience. |
| Date-based | Automatically send when the contact’s date property matches today. |
Selecting Date-based will display the trigger configuration editor (Date Trigger Configuration) directly within the form, below the channel, template, and audience options.
Trigger Configuration
Section titled “Trigger Configuration”The trigger editor contains the following fields. The default values below apply when creating a new trigger.
| Field | Required | Default | Description |
|---|---|---|---|
| Contact Properties | Yes | — | The date property to monitor. The list is populated from contact properties of type date (or from the CSV column headers if the audience comes from a CSV upload). |
| Trigger Time | No | On date | Shift sending relative to the date: days before, on date, or days after. Offset range: 0–365 days. |
| Date Matching | No | Yearly | How dates are matched (see the Matching Mode table). |
| Send Time | No | 09:00 | The hour (00–23) and minute (00, 15, 30, 45) of delivery on the matching day. |
| Time Zone | No | Asia/Jakarta (WIB) | Reference time zone for Send Time and date evaluation. Indonesian time zones (WIB/WITA/WIT) and other international time zones are available. |
| Repeat yearly | No | Enabled | Only appears for the Yearly mode. If disabled, the trigger runs only once on the next matching date and is then automatically deactivated. |
| Active from | No | — | The start date of the trigger’s active window. Not shown for the Exact mode. |
| Active until | No | — | The end date of the trigger’s active window. Not shown for the Exact mode. |
Date Matching Mode
Section titled “Date Matching Mode”| Mode | How it works |
|---|---|
Yearly (annual) | Match month + day, ignoring the year. For birthdays and anniversaries. Triggered once a year. |
Monthly (monthly) | Match the day of the month. For monthly invoices. Triggered every month on the same day. |
Exactly (exact) | Match the full date (year, month, day). For one-time events. Triggered once on the exact date. |
Mode automatically affects the repeat options: Monthly always repeats, Exactly is always send-once, and only Yearly provides the “Repeat every year” button.
Trigger time (offset)
Section titled “Trigger time (offset)”The offset determines how many days before or after the matching date the message is sent:
- days before — send earlier (e.g., 3 days before the due date).
- on date — send exactly on the matching date (offset 0).
- days after — send after the matching date.
When “on the date” is selected, the days amount field is disabled and the offset becomes 0.
Source Audience
Section titled “Source Audience”Date triggers pull contacts from the source audience you select in the field Audience:
- All contacts (
__all__) — the trigger evaluates all tenant contacts that have the relevant date property. Stored as without a source audience. - Specific audience — the trigger only evaluates contacts within the selected audience (segment).
The “All contacts” option is only available on the Date-based campaign type.
Date Properties & Supported Formats
Section titled “Date Properties & Supported Formats”Date property values on contacts are parsed tolerantly. Formats recognized by the backend:
| Format | Example |
|---|---|
%Y-%m-%d | 2026-04-27 |
%d/%m/%Y | 27/04/2026 |
%m/%d/%Y | 04/27/2026 |
Values that cannot be parsed as a valid date are ignored and do not trigger a send.
Match Preview (Dry Run)
Section titled “Match Preview (Dry Run)”The Match Preview run a test evaluation without sending messages. The results show the number of matching contacts today along with up to 5 sample rows:
| Column | Description |
|---|---|
| Name | Contact name (or name from the CSV row). |
| Phone | Destination phone number. |
| Value | Value of the matching date property. |
| Source | Data origin: From CRM contact or From CSV row. |
The preview is only available after the campaign is saved. While still on the creation form, the system asks you to save the campaign first.
Managing Triggers on the Campaign Page
Section titled “Managing Triggers on the Campaign Page”Once the campaign is created, the campaign detail page displays a trigger card with a summary (matching mode, send time, time zone, recurring/one-time status) and the following controls:
| Actions | Function |
|---|---|
| Edit Trigger | Opens a side panel containing the configuration editor to modify the trigger. |
| Pause / Resume | Disables or re-enables the trigger’s daily evaluation. |
| Preview Matches | Runs a dry run and displays the number of matching contacts today. |
Status Meanings
Section titled “Status Meanings”| Status | Meaning |
|---|---|
| Active | The trigger is active (is_active = true) and evaluated daily at the Send Time. |
| Paused | The trigger is disabled (is_active = false) and will not send messages until resumed. |
If the campaign still has the status DRAFT, the trigger card displays a note that the trigger has been configured but will not run until the campaign is activated. For the full campaign status lifecycle, see the Campaign Status Cycle.