Skip to main content
name
string
required

The name of the flow

Minimum string length: 1
Example:

"Sales Leads"

enabled
boolean
required

Disabling a flow will prevent any processing of lead submissions. Submission will result in an error outcome.

Example:

true

fields
string[]
required

The list of fields (IDs) representing the lead to be processed by this flow.

Example:
[
"first_name",
"last_name",
"email",
"phone_1",
"address_1",
"city",
"state",
"postal_code",
"trustedform_cert_url"
]
sources
object[]
required
steps
(Filter Step · object | Recipient Step · object)[]
required

A filter step is used to stop processing a lead from advancing to the next flow step. This is conceptually similar to an email inbox filter. If the lead matches the rules then the flow is stopped, which effectively filters out the lead. When a filter step stops the flow, the source receives an immediate response and no further steps are processed.

caps
null | object[]

Caps on leads submitted into this flow from any source. These caps will be processed before caps set on a source.

Minimum array length: 1
acceptance_criteria
Acceptance Criteria · object

A submitted lead that fails an acceptance criteria rule will be rejected. Lead submission will result in a failure outcome.

pricing
object

This pricing configuration applies to all leads submitted to this flow. Pricing determines the value of the purchase_price and cost property on the source event recorded when a lead is submitted.

Each price is evaluated and the last price for which all rules match will determine the amount used for the purchase_price and cost. If none of these prices match for a particular lead, source pricing will be evaluated. If no price matches, the price properties on the source event will be set to 0.

list_checks
object

Check the lead against SuppressionList lists to see if it's a duplicate, and existing customer, or is on the do-not-call list.

destinations
object[]
ping_enabled
boolean
default:false
ping_limits
Ping Limit · object[]
pricing_service
object

The configuration required on a Source or Flow to define a Pricing Service for lead pricing.

firehose
object