---
title: "Actions"
slug: "actions"
abstract: "Describes how to create an action and the different action types supported in Content Hub."
---
# Actions

In Sitecore Content Hub, actions are components that perform a specific task. You can trigger them manually or use a [trigger](https://doc.sitecore.com/ch/en/developers/cloud-dev/triggers.html "Triggers") or APIs to run actions automatically. You can also trigger them individually or [in bulk](https://doc.sitecore.com/ch/en/developers/cloud-dev/actions.html#UUID-aac75ce7-1dc0-b745-a177-c726d71776aa_section-idm4637575350473634303189776753 "Bulk execution").

## Bulk execution

In the *single* execution mode, every action is executed on one specific target (often an entity). If there are five targets that need to be processed by the action, then the action needs to be executed five times, one time for each target. For example, if a mass edit triggers the action, then the action will execute for all affected items at once, instead of once for each item. See also [entity operations](https://doc.sitecore.com/ch/en/users/content-hub/entity-operations.html).

### Bulk execution example

In this example, five entities whose IDs are *11477*, *11484*, *11439*, *11458*, and *11466*) are being processed by the *API call* action. In *single* execution mode, this results in five POST requests to the specified endpoint:

```json
{
  "TargetId":11477,
  "TargetIdentifier":"asset.fruitful-logo-bg",
  "context":{

  }
}

```

```json
{
  "TargetId":11484,
  "TargetIdentifier":"asset.powerful-logo-bg",
  "context":{

  }
}

```

```json
{
  "TargetId":11439,
  "TargetIdentifier":"asset.whitney-wright-286729",
  "context":{

  }
}

```

```json
{
  "TargetId":11458,
  "TargetIdentifier":"asset.wine-dharma-642423",
  "context":{

  }
}

```

```json
{
  "TargetId":11466,
  "TargetIdentifier":"asset.zino-de-groot-767248",
  "context":{

  }
}

```

When actions are executed in *bulk*, this results in only one POST request:

```json
{
  "targets":[
   {
     "TargetId":11439,
     "TargetIdentifier":"asset.whitney-wright-286729",
     "context":{

     }
   },
   {
     "TargetId":11458,
     "TargetIdentifier":"asset.wine-dharma-642423",
     "context":{

     }
   },
   {
     "TargetId":11466,
     "TargetIdentifier":"asset.zino-de-groot-767248",
     "context":{

     }
   },
   {
     "TargetId":11477,
     "TargetIdentifier":"asset.fruitful-logo-bg",
     "context":{

     }
   },
   {
     "TargetId":11484,
     "TargetIdentifier":"asset.powerful-logo-bg",
     "context":{

     }
   }
  ]
}

```

## Auditing

You can view a reporting channel for actions by clicking **Manage** :mdiCogOutline: > **Actions** > **Auditing** tab.

You can choose which columns to display by clicking **Columns** :mdiViewColumn: and selecting the desired columns. You can also sort the actions using any of the column names.

- To reverse the sort direction, click **Reverse sort direction** ![reverse_sort_direction.png](https://doc.sitecore.com/api/markdown-image/ch/en/developers/cloud-dev/images/reverse_sort_direction.png).

- After you've made your selections, to refresh the table, click **Refresh** :mdiRefresh: .

You can download the audit logs by clicking **Download** and selecting a date interval. This generates a [download order](https://doc.sitecore.com/ch/en/users/content-hub/download-order.html) that you can download immediately or [share via email](https://doc.sitecore.com/ch/en/users/content-hub/share-assets-via-email.html).