latestOpenAPI 3.0.02026-08-081631260.8 KB

ae9d64e51a99

Automations

Runs a specific automation

Note: Currently for this endpoint we only support those automations that have "Salesforce flow is executed" as a trigger

post/automations/{id}/run

Path parameters

idstring uuid required
Example:1e013958-867e-43fb-8210-c98ab139beb6

Automation ID

Request body

attachmentsstring[]

Publicly accesible links to files

contactsstring[]

List of Salesforce Contact IDs

object_idstring required
object_typestring required

Example request

{
  "attachments": [
    "https://contractbook.com/file.pdf"
  ],
  "contacts": [
    "0030900000Ujt0BAAR",
    "0030900000Ujt0GAAR"
  ],
  "object_id": "0060900000FpKajAAF",
  "object_type": "Opportunity"
}

Response

Success