POST /schedule_triggers
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/schedule_triggers
Create a Schedule Trigger
Add a trigger to a schedule that ends the schedule for a lead when the lead matches the given trigger_type, such as elapsed time since a timestamp or a matching token value. When multiple triggers exist, the first one to match a lead determines its exit.
Params
| Param name | Description |
|---|---|
|
schedule_id Required |
Schedule internal id
|
|
name Required |
The trigger name
|
|
trigger_type Required |
The schedule ends when the lead has taken this action.
|
|
expire_minutes Optional Blank value allowed |
The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.
|
|
expire_timestamp_name Optional Blank value allowed |
Which lead timestamp expire_minutes is measured from, such as created_at, first_queued_at, or first_action_at.
|
|
record_token_filter_list Optional Blank value allowed |
Assign filters to the object by passing an array of key:value pairs
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
|
token_value_ids Optional Blank value allowed |
The first trigger matching the lead will be used.
|
|
attribution_token_value_ids Optional Blank value allowed |
These extra tokens will be applied to leads that exit the schedule through this trigger.
|
|
sortable_order Optional Blank value allowed |
The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.
|