Automations

Update an organization lead follow-up automation

Changed on

Updates an automation for current-organization leads, changing triggers, message steps, routing, or active follow-up settings.

put/automations/{id}

Request

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

Path parameters

id, string required

The ID of the automation.

Request body

AutomationRequest required

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

timeZoneId, string nullable

Time zone used by workflow time and day conditions in preview and runtime. New workflows default to the organization's time zone.

description, string nullable

Human-readable description that explains this automation configuration request to API users.

enabled, boolean nullable

Indicates whether this automation configuration request is active and available in the Leadping API.

scope, string nullable

Scope that limits where this automation configuration request applies in Leadping.

visibility, string nullable

Visibility level that controls who can see this automation configuration request.

triggers, AutomationTrigger[]

Automation triggers that can start this workflow.

conditionGroups, AutomationConditionGroup[]

Grouped automation conditions used to decide whether this workflow should run.

actions, AutomationAction[]

Automation actions configured or returned for this workflow.

connections, AutomationConnection[]

Directed connections between nodes in this automation graph.

version, integer

Version number for this automation configuration request schema or saved configuration.

name, string required
id, string nullable

Response

Returns the automation response.

AutomationResponse required

Describes automation configuration data returned by Leadping.

timeZoneId, string

Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.

isDemo, boolean

Whether this record belongs to demo data.

description, string nullable

Human-readable description that explains this automation configuration response to API users.

enabled, boolean nullable

Indicates whether this automation configuration response is active and available in the Leadping API.

organizationId, string nullable

Organization ID that owns this automation.

createdByUserId, string nullable

User ID of the person who created this automation configuration response.

scope, string nullable

Scope that limits where this automation configuration response applies in Leadping.

visibility, string nullable

Visibility level that controls who can see this automation configuration response.

managementLevel, string nullable

Management level that controls whether Leadping or the organization owns this automation setting.

isSystemManaged, boolean

Indicates whether Leadping manages this automation configuration response automatically instead of a user.

triggers, AutomationTrigger[]

Automation triggers that can start this workflow.

conditionGroups, AutomationConditionGroup[]

Grouped automation conditions used to decide whether this workflow should run.

actions, AutomationAction[]

Automation actions configured or returned for this workflow.

connections, AutomationConnection[]

Directed connections between nodes in this automation graph.

scheduleStartedAt, string date-time

When the current automation version was saved and its schedule started.

lastRunAt, string date-time nullable

UTC timestamp when this automation last ran.

lastRunStatus, string nullable

Status from the most recent automation run.

version, integer

Version number for this automation configuration response schema or saved configuration.

user, IdNamePair nullable

User summary connected to this automation configuration response.

organization, IdNamePair nullable

User summary connected to this automation configuration response.

name, string
id, string
createdAt, string date-time
modifiedAt, string date-time nullable

Changes

    • info

      added the optional property allOf[#/components/schemas/AutomationResponse]/scheduleStartedAt to the response with the status

    • info

      the request property allOf[#/components/schemas/AutomationRequest]/timeZoneId became nullable (media type: application/json)

    • info

      the request property allOf[#/components/schemas/AutomationRequest]/timeZoneId became nullable (media type: application/*+json)