
Start with one Custom Action (Webhook) and a read-only endpoint you control. Define the input the agent must collect, save the endpoint configuration, and test a successful response and a rejected or unavailable response before adding the action to a live guideline.
Use a small service contract for the first test
In the agent’s Actions area, add a Custom Action (Webhook). Define a data input such as ticket_id and choose the request method required by your service. The API configuration supports variables in the URL or body. Use your own test endpoint and protect any authentication value in server-managed configuration.
Start with a response that contains just enough to answer the support question. A ticket lookup can return a synthetic reference, public status, and date. The endpoint still enforces ownership and input validation. A string collected by the agent is a lookup input, not trusted identity. Keep access decisions in the service that owns the ticket.
Use the action’s test area after saving the configuration. Test responses for a valid request, a missing input, a request your service would reject, and an upstream timeout. In the agent’s guidelines, describe when it should ask for clarification, and when to stop and hand off instead of repeating the request.
{
"ticket_id": "DEMO-42",
"status": "waiting_for_reply",
"updated_at": "2026-11-23T10:00:00Z"
}
Run these synthetic pilot cases
| Scenario | Expected state | Expected response |
|---|---|---|
| DEMO-42 belongs to test user | Service returns approved fields | Translate waiting_for_reply into plain language and show the next step. |
| No ticket reference | Required input is missing | Ask for the approved reference once. |
| Reference cannot be authorized | Endpoint rejects the request | Do not confirm any private record exists. |
| Endpoint fails or times out | No verified result | Explain that the status is unavailable and offer human follow-up. |
What to measure before rollout
Track the correct input rate, unauthorized lookups stopped at the service, status replies matching the response, and fallback behavior. Require deterministic handling of the failed cases before enabling any action that writes data.
Download the workflow pilot cases to record observed behavior beside the expected results.
Related guides
Documentation
Launch your AI agent in minutes
- Train on your docs, websites, Notion, Drive and YouTube
- Deploy to web, WhatsApp, Slack, Instagram and more
- No credit card required
Set up in minutes

