# How to create a HTTP request block in a chatbot

# How do I create a HTTP request block in a chatbot?

This article explains how to **set up a HTTP request block** inside a chatbot. Follow these steps to send data from your chatbot to external applications automatically. This ensures your third-party systems update instantly when a customer reaches this step.

### In this article, you will learn how to

- **Configure a HTTP request block** on your journey.
- Set up the destination URL and payload correctly.
- Resolve data transfer issues with external servers.

## Before you start

Before creating a HTTP request block in a chatbot, make sure you have:
- An **existing chatbot** to **add a HTTP request block**.
- A valid destination URL to receive your automated payload data.

## How to create a HTTP request block in a chatbot

1. Log in to your Flownally workspace.
2. Go to the **Chatbots** tab.

![](/help-center/04-chatbots/02-01-paused-chatbots-list.png)

3. Click an existing chatbot to edit it, or[create a new one](/chatbots/create-chatbot) to open the editor automatically.

![](/help-center/04-chatbots/07-chatbot-blocks/01-01-opened-paused-chatbot.png)

4. Click on **+** icon to add a new block.
5. Choose the **HTTP Request** block.

![](/help-center/04-chatbots/07-chatbot-blocks/09-01-select-http-request-block.png)

6. Select the **HTTP Method** from the dropdown.
7. Enter the **destination URL**.
8. Optionally click **+ Add header** to supply specific header **Names** and **Values**.
9. In the **Body** dropdown, select **JSON** if you need to send data, or **None** if no payload is required.
10. If you selected JSON, enter your data payload into the **JSON body** text field.
11. Specify the **Timeout** duration (in seconds).

![](/help-center/04-chatbots/07-chatbot-blocks/09-02-http-request-block.png)

## What happens after creating a HTTP request block in a chatbot?

After creating a HTTP request block in a chatbot, the system transmits data payloads to your third-party application. The external tool receives user information automatically when a customer hits this step.

## Troubleshooting

### HTTP request fails to send

This happens because the **HTTP request URL contains a typo** or is missing the required prefix. You must **check the destination URL address** and save the block again to fix it.

### External server rejects data

This occurs because the **payload format contains syntax errors** or missing data fields. You need to **verify the JSON payload format** in your block settings to match your server rules.

## Related articles

- [How to create a block in a chatbot to send messages](/chatbots/chatbot-blocks/send-message-block)
- [How to create a block in a chatbot to send interactive messages](/chatbots/chatbot-blocks/send-rich-message-block)
- [How to create a block in a chatbot to split it](/chatbots/chatbot-blocks/split-by-condition-block)
- [How to create a block in a chatbot to update tags](/chatbots/chatbot-blocks/update-tags-block)
- [How to create a webhook block in a journey](/chatbots/chatbot-blocks/http-request-block)
