JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| userId | string | Yes | User identifier |
| accountId | string | Yes | Account identifier |
| userEmail | string | No | User email address |
| lastActiveDate | string | No | ISO 8601 last activity date |
| inactiveDays | number | No | Days since last activity |
When to Fire
- When user hasn’t logged in for defined period (e.g., 30 days)
- When automated inactivity check triggers
- When engagement score drops below threshold