# Custom action

> The **Custom Action** action lets you execute a custom action via HTTP.

The **Custom Action** action lets you execute a custom action via HTTP.

## How it works

The following steps are an example of how to configure the action and describes the input and output properties.

1. Complete the [Setup](https://docs.uipath.com/add-ins/other/latest/user-guide/workato-setup#setup) steps.
2. On your recipe, choose the **Custom Action** action.
3. Enter values for the displayed properties.
   :::note
   You can find more information about Custom actions in Workato in the Workato [official documentation](https://docs.workato.com/developing-connectors/custom-actions.html).
   :::

## Properties

### Input

#### Action name

Give this action you're building a descriptive name, for example **Create record**, **Get record**.

| Attributes | Details |
| --- | --- |
| **Type** | `String` |
| **Required** | Yes |
| **Default value** | Empty |
| **Allowed values** | Select a `String` value. |
| **Notes** | N/A |

#### Method

Select HTTP method of the request:

| Attributes | Details |
| --- | --- |
| **Type** | `enum` |
| **Required** | Yes |
| **Default value** | GET |
| **Allowed values** | GET, POST, PUT, PATCH, OPTIONS, DELETE |
| **Notes** | N/A |

#### Path

For example, `odata/Jobs`. Path will be appended to base URI. Use absolute URI to override the base URI.

| Attributes | Details |
| --- | --- |
| **Type** | `string` |
| **Required** | Yes |
| **Default value** | Empty |
| **Allowed values** | Select a `String` value. |
| **Notes** | N/A |

### Options

#### Request type

| Attributes | Details |
| --- | --- |
| **Type** | `enum` |
| **Required** | No |
| **Default value** | Empty |
| **Allowed values** | JSON Request Body, URL encoded form, Multipart form, Raw request body |
| **Notes** | N/A |

#### Response type

| Attributes | Details |
| --- | --- |
| **Type** | `enum` |
| **Required** | No |
| **Default value** | Empty |
| **Allowed values** | JSON response, Raw response |
| **Notes** | N/A |

#### Request body parameters

| Attributes | Details |
| --- | --- |
| **Type** | `String` |
| **Required** | No |
| **Default value** | Empty |
| **Allowed values** | Enter a valid JSON `String` |
| **Notes** | N/A |

#### Response headers

| Attributes | Details |
| --- | --- |
| **Type** | `String` |
| **Required** | No |
| **Default value** | Empty |
| **Allowed values** | Enter a valid JSON `String` |
| **Notes** | N/A |

### Output

#### Body

| Attributes | Details |
| --- | --- |
| **Type** | `String` |
| **Required** | Yes |
| **Default value** | Empty |
| **Allowed values** | A `String` pill |
| **Notes** | N/A |
