Flows define the complete processing pipeline for lead submissions, from data ingestion through delivery. Each flow creates a configurable handler that processes leads through a series of middleware steps in strict sequence.
An internal representation of a Prismatic instance.
| name | string A customizable name of the destination. |
| integration_name | string The name of the integration as published in the Marketplace. |
| integration_icon_url | string Pre-signed URL for the integration icon. |
| instance_id | string The Prismatic instance ID. |
Array of objects A list of actions available in the configured instance. These map to Prismatic "flows" within an instance. | |
object Contains data on flows in which the destination is used.
This field is optional and is only included when the |
{- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}| id | string (FlowID) ^[0-9a-fA-F]{24}$ 24 character alpha-numeric BSON identifier |
| name required | string non-empty The name of the flow |
| errors | object Errors preventing this flow from being saved |
| enabled required | boolean Disabling a flow will prevent any processing of lead submissions. Submission will result in an error outcome. |
| fields required | Array of strings (FieldID) The list of fields (IDs) representing the lead to be processed by this flow. |
null or Array of objects (Caps) | |
object (acceptance-criteria) A submitted lead that fails an acceptance criteria rule will be rejected. Lead submission will result in a failure outcome. | |
object (Pricing) This pricing configuration applies to all leads submitted to this flow. Pricing determines the value of
the Each price is evaluated and the last price for which all rules match will determine the amount used
for the | |
object (ListChecks) Check the lead against SuppressionList lists to see if it's a duplicate, and existing customer, or is on the do-not-call list. | |
Array of objects (Destination) | |
required | Array of objects (Source) Flows accommodate multiple lead sources. Each source has:
|
required | Array of objects (Step) After executing acceptance criteria, caps, and pricing, for the source and flow, steps are processed in order sequentially. |
| ping_enabled | boolean Default: false |
Array of objects (PingLimits) | |
object (PricingServiceConfiguration) The configuration required on a Source or Flow to define a Pricing Service for lead pricing. | |
object (Firehose) Firehose configuration for exporting event data to cloud storage. Supports a legacy flat format (AWS S3 only) and a service-based format that allows multiple cloud storage providers. | |
| level | string The level of the flow, e.g. 'minimal' for buyer accounts |
| created_at | string <date-time> (Timestamp) |
| updated_at | string <date-time> (Timestamp) |
{- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| enabled required | boolean |
required | object |
required | object |
required | object |
object | |
object (acceptance-criteria) A submitted lead that fails an acceptance criteria rule will be rejected. Lead submission will result in a failure outcome. | |
object | |
required | Array of objects |
null or object | |
object (PricingServiceConfiguration) The configuration required on a Source or Flow to define a Pricing Service for lead pricing. | |
null or object | |
object (PricingServiceConfiguration) The configuration required on a Source or Flow to define a Pricing Service for lead pricing. | |
| pingable required | boolean |
| ping_enabled required | boolean |
| updated_at required | string <date-time> |
| authorized_account required | boolean |
{- "enabled": true,
- "account": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "ActiveProspect, Inc."
}, - "flow": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}, - "source": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "authentication_required": false
}, - "hours_of_operation": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "flow_acceptance_criteria": { },
- "params": [
- {
- "name": "first_name",
- "label": "First Name",
- "description": "First name",
- "type": "first_name",
- "variable": "first_name",
- "examples": [
- "Mike",
- "Robert",
- "Janet"
], - "required": "no"
}
], - "flow_pricing": null,
- "flow_pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "source_pricing": null,
- "source_pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "pingable": true,
- "ping_enabled": false,
- "updated_at": "2025-03-20T15:06:01.777Z",
- "authorized_account": true
}The result of submitting a lead to a flow source or to a router. Returned as JSON
by default, or as XML or form encoding when requested via the Accept header.
The response is produced by the source's inbound integration; this is the shape
produced by the standard integrations.
| outcome required | string Whether the flow accepted the lead. Check this field rather than the status
code: a lead rejected by the flow's acceptance criteria or by a cap is still
reported with |
| reason | string or null Why the lead was not accepted. Absent or |
object The lead that was created. | |
| price | number The price of the lead. |
{- "outcome": "success",
- "reason": "lead.phone must have valid format",
- "lead": {
- "id": "5fd4371e940df5a34a3888b2"
}, - "price": 20
}The result of a ping. Same shape as a submission response, without the lead
object because a ping does not create a lead.
| outcome required | string Whether the flow would accept the lead. |
| reason | string or null Why the lead would not be accepted. Absent or |
| price | number The price the flow would pay for the lead. |
{- "outcome": "success",
- "reason": "lead.phone must have valid format",
- "price": 20
}When a lead is submitted to a flow's source endpoint, it passes through a predetermined middleware chain organized into distinct phases:
Setup:
Inbound Request Processing:
Inbound Validation:
Steps Execution:
Flows accommodate multiple data sources through the sources array. Each source has:
The steps array defines sequential processing after lead acceptance. Steps are combined with any configured destinations and executed in order.
Step Types:
Step Execution Details:
enabled: false) are skipped but countedRecipient Step Processing Pipeline: Recipient steps mirror the inbound validation structure but in reverse - transforming data for outbound delivery:
Step Configuration:
Flows are composed of:
The /destinations resource is used to query destinations
which have been configured in the LeadConduit app.
If no destinations are configured for your account, this resource will return an empty array.
Destinations returned from this endpoint can be
added to flows.
OK
Authorization information is missing or invalid.
[- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
]Returns all the flows associated to an account
OK
Authorization information is missing or invalid.
[- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": null,
- "lhv": null,
- "op": null,
- "rhv": null,
- "rule_set": null
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": null,
- "lhv": null,
- "op": null,
- "rhv": null,
- "rule_set": null
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": null,
- "lhv": null,
- "op": null,
- "rhv": null,
- "rule_set": null
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": null,
- "property": null,
- "value": null,
- "rule_set": null
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Create a new flow, adding it to the list of all flows in the account. The caller may specify an ID for a flow, provided it is a valid BSON ID
Create a new flow
Created
{- "name": "Sales Leads",
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "property": "string",
- "value": "string",
- "rule_set": {
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Update an existing Flow
Update a flow
OK
{- "name": "Sales Leads",
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "property": "string",
- "value": "string",
- "rule_set": {
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Once a flow is deleted it will no longer accept leads. Attempting to submit leads to a deleted flow will result in an HTTP 404. Returns the flow as it existed at the time of deletion.
OK
{- "id": "5fd4371e940df5a34a3888b2",
- "name": "Sales Leads",
- "errors": { },
- "enabled": true,
- "fields": [
- "first_name",
- "last_name",
- "email",
- "phone_1",
- "address_1",
- "city",
- "state",
- "postal_code",
- "trustedform_cert_url"
], - "caps": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}
}
]
}, - "list_checks": {
- "duplicate": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "existing_customer": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}, - "dnc": {
- "value": "string",
- "list_name": "string",
- "lookback": { }
}
}, - "destinations": [
- {
- "name": "Salesforce",
- "integration_name": "string",
- "integration_icon_url": "string",
- "instance_id": "string",
- "actions": [
- {
- "name": "Add Lead",
- "action_id": "Add Lead",
- "webhook_url": "string"
}
], - "flow_usages": {
- "count": 0,
- "flows": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}
]
}
}
], - "sources": [
- {
- "id": "1aacd0",
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "entity": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "time_zone": "America/New_York"
}, - "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "feedback": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "id": "1aacd0",
- "property": "string",
- "value": "string",
- "rule_set": {
- "id": null,
- "op": null,
- "rules": [ ]
}
}
]
}
}, - "caps": { },
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "credential_id": "string",
- "pricing": {
- "override": true,
- "prices": [
- {
- "id": { },
- "amount": 0,
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- null
]
}
}
]
}, - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "enabled": true,
- "authentication_required": true
}
], - "steps": [
- {
- "type": "filter",
- "id": "1aacd0",
- "description": "string",
- "notes": "string",
- "reason": "string",
- "outcome": "string",
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "enabled": true
}
], - "ping_enabled": false,
- "ping_limits": [
- {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "maximum": 0,
- "duration": 0,
- "duration_units": "string",
- "time_zone": "America/New_York",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "firehose": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string",
- "services": {
- "aws": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "prefix": "string"
}, - "azure": {
- "enabled": true,
- "credential_id": "string",
- "bucket": "string",
- "connection_string": "string",
- "prefix": "string"
}
}
}, - "level": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}A flow defines how lead submissions will be handled. In order to make a flow's latest state active for lead handling, it must be deployed. Because changes to a flow can be made without deploying them, you are free make flow updates without affecting current lead handling. Put another way, a deployment must be performed after it is created or updated in order for lead handling to start using the new configuration.
OK
{- "message": "Your flow was deployed and the most recent changes are now live"
}List fields associated to the Flow
OK
[- {
- "id": "first_name",
- "name": "First Name",
- "type": "boolean",
- "description": "string",
- "standard": true,
- "aggregate": true,
- "deprecated": true,
- "see": "first_name",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]Count the number of leads processed by flow field. This tells you which and how much each flow field was used today. You can change the timeframe using the timeframe parameter (i.e. timeframe=previous_30_days), though this is discouraged because this query is fairly heavy.
OK
{- "property1": 0,
- "property2": 0
}Returns metadata about a source within a specified flow, including parameters, account details, and operational settings.
Successful response with source metadata
Bad request due to invalid flow_id or source_id
Flow or source not found
{- "enabled": true,
- "account": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "ActiveProspect, Inc."
}, - "flow": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string"
}, - "source": {
- "id": "5fd4371e940df5a34a3888b2",
- "name": "string",
- "authentication_required": false
}, - "hours_of_operation": { },
- "acceptance_criteria": {
- "rule_set": {
- "id": "1aacd0",
- "op": "and",
- "rules": [
- {
- "id": "1aacd0",
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "outcome": "failure",
- "reason": "string"
}, - "flow_acceptance_criteria": { },
- "params": [
- {
- "name": "first_name",
- "label": "First Name",
- "description": "First name",
- "type": "first_name",
- "variable": "first_name",
- "examples": [
- "Mike",
- "Robert",
- "Janet"
], - "required": "no"
}
], - "flow_pricing": null,
- "flow_pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "source_pricing": null,
- "source_pricing_service": {
- "service_id": "string",
- "fallback_price": 0
}, - "pingable": true,
- "ping_enabled": false,
- "updated_at": "2025-03-20T15:06:01.777Z",
- "authorized_account": true
}Submits a lead to a source within a flow. The lead is stored, every step of the flow runs, and the response tells you whether the lead was accepted and at what price.
The body may be JSON, XML, or form encoded; set the Content-Type header accordingly.
The source's inbound integration decides which fields are understood. The response is
JSON by default, or XML or form encoding when requested via the Accept header.
Authentication depends on the source. When the source requires it, send the source's credentials with HTTP Basic authentication; otherwise no credentials are needed. The account API key is not used on this endpoint.
A 201 means the lead was processed, not that it was accepted: a lead rejected by the
flow's acceptance criteria or by a cap also comes back 201, with outcome: "failure"
and the reason. Always check outcome rather than the status code.
The lead data to submit, as key-value pairs.
The lead was processed. Check outcome: a lead rejected by the flow's acceptance
criteria or by a cap is also reported here, with outcome: "failure" and the reason.
The account that owns the flow is unpaid.
The flow or the source is disabled.
The flow does not exist, the source has not been added to it, or the source's inbound integration is not installed.
The request body is larger than the 10 MB limit.
The flow_id or the source_id is not a valid ID, or the source requires
authentication and the credentials are missing or wrong.
{- "email": "user@example.com",
- "fname": "Example User"
}{- "outcome": "success",
- "reason": "lead.phone must have valid format",
- "lead": {
- "id": "5fd4371e940df5a34a3888b2"
}, - "price": 20
}Asks a flow whether it would accept a lead, and at what price, without submitting it.
This is the pre-check used in real-time bidding: the seller pings first and only posts
the full lead to /submit if the answer is worth it.
A ping sends the same fields as a submission, in the query string for GET or in the
body for POST. Nothing is stored and no flow step runs. Acceptance criteria are
evaluated leniently: rules that need a field the ping did not include are skipped, so a
partial lead can still get an answer.
Pings must be enabled on the flow (ping_enabled) and the source's inbound integration
must support them. No credentials are needed. Ping limits on the flow or the source
apply to this endpoint and reject a ping over the limit with 429. Caps apply too: a
ping to a flow or source whose cap is reached is answered with outcome: "failure"
and the reason Cap reached. Pings are not counted against caps, since no lead is created.
The ping was evaluated. Check outcome to see whether the flow would accept the lead.
The request carried no lead data, or the source's inbound integration does not support pings.
The account that owns the flow is unpaid.
The flow or the source is disabled.
The flow does not exist, the source has not been added to it, or the source's inbound integration is not installed.
The request body is larger than the 10 MB limit.
The flow_id or the source_id is not a valid ID, or pings are not enabled on the flow.
A ping limit on the flow or the source was reached. Wait for retry_after milliseconds (also sent as the Retry-After header) before pinging again.
{- "outcome": "success",
- "reason": "lead.phone must have valid format",
- "price": 20
}Same as the GET form, with the lead fields sent in the request body as JSON, XML, or
form encoding (set the Content-Type header accordingly). See GET for the behavior
and the error cases.
The lead data to evaluate, as key-value pairs. A partial lead is fine.
The ping was evaluated. Check outcome to see whether the flow would accept the lead.
The source's inbound integration does not support pings.
The account that owns the flow is unpaid.
The flow or the source is disabled.
The flow does not exist, the source has not been added to it, or the source's inbound integration is not installed.
The request body is larger than the 10 MB limit.
The flow_id or the source_id is not a valid ID, or pings are not enabled on the flow.
A ping limit on the flow or the source was reached. See the GET form for the body and the Retry-After header.
{- "email": "user@example.com",
- "phone_1": "5125551212"
}{- "outcome": "success",
- "reason": "lead.phone must have valid format",
- "price": 20
}Runs the full handler middleware pipeline for a single recipient step. Processes raw inbound data through the source's inbound integration and field mappings, evaluates acceptance criteria, then sends the mapped data to the recipient step's integration module and returns the outcome. Events are created during pipeline execution.
submission_data can be a JSON object (automatically serialized as application/json) or a raw string paired with a content_type field to support any inbound format the source's integration accepts (JSON, form-urlencoded, XML, etc.).
If the recipient integration requires a credential, provide it via the optional step_credential field — either as a credential_id referencing a stored credential, or as an inline credential object for unsaved credentials. Gated behind the enable-distribution-step feature flag; returns 404 when the flag is off.
The step configuration, inbound submission data (object or raw string with content_type), and optional credential.
The integration execution result including outcome and events generated during pipeline processing.
API key authentication failed or was not provided.
Account is unpaid and flow level is not minimal.
Feature flag is off (empty body), flow/source not found, or credential not found (when step_credential.credential_id is provided). When the feature flag is off, the response has no body and no JSON content.
Validation error in request body, integration module not found, or invalid path parameters (flow_id / source_id).
{- "step_config": {
- "integration": {
- "module_id": "leadconduit-salesforce.outbound.create_contact",
- "mappings": [
- {
- "property": "string",
- "value": "string",
- "rule_set": {
- "op": "and",
- "rules": [
- {
- "id": null,
- "lhv": null,
- "op": null,
- "rhv": null,
- "rule_set": null
}
]
}
}
]
}, - "rule_set": {
- "op": "and",
- "rules": [
- {
- "lhv": "string",
- "op": "is equal to",
- "rhv": "TX",
- "rule_set": { }
}
]
}, - "entity": {
- "time_zone": "America/New_York"
}
}, - "submission_data": {
- "fname": "Jane",
- "lname": "Doe",
- "email": "user@example.com",
- "phone": "5125551234"
}, - "content_type": "application/x-www-form-urlencoded",
- "step_credential": {
- "credential_id": "507f1f77bcf86cd799439011"
}
}{- "outcome": "success",
- "reason": null,
- "events": [
- {
- "type": "recipient",
- "outcome": "success",
- "reason": null,
- "billable": 1,
- "vars": { }
}
]
}