---
title: "Clone automation"
method: POST
path: "/operations-manager/automations/clone"
tags: ["Operations Manager"]
---

# Clone automation

`POST /operations-manager/automations/clone`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/operations-manager/automations/clone`
- Auth: none declared

Clone an Automation.

## Request body

- object
  - `id` string: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
  - `name` string: The name of the document

## Response `200`

The result of the clone operation.

- OperationsManagerCloneAutomationResponse200: A success response from an API method
  - `message` string, required: A human-readable message summarizing the result of the operation
  - `data` union, required: An Automation document in API response format.
    - unknown
    - unknown
    - unknown
  - `metadata` OperationsManagerAutomationsClonePostResponsesContentApplicationJsonSchemaMetadata, required: Any structured, wordy or machine-readable information related to the result of the operation. For success responses, this may contain information like pagination values from a search operation.
    - `automaticChanges` string[]
    - `triggerCloneResults` OperationsManagerAutomationsClonePostResponsesContentApplicationJsonSchemaMetadataTriggerCloneResults
      - `message` string
      - `metadata` OperationsManagerAutomationsClonePostResponsesContentApplicationJsonSchemaMetadataTriggerCloneResultsMetadata
      - `data` OperationsManagerAutomationsClonePostResponsesContentApplicationJsonSchemaMetadataTriggerCloneResultsDataItems[]
        - `success` boolean
        - `data` union
          - OperationsManagerTriggerApi0: An Endpoint Trigger in API response format.
            - `name` string, required: The name of the document
            - `description` string, required: The description of the document
            - `enabled` boolean, required: A flag to determine if this Trigger is enabled or not.
            - `actionType` 'automations', required: The type of component this Trigger will invoke.
            - `actionId` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `options` OperationsManagerTriggerApiOneOf0Options: Configuration options specific to this trigger.
              - …
            - `lastExecuted` integer, nullable, required: A timestamp in milliseconds of the time this Trigger was last executed.
            - `migrationVersion` integer: The current document version of this document.
            - `createdBy` string, nullable, required
            - `created` string, date-time, required: An ISO 8601 date string
            - `lastUpdatedBy` string, nullable, required
            - `lastUpdated` string, date-time, required: An ISO 8601 date string
            - `type` unknown, required
            - `verb` unknown, required
            - `routeName` string, required: User defined route name.
            - `schema` OperationsManagerTriggerApiOneOf0Schema, required: POST body filter schema.
            - `_id` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `jst` string, nullable, required
          - OperationsManagerTriggerApi1: An EventSystem Trigger in API response format.
            - `name` string, required: The name of the document
            - `description` string, required: The description of the document
            - `enabled` boolean, required: A flag to determine if this Trigger is enabled or not.
            - `actionType` 'automations', required: The type of component this Trigger will invoke.
            - `actionId` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `options` OperationsManagerTriggerApiOneOf1Options: Configuration options specific to this trigger.
              - …
            - `lastExecuted` integer, nullable, required: A timestamp in milliseconds of the time this Trigger was last executed.
            - `migrationVersion` integer: The current document version of this document.
            - `type` unknown, required
            - `source` string, required: The source of the event.
            - `topic` string, required: The event topic.
            - `schema` OperationsManagerTriggerApiOneOf1Schema, required: Event payload filter schema.
            - `legacyWrapper` boolean, required: A boolean determining whether payload data is wrapped in a 'payload' property
            - `createdBy` string, nullable, required
            - `created` string, date-time, required: An ISO 8601 date string
            - `lastUpdatedBy` string, nullable, required
            - `lastUpdated` string, date-time, required: An ISO 8601 date string
            - `_id` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `jst` string, nullable, required
          - OperationsManagerTriggerApi2: A Manual Trigger in API response format.
            - `name` string, required: The name of the document
            - `description` string, required: The description of the document
            - `enabled` boolean, required: A flag to determine if this Trigger is enabled or not.
            - `actionType` 'automations', required: The type of component this Trigger will invoke.
            - `actionId` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `options` OperationsManagerTriggerApiOneOf2Options: Configuration options specific to this trigger.
              - …
            - `lastExecuted` integer, nullable, required: A timestamp in milliseconds of the time this Trigger was last executed.
            - `migrationVersion` integer: The current document version of this document.
            - `createdBy` string, nullable, required
            - `created` string, date-time, required: An ISO 8601 date string
            - `lastUpdatedBy` string, nullable, required
            - `lastUpdated` string, date-time, required: An ISO 8601 date string
            - `type` unknown, required
            - `formData` OperationsManagerTriggerApiOneOf2FormData, required: A JSON object created by filling out the associated JSON Form.
            - `formSchemaHash` string, nullable
            - `legacyWrapper` boolean, required: A boolean determining whether form data is wrapped in a 'formData' property
            - `_id` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `formId` string, nullable, required: The id of a JSON Form used to provide inputs to a job from this trigger.
          - OperationsManagerTriggerApi3: A Schedule Trigger in API response format.
            - `name` string, required: The name of the document
            - `description` string, required: The description of the document
            - `enabled` boolean, required: A flag to determine if this Trigger is enabled or not.
            - `actionType` 'automations', required: The type of component this Trigger will invoke.
            - `actionId` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `options` OperationsManagerTriggerApiOneOf3Options: Configuration options specific to this trigger.
              - …
            - `lastExecuted` integer, nullable, required: A timestamp in milliseconds of the time this Trigger was last executed.
            - `migrationVersion` integer: The current document version of this document.
            - `createdBy` string, nullable, required
            - `created` string, date-time, required: An ISO 8601 date string
            - `lastUpdatedBy` string, nullable, required
            - `lastUpdated` string, date-time, required: An ISO 8601 date string
            - `type` unknown, required
            - `formData` OperationsManagerTriggerApiOneOf3FormData, required: A JSON object created by filling out the associated JSON Form.
            - `formSchemaHash` string, nullable
            - `legacyWrapper` boolean, required: A boolean determining whether form data is wrapped in a 'formData' property
            - `firstRunAt` integer, required: A timestamp in milliseconds for the first scheduled run of this Trigger.
            - `nextRunAt` integer, nullable, required: A timestamp in milliseconds for the next scheduled run of this Trigger.
            - `lastIntervalStart` integer, nullable: A millisecond resolution timestamp denoting when the current run interval started. This is calculated using repeatEnd.
            - `processMissedRuns` 'none' | 'last', required: Describes how any missed job runs should be processed. A missed run is a job that was supposed to be ran at least 'n' seconds ago, but did not due to some issue with IAP (busy process, IAP was down, etc). 'none' means do not run any missed jobs. 'last' means only run the last missed job.
            - `locked` boolean, required: backend use only
            - `waitFlag` boolean: Deprecated, backend use only
            - `repeat` union: A repetition pattern expressed as a tree of parent and child interval definitions.
              - …
            - `repeatUnit` unknown
            - `repeatFrequency` unknown
            - `repeatInterval` integer, nullable, required: The interval between repeated jobs in milliseconds. This is calculated from repeatUnit and repeatFrequency.
            - `_id` string, required: A string which is formatted like an ObjectId, Distinct from an actual ObjectId.
            - `formId` string, nullable, required: The id of a JSON Form used to provide inputs to a job from this trigger.
        - `automaticChanges` string[]

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Operations Manager` added
  - api tag `operationsManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/operations-manager/automations/clone/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
