# Custom action

> `<uipath-connector:custom-action>`

## Overview

`<uipath-connector:custom-action>`

This is a custom action operation.

### Parameters

Table 1.

| Name | Type | Description | Default Value | Required |
| --- | --- | --- | --- | --- |
| Configuration | String | The name of the configuration to use. | N/A | Yes |
| Method type | Enumeration, one of: POST  GET  PUT  PATCH  OPTIONS  HEAD  DELETE | The method type | GET | N/A |
| Request URL | String | The request URL | /odata | N/A |
| Query parameters | Object | List of Query Params | N/A | N/A |
| Headers | Object | List of Request headers | N/A | N/A |
| Body | Binary | Custom action body | N/A | N/A |
| Config ref | ConfigurationProvider | The name of the configuration to be used to execute this component. | N/A | Yes |
| Streaming strategy | Repeatable In Memory Stream  Repeatable File Store Stream  non-repeatable-stream | Configure if repeatable streams should be used and their behavior. | N/A | N/A |
| Response timeout | Number | The timeout for request to the remote service. | N/A | N/A |
| Response Timeout Unit | Enumeration, one of:  NANOSECONDS  MICROSECONDS  MILLISECONDS  SECONDS  MINUTES  HOURS  DAYS | A time unit which qualifies the Response Timeout. | N/A | N/A |
| Streaming Type | Enumeration, one of:  AUTO  ALWAYS  NEVER | Defines if the request should be sent using streaming. Setting the value to AUTO automatically defines the best strategy based on the request content. | N/A | N/A |
| Target Variable | String | The name of a variable on which the operation’s output is placed. | N/A | N/A |
| Target Value | String | An expression that is evaluated against the operation’s output and the outcome of that expression is stored in the target variable. | #[payload] | N/A |
| Reconnection Strategy | Reconnect Reconnect Forever | A retry strategy in case of connectivity errors | N/A | N/A |

### Output

| Type | Attributes Type |
| --- | --- |
| Any | Http Response Attributes |

#### [See Configuration parameters.](https://docs.uipath.com/add-ins/other/latest/user-guide/configuration-parameters)

#### **Throws**

* UIPATH-CONNECTOR:BAD_REQUEST
* UIPATH-CONNECTOR:CLIENT_ERROR
* UIPATH-CONNECTOR:CONNECTIVITY
* UIPATH-CONNECTOR:INTERNAL_SERVER_ERROR
* UIPATH-CONNECTOR:NOT_ACCEPTABLE
* UIPATH-CONNECTOR:NOT_FOUND
* UIPATH-CONNECTOR:RETRY_EXHAUSTED
* UIPATH-CONNECTOR:SERVER_ERROR
* UIPATH-CONNECTOR:SERVICE_UNAVAILABLE
* UIPATH-CONNECTOR:TIMEOUT
* UIPATH-CONNECTOR:TOO_MANY_REQUESTS
* UIPATH-CONNECTOR:UNAUTHORIZED
* UIPATH-CONNECTOR:UNSUPPORTED_MEDIA_TYPE
