Chat To ClientsHelp Center

How can we help?

Knowledge base › LevelUp 2026 › LevelUp 2026

How to Set Up Inbound Webhook Triggers for Managed Agents

Inbound Webhook triggers let external applications start Chat To Clients CRM Managed Agents automatically. When an application sends data to a webhook URL, the agent receives that information and follows its configured instructions. You can connect order systems, payment tools, forms, and other applications without creating a separate Workflow or manually mapping every field. This article explains how to set up, secure, test, and monitor an Inbound Webhook trigger.


TABLE OF CONTENTS


What is an Inbound Webhook Trigger for Managed Agents?


An Inbound Webhook trigger starts a Managed Agent when an external application sends an HTTP POST request to its unique webhook URL.


For example, when a customer places an order, an online store can send the order information to the agent. The agent can then find the customer's contact and create a note with the order details.

The agent reads the incoming data based on its instructions.


Note: Managed Agent Inbound Webhooks are different from Workflow Inbound Webhooks. Managed Agent webhooks start an agent directly and do not require Workflow field mapping.



Key Benefits of Inbound Webhook Triggers


Inbound Webhook triggers help Managed Agents respond to events happening in other applications without manual intervention.



How Inbound Webhook Triggers Work


Each Inbound Webhook trigger has a unique URL. When an external application sends information to that URL, Chat To Clients CRM starts the published Managed Agent.


Here's how it works:

  1. An external application sends an HTTP POST request.

  2. Chat To Clients CRM verifies the request, if verification is enabled.

  3. The agent receives the request data as its initial input.

  4. The agent processes the data using its instructions.

  5. The execution appears in the agent's Activity Feed.


For example, an online store can send new order details, allowing the agent to identify the customer and create an internal note.



Important: The webhook works only when the agent is published. Unpublishing the agent or removing the trigger disables its URL.



Supported Request Data and Limits


Inbound Webhooks support several request formats, allowing Managed Agents to receive information from different external applications.


Supported formats include JSON, form data, XML, plain text, and multipart requests.

The agent can read the request body, query parameters, and permitted headers.

For example, you can instruct the agent to find the customer's email address in customer.email.


SettingLimit or behavior
Request methodPOST
Maximum payload256 KB
Request rateUp to 60 requests per minute
Successful acceptanceHTTP 202 with a run ID


Note: HTTP 202 means the request was accepted for processing, not that the agent has finished. The scope of the request-rate limit should be verified before configuring high-volume integrations.



Securing Webhook Requests


Shared-token verification helps prevent unauthorized applications from starting your Managed Agent.


When enabled, the sending application must include the token in either of these request headers:


Requests without a valid required token are rejected with HTTP 401.

The token is shown only when generated. You can regenerate it from the webhook settings if needed.


Important: Keep your webhook URL and token private. If you regenerate the token, update the token in the external application.



Managing Multiple Webhook Triggers


A Managed Agent can have multiple Inbound Webhook triggers, each with its own name, URL, and message. This allows one agent to handle different events.


For example:

Give each trigger a clear name and describe how the agent should handle its incoming data.


Monitoring Webhook Activity


The Activity Feed helps you confirm that requests were received and review what the agent did with them.

To review a webhook execution:

  1. Go to AI Agents → Agent Studio.

  2. Open the Managed Agent.

  3. Select Activity.

  4. Find a Webhook received entry.

  5. Open the execution to review the request and agent output.


Screenshot description: Show the incoming webhook message, execution timeline, and agent output. Use synthetic data and hide sensitive information.


Understanding Webhook Responses and Errors


Webhook response codes help you identify whether a request was accepted or why it failed.


StatusMeaningWhat to check
202Request acceptedReview the run in Activity
401Authentication failedCheck the token and request header
404Webhook not foundVerify the webhook URL
410Webhook unavailableCheck whether the trigger or agent is active
413Request too largeReduce the payload size
415Unsupported formatCheck the request format and Content-Type
429Too many requestsReduce the request rate and follow Retry-After


Duplicate requests: If an external application retries a delivery, Chat To Clients CRM can recognize supported duplicates using an idempotency key, webhook event ID, or matching request body within a short period. Instead of creating another execution, it returns the original run.


How to Set Up an Inbound Webhook Trigger for Managed Agents

You can connect an external application to your Managed Agent by adding an Inbound Webhook trigger, configuring its instructions, and testing the connection.


The following example uses an online store that sends new order details to an agent.

Step 1: Open a Managed Agent

  1. Go to AI Agents → Agent Studio.

  2. Open an existing Managed Agent or create a new one.

  3. Open the agent editor.


Step 2: Add the Inbound Webhook Trigger

  1. Find Triggers and click Add trigger.

  2. Select Inbound webhook.

  3. Name the trigger, such as New Order.


Step 3: Configure the Agent's Instructions

Tell the AI builder how to use the incoming data.


For example:

"When a new order arrives through the webhook, find the customer using their email address and create an internal note containing the order details."


If the external application uses specific field names, include them in the instructions, such as customer.email.


Step 4: Configure Webhook Security

  1. Open the Inbound webhook trigger settings.

  2. Under Verification, select Shared token header if authentication is required.

  3. Generate and securely copy the token.

  4. Save the trigger settings.

The sending application must include the token in its request headers when verification is enabled.


Step 5: Publish and Copy the Webhook URL

  1. Save the agent and trigger configuration.

  2. Review the agent's instructions.

  3. Publish the Managed Agent.

  4. Open the Inbound webhook settings.

  5. Click Copy beside Webhook URL.


The URL is generated when the configuration is saved and becomes active when the agent is published.


Step 6: Connect the External Application

In your external application:

  1. Open its webhook or HTTP request settings.

  2. Select POST.

  3. Paste the Managed Agent's webhook URL.

  4. Configure the data to send.

  5. Add the shared token to the request headers if verification is enabled.

  6. Save the configuration.


The exact steps depend on the external application.


Step 7: Test the Webhook

  1. Send a test request from the external application.

  2. Return to the Inbound webhook settings.

  3. Check Last request.

  4. Open the linked execution, if available.

Important: Use synthetic data or a test contact when testing agents that can send messages or update CRM records.


Step 8: Review the Execution

  1. Open the Managed Agent's Activity tab.

  2. Select the Webhook received entry.

  3. Check the incoming request and agent output.

  4. Adjust the agent's instructions if needed.



Frequently Asked Questions


Q: Do I need a Workflow to use an Inbound Webhook with a Managed Agent?

A: No. The trigger starts a Managed Agent directly.


Q: Does the external application have to send JSON?

A: No. JSON, form data, XML, plain text, and multipart requests are supported.


Q: Can an agent have more than one webhook URL?

A: Yes. Each Inbound Webhook trigger has its own URL.


Q: Is shared-token verification required?

A: No. It is optional but recommended when the sending application supports authentication headers.


Q: What if I lose my shared token?

A: Regenerate it in the trigger settings and update the external application.


Q: What happens if the same request is sent twice?

A: Supported duplicate requests are recognized and return the original run instead of starting another execution.


Q: Does HTTP 202 mean the agent finished its work?

A: No. It means the request was accepted and queued for processing.


Q: What happens if I unpublish the agent?

A: Its webhook URL stops accepting requests.


Q: Where can I see the data received through the webhook?

A: Open the agent's Activity Feed and select the corresponding Webhook received execution.


Related Articles

Last updated Tue, 27 Oct, 2026 at 10:42 AM