Skip to main content

Trigger Components

Triggers are the starting point of every automation. They define when your automation runs by listening for specific events in your Statisfy data.

How Triggers Work

When a trigger event occurs:
  1. The trigger component receives the event with the entity ID
  2. It loads the full entity data from the database
  3. It establishes the Flow Context with entity information
  4. It outputs a Data object containing the entity details
  5. Connected downstream nodes begin executing
Every automation must have exactly one trigger. You cannot have multiple triggers or start an automation without one.

Account Segment V2

Triggers when an account enters or exits a specified segment.

When to Use

  • Alert when accounts become at-risk
  • Notify when accounts qualify for upsell
  • Take action when account criteria change

Configuration

FieldDescription
SegmentSelect the account segment to monitor
Trigger OnEnter, Exit, or Both

Output Data

{
  "account_id": "acc_123",
  "account_data": {
    "name": "Acme Corp",
    "owner_name": "Jane Smith",
    "owner_email": "jane@company.com",
    "health_score": 75,
    "arr": 150000,
    "renewal_date": "2024-06-15",
    "custom_fields": { ... }
  }
}

Flow Context

Sets account_id (the account identifier) and account_data (the full account object) for downstream nodes. Use @account_id to reference the ID and @account_data.field_name to access account properties.

Task Segment V2

Triggers when a task matches specified criteria or enters a segment.

When to Use

  • Alert when tasks become overdue
  • Notify when high-priority tasks are created
  • Escalate tasks based on criteria

Configuration

FieldDescription
SegmentSelect the task segment to monitor
Task TypesFilter by specific task types (optional)

Output Data

{
  "task_id": "task_456",
  "task_data": {
    "title": "Follow up on renewal",
    "status": "Open",
    "priority": "High",
    "due_date": "2024-03-01",
    "assignee": "john@company.com",
    "description": "..."
  },
  "account_id": "acc_123",
  "account_data": { ... }
}

Flow Context

Sets task_id (the task identifier), task_data (the full task object), account_id (the associated account identifier), and account_data (the associated account object) for downstream nodes. Use @task_data.field_name to access task properties and @account_data.field_name for account properties.

User Segment V2

Triggers when a user/contact enters or exits a specified segment.

When to Use

  • Alert when a champion leaves
  • Identify new power users
  • Track user engagement changes

Configuration

FieldDescription
SegmentSelect the user/people segment to monitor

Output Data

{
  "user_id": "user_789",
  "user_data": {
    "name": "John Doe",
    "email": "john@acme.com",
    "title": "VP of Engineering",
    "account_id": "acc_123",
    "last_activity": "2024-02-15"
  }
}

Flow Context

Sets user_id (the user identifier) and user_data (the full user object) for downstream nodes. Use @user_id to reference the ID and @user_data.field_name to access user properties.

Contact Segment V2

Triggers when a contact matches specified segment criteria.

When to Use

  • Identify key stakeholders
  • Track contact engagement
  • Alert on contact role changes

Configuration

FieldDescription
SegmentSelect the contact segment to monitor

Output Data

Similar to User Segment, contains contact details including name, email, title, and associated account information.

Opportunity Segment V2

Triggers when an opportunity enters or exits a segment.

When to Use

  • Alert on deal stage changes
  • Notify when opportunities become at-risk
  • Track expansion opportunities

Configuration

FieldDescription
SegmentSelect the opportunity segment to monitor

Output Data

{
  "opportunity_id": "opp_123",
  "opportunity_data": {
    "name": "Acme Corp - Expansion",
    "stage": "Negotiation",
    "amount": 50000,
    "close_date": "2024-04-30",
    "probability": 75,
    "owner": "sales@company.com"
  }
}

Process Activity V2

Triggers after a customer activity is processed by Statisfy’s activity engine.

When to Use

  • React to specific customer activities
  • Trigger workflows based on engagement
  • Process activity-driven automations

Configuration

FieldDescription
Activity TypesFilter by specific activity types (optional)
SourcesFilter by activity source (optional)

Output Data

{
  "activity_id": "act_456",
  "activity_data": {
    "type": "Meeting",
    "source": "Calendar",
    "timestamp": "2024-02-20T10:00:00Z",
    "participants": ["john@acme.com", "jane@company.com"],
    "summary": "..."
  },
  "account_id": "acc_123",
  "account_data": { ... }
}

Flow Context

Sets activity_id (the activity identifier), activity_data (the full activity object), account_id (the associated account identifier), and account_data (the associated account object) for downstream nodes. Use @activity_data.field_name to access activity properties and @account_data.field_name for account properties.

Activity Segment V2

Triggers when activities match segment criteria.

When to Use

  • Monitor for specific activity patterns
  • Alert on activity anomalies
  • Track engagement thresholds

Configuration

FieldDescription
SegmentSelect the activity segment to monitor

Meeting Segment V2

Triggers when meetings match specified criteria.

When to Use

  • Follow up after customer meetings
  • Track meeting frequency
  • Alert on missed meetings

Configuration

FieldDescription
SegmentSelect the meeting segment to monitor

Output Data

Contains meeting details including participants, time, duration, and associated account information.

Project Segment V2

Triggers when a project enters or exits a segment.

When to Use

  • Alert on project health changes
  • Track implementation progress
  • Monitor onboarding projects

Configuration

FieldDescription
SegmentSelect the project segment to monitor

Output Data

Contains project details including name, status, tasks, and associated account information.

Scheduler V2

Triggers on a scheduled time basis (cron-style scheduling).

When to Use

  • Run daily/weekly reports
  • Periodic data updates
  • Scheduled batch operations

Configuration

FieldDescription
ScheduleCron expression or preset schedule
TimezoneTimezone for schedule evaluation

Output Data

{
  "triggered_at": "2024-02-20T09:00:00Z",
  "schedule": "0 9 * * *"
}
Scheduler triggers don’t have entity context. You’ll need to use processing nodes to fetch the data you need.

Common Trigger Patterns

Pattern: Segment + Condition

Combine segment triggers with conditions for fine-grained control:
Account Segment → Condition (ARR > 100K) → Action

Pattern: Multi-Entity Context

When you need data from multiple entities:
Task Segment → (has account_data from context) → Send Email

Pattern: Scheduled + Data Fetch

For scheduled operations that need entity data:
Scheduler → SQL Query (fetch accounts) → Loop through results

Next Steps

Action Components

Learn about actions you can take

Processing Components

Transform and manipulate data