Connect your API (REST)
Connect any HTTP endpoint that returns JSON: your own system, an ERP, a PIM. It's also the path to a custom tool.
What you need
The endpoint URL, the method (GET or POST) and the authentication headers (a Bearer token, an API key in a header, depending on your API).
Injecting the customer's search
Use {{search}} in the URL, or declare a search parameter: the customer's query is injected into it at runtime. The agent decides what to put there based on the conversation.
GET https://api.yoursite.com/products?q={{search}}
Authorization: Bearer <your_key>What the agent receives
The endpoint returns a JSON array. The agent pulls the rows from it, applies its filters and presents the result, often as a product card.
[
{ "name": "Blue t-shirt", "price": 32, "stock": 14 }
]For your security, only publicly accessible endpoints are allowed. Internal and metadata addresses (private network, cloud metadata) are blocked.
Need more advanced logic (direct database query, code)? See the custom tools in Automations.