Skip to main content

Create and Implement a Send HTTP Request Action Tool for AI Agents in Whippy

Set up a Send HTTP Request action tool and configure your AI agent to trigger external APIs.

Maria Cairns avatar
Written by Maria Cairns
Updated this week

Why it matters

The Send HTTP Request action allows your AI agent to send data to an external system using an API call. This is useful for triggering webhooks, updating third-party systems, creating records in external platforms, or retrieving data.

Because this action interacts with external services, correct configuration and clear agent instructions are critical. Creating the tool alone is not enough. You must assign the tool to the agent and define exactly when and how the request should be sent.

Key Concepts

Action Tool: A tool created using the Execute Actions tool type that allows an agent to perform structured system actions such as sending HTTP requests, updating records, or triggering workflows.

Execute Actions Tool Type: A tool type that enables you to configure one or more actions inside a single tool. Multiple actions can run when the tool is triggered.

Send HTTP Request Action: An action that sends a GET or POST request to a specified URL endpoint when executed.

HTTP Method: The request type used when sending data. Available options are GET, typically used for retrieving data, and POST, typically used for sending data.

URL Endpoint: The destination URL where the request will be sent. This must be a valid HTTP or HTTPS address.

API Formatting: The structure and required parameters expected by the external system. Incorrect formatting may cause the request to fail.

Agent Instructions: The configuration where you define when the tool should be triggered, what data must be collected, and how the request should be structured.

Step-by-Step: Create a Send HTTP Request Action Tool

  1. Navigate to Agents in the left-hand menu.

  2. Click Tools (jigsaw icon).

  3. Click Create Tool in the top right corner.

  4. Select Execute Actions from the Tool Type dropdown.

  5. Enter a Tool Name and click Save Tool.

Configure Basic Info

  1. Enter the Label. Use only letters, numbers, underscores, or hyphens. Maximum 64 characters.

  2. Add a clear Description explaining what the HTTP request does and when it should run.

  3. Click Save.

Configure Tool Settings

  1. Set the Timeout (milliseconds). Default is 5000 ms. Increase if the external system may take longer to respond.

  2. Toggle Speak After Execution if the agent should confirm completion.

  3. Toggle Speak During Execution if required.

  4. Add execution speech if enabled.

  5. Click Save.

Add the Send HTTP Request Action

  1. In the Actions section, click Add Action.

  2. Select Send HTTP Request from the Action Type dropdown.

  3. Select the HTTP Method:

    • GET for retrieving data.

    • POST for sending data.

  4. Enter the URL endpoint. This must be a valid HTTP or HTTPS URL, for example https://api.example.com/webhook.

  5. Click Create Action.

When the tool is triggered, the request will be sent to the specified endpoint using the selected method.

You can add additional actions to the same tool if needed.

Implement the Tool in an Agent

Creating the tool does not automatically make the agent use it.

To implement it:

  1. Open the relevant Agent.

  2. Select the newly created Send HTTP Request tool to give the agent access.

  3. Update the Agent Instructions to clearly define:

    • When the request should be sent.

    • What information must be collected from the contact.

    • How any required parameters should be formatted.

    • What should happen after the request completes.

You must both assign the tool to the agent and define its trigger logic in the instructions. If formatting or required parameters are not clearly defined, the request may fail.

Tips and Best Practices

  • Confirm the correct HTTP method with the external API documentation.

  • Verify the URL endpoint before saving.

  • Clearly define required data in the agent instructions.

  • Validate parameter formatting carefully.

  • Increase timeout if the external system responds slowly.

  • Test the integration in a controlled environment before deploying.

Troubleshooting

Issue

Possible Cause

Fix

Request not sent

Tool not assigned to agent

Enable the tool in the agent settings

Request failing

Incorrect URL or method

Verify endpoint and HTTP method

External system not updating

Missing required parameters

Review API documentation and formatting

Timeout error

External service too slow

Increase timeout setting

Agent not triggering request

No clear instruction to use the tool

Update Agent Instructions with explicit conditions

Did this answer your question?