Automations

Create an active Automation from an app surface

Changed on

Den schedules Automations and keeps durable run history. A Desktop Automation runs on any of the owner's connected desktops (one pinned to a workspace, on a desktop that has it); a Cloud Automation runs in OpenWork Cloud. If no desktop runner is connected when a desktop occurrence is due, that occurrence is recorded as missed. Creation makes an Automation active immediately and uses the owner's current OpenWork Connect integrations. Deactivation stops future runs but does not cancel a run already in progress. This route creates Desktop Automations for first-party OpenWork clients, Desktop and Web alike. Agents must use createCloudAutomation so they cannot accidentally create Desktop placement.

post/v1/automations

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

union required
object required
OR
object required

Response

Active Automation created.

AutomationDetail required
automation, Automation required
revision, AutomationRevision required
latestRun, AutomationRun nullable required

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body anyOf list

    • breaking

      added subschema #6 to the revision/schedule response property oneOf list for the response status

    • info

      added subschema #1 subschema #2 to the request body anyOf list