Перейти к содержимому

Интеграции

Webhooks and tools for AI agents

How to connect an external service as an agent tool. Tool use in SUIN.AI.

An AI agent can call external APIs — for example, push data into a CRM, check stock levels or search your database.

How to connect one

  1. Open the agent → the Tools section
  2. Click “Add tool”
  3. Choose the type: webhook (any HTTP endpoint) or MCP server
  4. Describe what the tool does — the agent will call it on its own when needed

Example

You create a webhook:

POST https://crm.mycompany.ru/api/leads
Content-Type: application/json

{
  "name": "{{client_name}}",
  "phone": "{{phone}}",
  "source": "telegram-bot"
}

You describe it: “Creates a lead in the CRM. Parameters: name, phone, source.” After that, a client writes “I'd like to submit a request” in the chat, and the agent collects the data and calls your CRM itself.