Skip to main content
POST
Preview a lead follow-up automation

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Query Parameters

validate_only
boolean

When true, validates the automation without evaluating actions or writing an audit event.

Body

The automation preview request payload for the operation.

Defines the fields clients can send when working with automation preview.

automation
object
required

Automation configuration to evaluate without executing live actions.

triggerType
null | string

Automation trigger type that starts the workflow.

Response

Returns the automation preview response.

Describes automation preview data returned by Leadping.

triggerType
null | string

Automation trigger type that starts the workflow.

samplePayload
object

Example payload clients can use to understand this automation preview response format.

validation
object

Validation result returned for the automation configuration.

conditionResults
object[]

Condition evaluation results returned by the automation preview.

actionResults
object[]

Action preview results showing what the automation would do.

warnings
string[]

Warnings returned for this automation preview response that do not necessarily block processing.