Building block: HTTP call
An HTTP call is a building block that calls one API, for example the order status at a supplier. You make it once, test it and publish it; after that workflows use it as a step and agents as a tool. The API's key lives in a connection: the server adds it, the building block and the agent never see it.
Create an HTTP call
Click + next to General and choose HTTP call. Under Definition, give it a name and a description: an agent reads that description to decide when to use the tool. Add an input field for the order number.
Set up the call
Under Request, choose the connection to the partner. The URL field then becomes the path after the connection's base address. {{input.order}} puts the order number from the input into the path. Save the draft.
Test with an order number
Under Test, give sample input and click Run test. The test really calls the API, exactly as a workflow or agent will later. You see the partner's answer, and in the logs the call with its status code.
Give it to an agent
Open an agent. Under Brain → Tools are all published building blocks; tick the HTTP call and save. A GET counts as Reads; a call that changes something (POST, PUT, DELETE) is only offered once you allow writing in the guard rails.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).






















