Webhooks

Create custom AI tools that connect your chatbot to any external service via HTTP.

What Are Webhooks?

Webhooks let you create custom tools that the bot can call during a conversation. Each webhook is an HTTP endpoint — your bot sends data to it and receives a response, which it then uses to answer the user.

If a service has an API, your bot can talk to it.

What You Can Connect

How It Works

  1. You create a webhook in AxiaChat AI with the URL of the external service
  2. You define what parameters the bot should send
  3. You enable the webhook as a tool on your bot
  4. During conversation, the AI decides when to call the webhook
  5. The external service processes the request and returns a response
  6. The bot uses that response in its reply to the user

Creating a Webhook

  1. Go to AxiaChat AI → AI Tools → Custom Webhooks.
  2. Click "New Webhook".
  3. Configure:
    • Name — Identifier for the bot (e.g., "check_order_status")
    • URL — Endpoint of the external service
    • Method — GET, POST, etc.
    • Parameters — What data to send
    • Description — Tell the AI when to use this tool
  4. Save and test.
💡 The description matters The AI reads the webhook description to decide when to use it. Write a clear, specific description: "Use this tool when the user asks about the status of their order" works better than "Order tool."

Parameter Mapping

Define what information the bot extracts from the conversation and sends to the webhook:

Response Handling

Configure how the bot processes the webhook response:

Example: Order Status Check

Webhook Configuration

SettingValue
Namecheck_order_status
URLhttps://your-store.com/api/orders/{order_number}
MethodGET
Description"Use this tool when the user asks about the status of their order"

Conversation Flow

User: What's the status of my order #12345?
Bot: (calls webhook with order_number=12345)
Bot: Your order #12345 is in transit! It left the warehouse yesterday and should arrive by Friday.

Example: n8n Integration

  1. Create a workflow in n8n with a "Webhook" trigger
  2. Copy the webhook URL from n8n
  3. Create a webhook in AxiaChat AI with that URL
  4. Define the parameters n8n expects
  5. n8n processes the request and returns data to the bot

Security

Debugging

Check AxiaChat AI → Logs → Tools to: