Key Press Flows
Defines what happens when someone on a call presses a specific key, such as ending the call, moving to the next buyer, or applying a call disposition.
GET /key_press_flows
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows
List Key Press Flow records.
Returns the Key Press Flows configured on the account, which define what happens when a caller presses a given key during an offer's IVR.
Params
| Param name | Description |
|---|---|
|
ids Optional |
Return records matching these ids.
|
|
page Optional |
Return the next page of results.
|
|
per_page Optional |
How many results to return per page. The default is 25.
|
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
|
fulltext Optional |
Search for any record that matches this text
|
|
time_zone Optional |
Date ranges will be parsed using this time zone.
|
|
columns Optional |
Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
Must be any combination of:
|
|
root Optional |
Pass
|
GET /key_press_flows/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows/new
Build Key Press Flow with defaults.
Returns a Key Press Flow built with default attributes for previewing available fields. It is not saved.
Params
| Param name | Description |
|---|---|
|
key_press_flow_group_id Optional Blank value allowed |
Key Press Flow Group
|
|
key_press Optional Blank value allowed |
The key that runs this flow: 0-9, *, #, or any to match any other key the caller presses.
|
|
description Optional Blank value allowed |
Description
|
|
continue_call_routing Optional Blank value allowed |
When enabled, pressing this key while connected to an external agent hangs up the current buyer legs and searches for the next matching call flow to connect the lead to a real buyer, instead of running call_disposition_id and call_control_action_ids.
|
|
call_disposition_id Optional Blank value allowed |
The disposition applied to the call when this key is pressed, instead of ending the call routing search.
|
|
call_control_action_ids Optional Blank value allowed |
The actions to run when this key is pressed, instead of ending the call routing search.
|
|
buyer_conference_time_elapsed_seconds_limit Optional Blank value allowed |
Only allows this key press once the buyer has been connected for at least this many seconds.
|
|
token_value_ids Optional Blank value allowed |
Only uses this Key Press Flow for calls matching these token values.
|
|
attribution_token_value_ids Optional Blank value allowed |
When this Key Press Flow’s actions run, the call will be tagged with these token values.
|
|
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.
|
POST /key_press_flows
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows
Create Key Press Flow.
Creates a Key Press Flow that ties a specific IVR key press to a key press flow group, along with token and call control action assignments.
Params
| Param name | Description |
|---|---|
|
key_press_flow_group_id Optional Blank value allowed |
Key Press Flow Group
|
|
key_press Optional Blank value allowed |
The key that runs this flow: 0-9, *, #, or any to match any other key the caller presses.
|
|
description Optional Blank value allowed |
Description
|
|
continue_call_routing Optional Blank value allowed |
When enabled, pressing this key while connected to an external agent hangs up the current buyer legs and searches for the next matching call flow to connect the lead to a real buyer, instead of running call_disposition_id and call_control_action_ids.
|
|
call_disposition_id Optional Blank value allowed |
The disposition applied to the call when this key is pressed, instead of ending the call routing search.
|
|
call_control_action_ids Optional Blank value allowed |
The actions to run when this key is pressed, instead of ending the call routing search.
|
|
buyer_conference_time_elapsed_seconds_limit Optional Blank value allowed |
Only allows this key press once the buyer has been connected for at least this many seconds.
|
|
token_value_ids Optional Blank value allowed |
Only uses this Key Press Flow for calls matching these token values.
|
|
attribution_token_value_ids Optional Blank value allowed |
When this Key Press Flow’s actions run, the call will be tagged with these token values.
|
|
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.
|
GET /key_press_flows/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows/:id
Get Key Press Flow by id.
Returns a single Key Press Flow by id.
PUT /key_press_flows/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows/:id
Update Key Press Flow by id.
Updates a Key Press Flow's key mapping, group, or associated tokens.
Params
| Param name | Description |
|---|---|
|
key_press_flow_group_id Optional Blank value allowed |
Key Press Flow Group
|
|
key_press Optional Blank value allowed |
The key that runs this flow: 0-9, *, #, or any to match any other key the caller presses.
|
|
description Optional Blank value allowed |
Description
|
|
continue_call_routing Optional Blank value allowed |
When enabled, pressing this key while connected to an external agent hangs up the current buyer legs and searches for the next matching call flow to connect the lead to a real buyer, instead of running call_disposition_id and call_control_action_ids.
|
|
call_disposition_id Optional Blank value allowed |
The disposition applied to the call when this key is pressed, instead of ending the call routing search.
|
|
call_control_action_ids Optional Blank value allowed |
The actions to run when this key is pressed, instead of ending the call routing search.
|
|
buyer_conference_time_elapsed_seconds_limit Optional Blank value allowed |
Only allows this key press once the buyer has been connected for at least this many seconds.
|
|
token_value_ids Optional Blank value allowed |
Only uses this Key Press Flow for calls matching these token values.
|
|
attribution_token_value_ids Optional Blank value allowed |
When this Key Press Flow’s actions run, the call will be tagged with these token values.
|
|
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.
|
DELETE /key_press_flows/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/key_press_flows/:id
Destroy Key Press Flow by id.
Permanently deletes a Key Press Flow, so pressing the associated key no longer triggers it.