POST /text_message_flows
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/text_message_flows
Create SMS Flow.
Creates an SMS Flow that matches inbound text messages against a pattern, tied to an offer, and optionally requests and validates a reply from the recipient.
Params
| Param name | Description |
|---|---|
|
description Optional |
Description
|
|
offer_id Optional |
Offer
|
|
parse_value_with_expression Optional |
Parse Value With Expression
|
|
value_formatter Optional |
Value Formatter
|
|
value_expression Optional |
Value Expression
|
|
use_flow_when_pattern_matches Optional |
Use Flow When Pattern Matches
|
|
record_token_filter_id Optional |
Record Token Filter
|
|
token_value_ids Optional |
Token Value Ids
|
|
request_a_response Optional |
Request A Response
|
|
response_message Optional Blank value allowed |
The outgoing SMS message sent back to the consumer when this flow matches the incoming message.
|
|
assert_acceptable_with_contact_field Optional |
Assert Acceptable With Contact Field
|
|
response_message_when_unacceptable Optional |
Response Message When Unacceptable
|
|
attribution_token_value_ids Optional |
Attribution Token Value Ids
|
|
contact_field_assign_id Optional Blank value allowed |
The Contact Field the consumer’s reply is saved to on the lead.
|
|
contact_field_validate_id Optional Blank value allowed |
The Contact Field checked against the accepted responses when
|
|
process_response_with_sms_flow_type Optional Blank value allowed |
How the consumer’s reply is passed on for further processing after this flow matches. One of
|
|
valid_responses_csv Optional Blank value allowed |
A comma-separated list of the responses accepted as valid when
|
|
wait_for_response_seconds Optional Blank value allowed |
How many seconds Trackdrive waits for the consumer’s reply before giving up on this flow.
|
|
text_message_flow_id Optional Blank value allowed |
The parent SMS Flow this flow is nested under, tried when the parent’s reply is passed to its nested flows.
|
|
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.
|