# Wix Automations: Sending an HTTP Request

Source: https://support.wix.com/en/article/the-new-automation-builder-sending-data-via-webhook (updated 2026-10-06)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

> **Before you begin:** This article is intended for advanced users. Sending an HTTP request requires prior technical knowledge and experience working with webhooks.

Wix Automations integrate seamlessly with external services by sending or retrieving data from any webhook or API endpoint. Use the HTTP request action to trigger events, update external records, or incorporate external data into later steps of your automation flow.

This action supports real-time communication between disconnected systems, making it easy to handle request bodies, manage responses (e.g. JSON), and map the returned data for subsequent automation steps.

---

## Step 1 | Set up a new automation

To get started, create a new automation and add the HTTP request action.

### To set up an automation:

1. [Go to Automations](https://www.wix.com/my-account/site-selector/?buttonText=Open%20Wix%20Automations&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https://www.wix.com/dashboard/%7B%7BmetaSiteId%7D%7D/triggers/) in your site's dashboard.
2. Click **+ Create Automation** at the top right
3. Click **+ Start from Scratch**.
4. Click the title to give your automation a name.
5. Select a trigger for your automation.
6. Click **+** to add a step.
7. Click **Action**.
8. Select **Send HTTP request** on the left.

![Screenshot of configuration of send http request action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/10/04/39dae649-6769-4900-b13d-00d0e0b9492c/Screenshot_2026-10-04_at_13.23.45.png)

---

## Step 2 | Configure the HTTP request

Set up the details of your HTTP request, including the method, URL, and the data you’d like to send.

Click below to learn how to configure each field.

**Method**

Select the details of your HTTP request starting with the method based on the action you want to perform.

* **POST:** Submits data to be processed (e.g. creating a new record).
* **GET:** Retrieves data from the specified resource (e.g. fetch a list of users).
* **PUT:** Updates or replaces an existing resource (e.g. update user info).
* **DELETE:** Removes the specified resource.
* **OPTIONS:** Used less frequently, depending on the API specifications.
* **PATCH:** Used less frequently, depending on the API specifications.  
    
![Screenshot of the method drop-down in the http request action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2025/04/09/377ed236-a830-438a-b9b1-982d3b8a8565/9e81f14f-b8a6-41c0-a8c8-cf2a2aa879c6.png)

**Webhook URL**

Enter the target URL that should receive the notifications. It can include any path or query parameter you may need in order to reach the proper destination – click **Customize** next to **Webhook URL** to add a new parameter. 

  
**Path Parameters** 

 Some APIs require a path parameter. 

![Example of a JavaScript URL with path params.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2025/04/09/fb279a8b-e966-4d8b-97d2-72be30961853/b768225c-2ad8-4af6-9eab-53004566ad02.png) 

  
 For example, you can get the weather results simply by searching the zipcode if you know it.

![Example of a JavaScript URL with path params customized in the action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2025/04/09/5209ad27-f738-4288-931d-63c3562a77b1/e16fe52d-9f7f-4775-929b-dea7ca8f62a7.png) 

  
**Query Parameters** 

 Some APIs require a query parameter. 

![Example of a JavaScript URL with query params.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2025/04/09/18686117-5c80-469b-bc8d-4d52b46ccfd1/cc6440d4-31c4-4244-b2d5-05dbc43fd7b8.png) 

  
 For example, you can search the weather by state and city.![Example of a JavaScript URL with query params customized in the action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2025/04/09/8555c49a-6ebd-42d7-a544-a7cd7840d721/b60d6218-fa3c-4feb-a4f2-48cacef8a763.png)

**Request body**

Decide what data is included in the body of your request. Depending on the HTTP method you choose, the available options may change for what can be included in your request.

Adjust the following options: 

* **Nest request body under data:** Enable or disable this toggle to control whether the request body is wrapped inside a parent 'data' object. This depends on how your endpoint expects to receive the data.
* **Request body:** Choose which data to include as part of this webhook request.  
   * **All automation data:** All data from the trigger is sent to the target URL. For example, if the trigger is Wix Forms, the webhook sends data from every form field.  
   **Tip:** Click **Preview request body** to see all the data that the webhook will send.  
   * **Choose fields:** Only specific data is sent to the target URL. For example, if your trigger is Wix Forms you might only want to send the Name and Email fields.  
         1. Click **+ Add New Item**.  
         2. Enter a key name in the **Key** field. This helps you distinguish what data is sent.  
         3. Enter a value in the **Value** field to choose the data that should match the key.  
         **Tip:** Click **Customize** to create custom workflows using the [formula field](https://support.wix.com/en/article/wix-automations-customizing-your-data-with-a-formula-field).  
         4. Click **Add**.  
         5. (Optional) Click **+ Add New Item** to add another row and match key names to data.  
         **Note:** If you choose not to map a specific key to a value, the webhook will notify the URL without any additional information from the trigger.

![A screenshot of the configuration options in a send http request action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/10/04/543679c0-740a-490f-bfcc-c32f022d4c80/Screenshot_2026-10-04_at_14.14.57.png)

![A screenshot of the configuration options in a send http request action.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/b58ebe65-92dd-4fa2-84b0-71c6024cb3f8/2026/10/04/18026ba6-07dc-4cff-8fa2-5e69bab77180/Screenshot_2026-10-04_at_14.13.28.png)

---

## (Optional) Step 3 | Set response data structure

Finally, configure the data structure returned from the external service to match Wix Automations' schema. For example, for a response from the weather app we can enter a sample JSON like this:

![A screenshot of an example for a sample JSON request.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/1d4b9a27-f0a5-449a-99cc-188228a9c725/2025/04/07/a6201b83-091e-47ad-859a-4522a9549b6b/51cef9ba-a0d0-4c6e-a6b6-1a380bd7489f.png)

> **Note:** This sample data is used to generate an output data structure. The automation can then treat these fields (e.g. firstName, id, age) as distinct variables, which you can use in later steps.

### To set your response structure:

1. Click **Set Response Data Structure** to define the data passed to your automation.  
   1. Enter a JSON example that you expect to see in the response.  
   2. Click **Preview Structure**.  
   3. Click **Save Structure** or **Edit JSON** to continue editing.
2. When you're done, click **Apply**.

![A screenshot of set response data structure pop-up.](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdWoXEthAaFChc6GyHOynF-kVFAIRwSEV6LnSHVwsbj46e9wxzCgqxT8Z0A6HapThFDAxdKFq-1o76sX1f4v7rB37Z5ZJumgPXdwJRQ4tGXe0-oMAnbhhrGSFuTnHFjg8pmNPsWlg?key=2umcBowk1KQjFYhThNM9gDXu)

---

## Step 4 | Activate the automation

At the top right **save** as a draft and come back later or **activate** right away. It now appears on your [Automations page](https://support.wix.com/en/article/the-new-automation-builder-managing-your-automations#viewing-all-of-your-automations) where you can monitor, edit, deactivate, or delete according to your needs.

> **Tip:** Send a test request to make sure you have successfully set up your response to meet your expectations.

---

## FAQs

Click below to learn more about sending an HTTP request.

**Can I call Wix APIs using this feature?**

No, this feature does not support calls to Wix’s own APIs. You can only target external services.

**What happens if my automation is turned off?**

If your automation is turned off, Wix Automations will not send requests.

**What if the payload I receive from an external service doesn’t match my defined schema?**

If the payload has inconsistencies with the data structure you defined, your automation will still run. Fields that don’t match or aren’t present will simply be ignored, as they are not considered mandatory.

**Why didn't the data I expected appear in the next steps?**

If the data doesn’t appear in the next step, ensure your response schema is correctly set up. If data still doesn’t appear, re-check your endpoint’s logs or documentation to confirm the structure of the response.
