# ProcessStartConfig

What an automation action does, chosen by `$type` (which must come first): `app`, `interaction`, `interaction-message`, `capsule` or `codepipeline`.

**Kind:** one of several shapes, used in requests and responses. In a request it is called `ProcessStartConfigInput`.

## Shapes

The `$type` field says which shape it is, and comes first.

| `$type` | Shape |
|---|---|
| `"app"` | [`AppProcessStartConfig`](https://docs.maitento.com/reference/types/app-process-start-config.md) |
| `"capsule"` | [`CapsuleProcessStartConfig`](https://docs.maitento.com/reference/types/capsule-process-start-config.md) |
| `"codepipeline"` | [`CodePipelineProcessStartConfig`](https://docs.maitento.com/reference/types/code-pipeline-process-start-config.md) |
| `"interaction"` | [`InteractionProcessStartConfig`](https://docs.maitento.com/reference/types/interaction-process-start-config.md) |
| `"interaction-message"` | [`InteractionMessageStartConfig`](https://docs.maitento.com/reference/types/interaction-message-start-config.md) |

## Example

```json
{
  "$type": "app",
  "inputs": [
    {}
  ],
  "credentialStack": "...",
  "version": {
    "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
    "version": 0
  }
}
```

## Where it's used

- Inside [`AutomatedActionItem`](https://docs.maitento.com/reference/types/automated-action-item.md)
