> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# automations-list

> Returns an array of all automations and their associated triggers present on the declared Itential Platform instance.

## Purpose

This automation **returns an array of all automations and their associated triggers** present on the declared Itential Platform instance.

### automations-list

APIs used:

```
/operations-manager/automations
```

```
/operations-manager/triggers
```

### Input

| Inputs           | Data Type         | Sample Input                         | Description                                         |
| ---------------- | ----------------- | ------------------------------------ | --------------------------------------------------- |
| instance\_name   | Dropdown (String) | SE Lab Prod 2023.1                   | The Itential Platform instance name                 |
| token (optional) | string            | 9f0999c2-7054-4820-8eeb-c3052d30acaa | Authentication token or empty if an API key is used |

### Output

| Output           | Data Type | Sample Output                    | Description                                                              |
| ---------------- | --------- | -------------------------------- | ------------------------------------------------------------------------ |
| all\_automations | JSON      | Sample output as mentioned below | Returns a JSON object with all automations and their associated triggers |

#### Sample Output - Success Return

```json
{"list_automations":[
  {
    _id: '612397982e145902a762abd2',
    name: 'Create Security Policy Palo Alto',
    description: '',
    componentName: 'Create Security Policy Palo Alto',
    componentType: 'workflows',
    componentId: '66d4868f-83a7-4539-ab04-8d00660d308d',
    gbac: { write: [], read: [] },
    created: '2023-05-17T02:36:06.754Z',
    createdBy: 'user.user@itential.com',
    lastUpdated: '2023-05-17T02:36:06.754Z',
    lastUpdatedBy: 'user.user@itential.com',
    triggers: [ [Object] ]
  },
  {
    _id: '62e7978be8433b0288de8e17',
    name: 'NVD - Find Vulnerabilities by OS Type',
    description: '',
    componentName: 'NVD - Bulk Find Vulnerabilities',
    componentType: 'workflows',
    componentId: '12dcd61c-84a3-4b87-b588-c4562751ce45',
    gbac: { write: [], read: [] },
    created: '2023-02-24T03:44:52.961Z',
    createdBy: 'user.user@itential.com',
    lastUpdated: '2023-02-24T03:44:52.961Z',
    lastUpdatedBy: 'user.user@itential.com',
    triggers: [ [Object] ]
  },
  {
    _id: '64667058e4e820010c7b6d55',
    name: 'test_snow_Actions',
    description: '',
    componentName: 'test_snow_Action',
    componentType: 'workflows',
    componentId: '64d3ce26-7e8f-4e6b-8cb9-979b3cd388d5',
    gbac: { read: [], write: [] },
    created: '2023-05-18T18:37:12.324Z',
    createdBy: 'user.user@itential.com',
    lastUpdated: '2023-05-31T15:18:44.664Z',
    lastUpdatedBy: 'user.user@itential.com',
    triggers: [ [Object], [Object], [Object], [Object] ]
  }
]
}
```

### Error Output

| Error Output   | Data Type | Sample Output                                             | Description   |
| -------------- | --------- | --------------------------------------------------------- | ------------- |
| error\_message | String    | Malformed URL encountered: Protocol is missing in the URL | Error message |