---
title: "Runs a specific automation"
method: POST
path: "/automations/{id}/run"
tags: ["Automations"]
---

# Runs a specific automation

`POST /automations/{id}/run`

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

## Path parameters

- `id` string, uuid, required

## Request body

- AutomationRunRequest — Payload that will be passed to the automation when running it
  - `attachments` string[] — Publicly accesible links to files
  - `contacts` string[] — List of Salesforce Contact IDs
  - `object_id` string, required
  - `object_type` string, required

## Response `204`

Success

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable request

---

[API](https://skmtc.net/contractbook/apis/contractbook-api.md) · [All operations](https://skmtc.net/contractbook/apis/contractbook-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractbook/contractbook-api/revisions/ae9d64e51a99/schema)
