# HTTP connector - Send request via HTTP action

The Send request via HTTP action enables you to send an HTTP request to an API endpoint. You can choose to configure your action using the HTTP wizard by clicking Start guided setup or configure it manually by clicking Setup manually.

You must create an HTTP connection before you can configure this action.

IMPLICIT RETRY

This action attempts an implicit retry when a request times out during GET, HEAD, PUT, and DELETE requests. This addresses transient network issues by automatically reattempting the request. You can disable implicit retries using the Disable retries field.

# Input

SENSITIVE DATA

Don't hard-code sensitive information, such as tokens, usernames or passwords, or client IDs/secrets, into input fields for this action. Instead, store them in your connection, or use a secrets manager.

Workato supports the following secrets managers:

Refer to the Security best practices documentation for more information.

Input field Description
Request name Provide a human readable description of what this API request does.
Request Contains information related to the request, including the Method, Request URL, Request payload, and headers.

Refer to the Build your action with the Workato HTTP wizard section to configure this field automatically or the Work with multipart payloads section to configure this field for multi-part payloads.
Response Contains information related to the response, including the Response type, encoding, and headers.

Refer to the Build your action with the Workato HTTP wizard section to configure this field automatically or the Receive multipart responses section to configure this field for multi-part payloads.
Mark non-2xx response codes as success (Response) Select whether to mark non-2xx responses as successful. The HTTP connector treats non-2xx response codes as errors by default. This causes the job to stop unless there is a Handle errors step.
Wait for response Select whether to designate this HTTP action as a long action. This field is in public beta.

Refer to the Configure HTTP action as a long action section for more information.
Disable retries Select whether to disable automatic retries for failed requests. Use this option to prevent duplicate requests for operations that shouldn't retry.

# Schematic vs. raw JSON request body

When you choose the JSON request body option in the Request content type input field, Workato will generate an input schema based on the sample JSON provided. This allows each field to be configured individually. It also allows you to leverage formula mode to manipulate the field's value. For example, you may use ternary operator and/or skip to conditional include or omit a field.

Schematic JSON request body Using formula mode to manipulate input field value

However, you may want to fully customize the message formatting. In this case, you may choose Raw JSON request body instead, which allows you to input and manipulate the JSON payload structure directly.

Raw JSON request body Raw JSON request body

# Configure HTTP action as a long action

You can set the Wait for response field to Yes to designate this HTTP action as a long action if you expect frequent timeouts or expect the request to last longer than 120 seconds.

PUBLIC BETA

The Wait for response field in the Send request via HTTP action is a beta feature available to all users of Workato's HTTP connector.

Wait for response Wait for response

The following table explains the key differences when the Wait for response field is enabled:

Without "wait for response" With "wait for response"
Request timeout Up to 120 seconds Up to 1 hour
Response size Soft response size limit of up to 200 MB Hard response size limit of 100 MB
Connection types All HTTP connection types are possible Connections using custom SSL certificates or OPA are not supported
Job processing Jobs in the queue are processed in order Jobs may not be processed in order

Workato recommends that you start with Wait for response disabled and edit the action to enable the setting if timeouts occur.

# Output

Output field Description
Status code The status code of the API response.
Body The body content of the response.
Error Any errors the request encountered.
Headers Contains information about the headers extracted from the response, based on the configuration of the Response section.
Response Contains information about the response, based on the configuration of the Response section.

# Build your action with the Workato HTTP wizard

The Workato HTTP wizard streamlines the process of setting up HTTP actions by guiding you through each configuration step.

In many situations, the wizard automatically provides a recommended HTTP configuration tailored to your endpoint, eliminating the need for manual setup. It also allows you to test the connection directly within the wizard, ensuring the endpoint responds as expected before finalizing the action.

This example uses the Workato HTTP wizard to create an action named Get incidents in ServiceNow.

# Provide the HTTP method and request URL

Complete the following steps to specify the HTTP method and request URL for the API in this HTTP action:

1

Click Start guided setup to open the HTTP wizard.

EXITING THE SETUP WIZARD

You can exit the setup wizard by clicking Skip guided setup to configure the action manually at any time during this process. Similarly, if you decide to set up the action manually, you can choose to use the HTTP wizard by clicking Resume guided setup.

2

Use the Method drop-down menu to select the HTTP method of the API endpoint you plan to call. This example uses GET.

Provide HTTP method and request URL Provide an HTTP method and request URL

3

Enter the absolute URL of the API endpoint in the Request URL field.

Alternatively, if you configured the base URL in the connection setup, enter the relative URL in this field. For example, if the base URL is https://api.example.com/ and the absolute URL is https://api.example.com/users/123, your relative URL is users/123.

In this example, we plan to view existing incident records from ServiceNow. According to the ServiceNow documentation (opens new window), this is a GET call with the following endpoint:

https://<instance>.service-now.com/api/now/v1/table/incident

Replace <instance> in the URL with the specific name of your ServiceNow instance.

Configuring HTTP method and request URL Configuring HTTP method and request URL

4

Click Next.

# Configure and send the sample request

For certain endpoints, Workato provides a sample request that you can use as-is, customize, or remove to build your own manually.

Configure the sample request using one of the following options:

  • Use Workato's recommended request settings without modification.
  • Customize Workato's recommended request settings to meet your requirements.
  • Remove Workato's recommended request settings and build the request manually.

AWS HTTP

When using AWS authentication methods such as Access key or IAM role auth, you don't need to append any additional authentication parameters. In AWS documentation, these are often denoted as AUTHPARAMS.

# Review the HTTP configuration

A successful request confirms the following:

  • The connection is set up successfully.
  • The API endpoint is correct.
  • All required request body fields are included and contain valid values.

Click Apply configuration to apply the request and response configuration to the Workato HTTP action.

Configuration applied for HTTP action Configuration applied for HTTP action

# Finalize the HTTP configuration

After verifying that the configuration works, you can either map datapills to the Value column next to their corresponding parameters or manually enter fixed values into these fields.

# Work with multipart payloads

The Send request via HTTP action supports multipart payloads that send or receive multiple pieces of data with different content types in a single HTTP request or response.

The following multipart types are available:

Type Payload content Example use case
Multipart form Form fields (text) and file uploads combined Upload an invoice PDF with customer name, date, and amount fields.
Multipart alternative Multiple versions of the same content in different formats Send an email with both plain text and HTML versions.
Multipart digest Multiple complete email messages (RFC822 format) Process a mailing list digest containing multiple messages.
Multipart mixed Multiple independent files or data with no relationship Send multiple contract PDFs and a JSON summary of terms in one request.
Multipart related Primary content plus supporting resources linked by Content-ID Send a SOAP XML envelope with attached PDF files, or an HTML email with embedded images.
Multipart byteranges
(Response only)
Multiple byte ranges (fragments) of the same file Handle resumable downloads or video streaming.

Refer to the following sections to configure multipart payloads:

LIMITATIONS

Workato doesn't support nested multipart payloads in the Send request via HTTP action.

# Send multipart form requests

Complete the following steps to configure the Send request via HTTP action's Request section to send multipart form requests:

NOTE

Refer to the Send multipart alternative, digest, mixed, and related requests section to send other types of multipart request.

1

Click Setup manually.

2

Go to the Request section and use the Method drop-down menu to select one of the following methods that support multipart form requests:

  • POST
  • PUT
  • PATCH
  • DELETE
3

Enter the absolute URL of the API endpoint in the Request URL field. Alternatively, enter a relative URL if you configured a base URL in the connection setup. For example, if the base URL is https://api.example.com/ and the absolute URL is https://api.example.com/users/123, your relative URL is users/123.

4

Use the Request content type drop-down menu to select Multipart form.

5

Go to the Request body schema field and click Add fields manually to open the Add new field dialog.

6

Enter a name for your field in the Name field. For example, File1.

7

Use the File attachment drop-down menu to select Yes.

Add request body fieldAdd request body field

8

Click Add field. This adds a "header" exclusive to the element that you can use.

For situations where you need multiple headers in a multipart request, you can use this element without attaching a file.

The Request body schema and Request schema fieldsThe Request body schema and Request schema fields

9

Click + Add Field and repeat the previous steps to create fields for additional files you plan to send in your multipart request.

Complete the following steps to configure the Send request via HTTP action's Request section to send multipart requests other than multipart forms:

1

Click Setup manually.

2

Go to the Request section and use the Method drop-down menu to select one of the following methods that support multipart form requests:

  • POST
  • PUT
  • PATCH
  • DELETE
3

Enter the absolute URL of the API endpoint in the Request URL field. Alternatively, enter a relative URL if you configured a base URL in the connection setup. For example, if the base URL is https://api.example.com/ and the absolute URL is https://api.example.com/users/123, your relative URL is users/123.

4

Use the Request content type drop-down menu to select one of the following:

  • Multipart alternative
  • Multipart digest
  • Multipart mixed
  • Multipart related

Refer to the Working with multipart payloads section for more information about each multipart type.

5

Go to the Request parts section. This section defines multiple parts for the request, where each part has its own headers and body content.

The Request parts sectionThe Request parts section

6

Click ... (ellipses) to choose between a Fixed list or Dynamic list.

Select Fixed list when you know the total number of parts and their content. Select Dynamic list when the number of parts or their content depend on a list.

7
8

Go to the Headers section. This section defines headers for each request part.

The Headers sectionThe Headers section

9

Click ... (ellipses) to choose between a Fixed list or Dynamic list.

Select Fixed list when you know the total number of headers and their content. Select Dynamic list when the number of headers or their content depend on a list.

10
11

Enter the content for the part in the Raw body field.

12

Optional. Go to the Request URL parameters section and define URL parameters if the request is for a DELETE operation.

Request URL parameters

Repeat the following steps for each URL parameter to include in the request:

1

Click Add URL parameter.

2

Enter a Parameter name and Value.

13

Go to the Request headers section. This section defines headers that apply to the entire request, not individual parts.

The Request headers sectionThe Request headers section

14

Click Add header, then enter a Header name and Value for each header to include in the request.

15

Optional. Configure the following additional fields if the multipart type is related:

Multipart related fields
1

Enter the content type of the root part in the Root type field if it isn't defined in the root part's headers.

2

Enter the Content-ID of the root part in the Root Content-ID field if it isn't the first part.

3

Enter additional information for processing the compound object in the Start-Info field.

16

Optional. Enter a custom boundary for the payload in the Boundary field. Workato automatically generates a boundary if you leave this field blank.

This field has a maximum length of 70 characters and supports the following:

  • Alphanumeric characters (A-Z, a-z, 0-9)
  • Apostrophe (')
  • Parentheses (( ))
  • Plus (+)
  • Underscore (_)
  • Comma (,)
  • Hyphen (-)
  • Period (.)
  • Forward slash (/)
  • Colon (:)
  • Equals (=)
  • Question mark (?)

# Receive multipart responses

Complete the following steps to configure the Send request via HTTP action's Response section to receive multipart responses:

1

Use the Response content type drop-down menu to select Multipart.

Workato automatically detects the boundary from the response's Content-Type header.

For example, Workato extracts ----Boundary123 and uses it to parse the response parts if the API returns the following:

Content-Type: multipart/mixed; boundary=----Boundary123

If the boundary is missing, Workato throws an error.

2

Use the Encoding drop-down menu to select the encoding method.

3

Complete the following steps in both the HTTP response headers and Multipart part headers sections. The HTTP response headers section defines headers to extract at the response-level, while the Multipart part headers section defines headers to extract from individual parts.

4

Use the Mark non-2xx response codes as success? drop-down menu to select whether to mark non-2xx responses as successful. Workato's HTTP connector treats non-2xx response codes as errors by default. This causes the job to stop unless there is a Handle errors step.

The output datatree updates with the headers you defined. For example:

The Send request via HTTP output treeThe Send request via HTTP output tree


Last updated: 2/10/2026, 8:36:48 PM