Automations

Preview a lead follow-up automation

Changed on

Preview matched automation steps and messages for a sample lead without creating follow-up events, or use validate_only to check the automation configuration.

post/automations/preview

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Query parameters

validate_only, boolean

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

Request body

AutomationPreviewRequest required

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

automation, AutomationRequestSnapshot required

Public Leadping API schema for automation request snapshot data.

triggerType, string nullable

Automation trigger type that starts the workflow.

Response

Returns the automation preview response.

AutomationPreviewResponse required

Describes automation preview data returned by Leadping.

triggerType, string nullable

Automation trigger type that starts the workflow.

samplePayload, object

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

validation, AutomationValidationResult

Result schema for the Leadping API automation validation result returned by lookup and validation endpoints.

conditionResults, AutomationPreviewConditionResult[]

Condition evaluation results returned by the automation preview.

actionResults, AutomationPreviewActionResult[]

Action preview results showing what the automation would do.

warnings, string[]

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

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status