In this article, you will learn which condition fields each MagicAI Engage trigger offers, what each field contains, which operators and values it accepts and how Engage evaluates conditions.
Contents
How conditions are evaluated
You set the conditions of a trigger in the WHO section of the trigger editor under MagicAI Engage / Configuration. How to work with the editor is described in Creating and editing trigger rules.
-
All conditions must match. A trigger with several conditions only reaches members who match every one of them (AND).
-
Daily data. Member fields are refreshed once a day. A trigger sees each member as of the most recent refresh, also when it reacts to a check-in.
-
Empty values never match. A member without a value for a field does not match a condition on that field, not even with ≠. Example: a member with an open-ended contract has no value for Days Until Contract End.
-
Text is not case-sensitive. "contains student" also matches a rate called "Student Flex".
-
Days are full days. Day counters count full calendar days. 0 means today.
Fields per trigger
The Add Condition list of a member trigger offers 27 fields: the visit fields, Days Until Contract End, the member fields and the contract and payment fields. Individual triggers add their own fields (see Trigger-specific fields). The first condition of a default trigger is fixed; you can only change its value.
| Trigger |
Trigger-specific fields |
Visit fields |
Member, contract and payment fields |
| New Joiner Churn |
None to add, targeting is set by the AI model |
None |
No |
| Dormancy |
Days Until Contract End |
All |
Yes |
| Attendance Drop |
Is drifting |
All |
Yes |
| Welcome, Onboarding Day 3, 7, 14 and 28 |
Days since membership start |
All |
Yes |
| New Member |
Days since contract start |
Days Since Last Visit, Visits (Last 14 Days), Visits (Last 60 Days) |
Yes |
| Contract Expiry |
Days Until Contract End |
All |
Yes |
| Cancellation Effective Date |
Days till cancellation takes effect |
All |
Yes |
| Cancellation Received Date |
Days since cancellation received |
All |
Yes |
| MySports member platform Usage |
Days since contract start, Activated MySports app |
All |
Yes |
| Pre-Freeze End |
Days until freeze end |
All |
Yes |
| Membership Anniversary, Satisfaction Survey, Satisfaction Survey – Half-year |
Days since membership anniversary, Membership years |
All |
Yes |
| Custom, Member Check-in |
All timing fields and Is drifting |
All |
Yes |
| Lost Member |
Days since cancellation, Age |
None |
No |
| New Lead |
Origin type, Campaign |
None |
No |
Visit fields
| Field |
Type |
What it contains |
| Days Since Last Visit |
Number |
Full days since the member's most recent check-in. 0 means the member visited today. Empty if the member has not visited in the last 12 months. |
| Visits (Last 14 Days) |
Number |
Number of check-ins in the rolling 14-day window ending today. |
| Visits (Last 60 Days) |
Number |
Number of check-ins in the rolling 60-day window ending today. |
| Attendance trend |
Selection |
Recent attendance direction. Values: very high increase, slight increase, normal, slight decrease, very high decrease, no data. |
Timing fields
| Field |
Type |
What it contains |
| Days Until Contract End |
Number |
Full days between today and the contract's scheduled end date. Empty for open-ended contracts. |
Member fields
| Field |
Type |
What it contains |
| Age |
Number |
Age of the member in years. |
| Access restriction |
Yes/No |
Yes if the member currently has an access restriction (house ban). Members without restriction data match neither Yes nor No. |
| Activated MySports app |
Yes/No |
Whether the member has activated the member app. |
| Has cancellation |
Yes/No |
Whether the member's latest contract has a cancellation notice or an effective cancellation date on record. |
| Cancellation effective date |
Date |
The date on which the cancellation of the member's latest contract takes or took effect. |
| Cancellation received date |
Date |
The date the cancellation notice for the member's latest contract was received. |
| Freeze end date |
Date |
The date the member's current or upcoming contract freeze ends. Empty if no freeze is on record. |
| Membership start date |
Date |
The start date of the membership. |
| Rate name |
Text |
The rate the member is contracted on, named as in your rate settings. You can pick a rate from the list or type text: "contains Student" matches every rate with Student in its name. |
Contract and payment fields
| Field |
Type |
What it contains |
| Contract price |
Number |
Price charged for the current contract payment period. |
| Contract term |
Number |
Length of the contract term in months. Terms stored in weeks or days are converted using an average month length. |
| Contract extension |
Selection |
Extension model of the contract. Values: no membership extension, membership extension. |
| Days since contract created |
Number |
Full days since the current contract was created in the system. This can differ from the contract start date. |
| Pre-use type |
Selection |
Configuration for the pre-contractual use. Values: None, Chargeable, Free. |
| Payment method |
Selection |
The member's payment method. Values: Direct debit, Cash, Invoice, Bank transfer, Standing order, Credit card, Debt collection, TWINT, undefined. |
| Payment frequency |
Selection |
How often the contract is billed. Values: daily, weekly, bi-weekly, monthly, quarterly, semi-annual, yearly, biennial. |
| Payment type |
Selection |
Type of payment arrangement of the contract. Values: recurring, Reference date (relative), Reference date (absolute), non-recurring, free. |
| Payment interval unit |
Selection |
Time unit used for billing. Values: daily, weekly, monthly, yearly. |
| Payment interval length |
Number |
Number of payment interval units between charges. For example, 3 with the unit monthly means quarterly billing. |
| Days since last collection |
Number |
Number of days since the latest payment collection date. |
| Last payment amount |
Number |
Total expected amount of the latest payment collection. |
| Last payment paid amount |
Number |
Amount actually paid for the latest collection after adjustments. |
Trigger-specific fields
Some fields belong to individual triggers. They appear as the fixed first condition of the matching default trigger, for example Days till birthday in the Birthday trigger. The New Joiner Churn trigger is set by the AI model and has no condition field to add.
| Field |
Type |
What it contains |
| Days since membership start |
Number |
Days since the start of the membership. Used by Welcome and the onboarding triggers. |
| Days since membership anniversary |
Number |
Days since the most recent anniversary of the membership start. |
| Membership years |
Number |
Number of completed membership years. |
| Days since contract start |
Number, = only |
Full days between the contract start date and today. |
| Days till cancellation takes effect |
Number, = only |
Full days until the member's cancellation takes effect, counting down. Only contracts with a cancellation on record have a value. Set the exact day you want to reach the member: 30 means one message, 30 days before they leave. |
| Days since cancellation received |
Number |
Full days since the member handed in their cancellation notice, counting up. Only contracts with a cancellation on record have a value. |
| Days since cancellation |
Number, = only |
Full days since the contract's cancellation date. Only cancelled contracts have a value. |
| Days until freeze end |
Number |
Full days until the member's contract freeze ends, counting down. Only members with a current or upcoming freeze have a value. |
| Days till birthday |
Number |
Days until the member's next birthday. 0 means the birthday is today. Members born on 29 February celebrate on 28 February in non-leap years. Members without a date of birth never match. |
| Is drifting |
Yes/No |
Yes when the member had 3 or more check-ins in the fortnight before last and only 1 or 2 in the last fortnight. Members with no check-ins at all are not drifting; Dormancy covers them. |
Lead fields
These fields are only available in the New Lead trigger. See also: Configure the New lead trigger in Engage.
| Field |
Type |
What it contains |
| Origin type |
Selection with contains |
The source that created the lead. Values: Landing page, Personalised offer, MySports, MySports App, MySports Web, Member Chatbot, Connect API, Open API. Use "contains MySports" to cover MySports, MySports App and MySports Web in one condition. "= MySports" does not include the App and Web values. |
| Campaign |
Selection |
One active campaign in the selected studio. Only active campaigns appear in the list, and a lead without a campaign never matches. |
Operators by field type
| Field type |
Operators |
| Number |
>, ≥, <, ≤, = |
| Number, = only |
= |
| Date |
>, ≥, <, ≤, =, ≠ |
| Yes/No |
= |
| Selection |
=, ≠ |
| Text, Selection with contains |
=, ≠, contains |
Note: This article was created with the help of artificial intelligence and editorially reviewed.