Automations

Runs an automation through its Manual trigger.

Changed on

Starts the specified automation through its manual trigger and returns the newly created execution record.

post/automations/{id}/run

Request

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

Path parameters

id, string required

The unique identifier of the automation to run.

Response

Returns the newly created automation execution record.

AutomationRunRecord required

History record schema for Leadping API automation run record data exposed in automation and audit views.

automationLineage, AutomationLineage nullable

Persisted origin of an automation run and the events produced by its actions.

id, string

Unique Leadping identifier for this automation run record.

automationId, string nullable

Automation ID connected to this workflow, run, or event.

organizationId, string nullable

Organization ID that owns this automation run.

leadId, string nullable

Lead ID that triggered this automation run, when the run is lead-based.

triggerType, string nullable

Automation trigger type that starts the workflow.

triggerId, string nullable

Identifier of the trigger node selected when this run was queued.

conditionResults, object

Results of condition nodes already visited by this run, preserved across waits and retries.

status, string

Current lifecycle status for this automation run record in the Leadping API.

executionMode, string

Execution mode used for automation preview or live workflow processing.

startedAt, string date-time

UTC timestamp when processing started for this automation run record.

completedAt, string date-time nullable

UTC timestamp when processing completed for this automation run record.

processingAttempts, integer

Number of processing attempts made for this workflow or delivery request.

lastAttemptAt, string date-time nullable

UTC timestamp when Leadping last attempted to process this automation run.

failureCode, string nullable

Machine-readable failure code for troubleshooting this automation run record.

skippedReason, string nullable

Human-readable reason explaining why Leadping skipped this automation run.

actions, AutomationActionRunRecord[]

Automation actions configured or returned for this workflow.

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status