Berrydesk

Berrydesk

  • Home
  • How it Works
  • Features
  • Pricing
  • Blog
Dashboard
All articles
WorkflowsNovember 23, 2026· 3 min read

Test a Custom HTTP Action in BerryDesk

Configure a BerryDesk custom action with one typed input, a read-only test endpoint, representative JSON, and clear error behavior.

A chat card branches into shipping, appointment and billing workflows.

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

ScenarioExpected stateExpected response
DEMO-42 belongs to test userService returns approved fieldsTranslate waiting_for_reply into plain language and show the next step.
No ticket referenceRequired input is missingAsk for the approved reference once.
Reference cannot be authorizedEndpoint rejects the requestDo not confirm any private record exists.
Endpoint fails or times outNo verified resultExplain 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

  • BerryDesk chat API integration
  • AI agent testing checklist
  • BerryDesk workflow library

Documentation

  • BerryDesk action overview
  • HTTP semantics and methods
  • OWASP server-side HTTP integration guidance
#custom-actions#api#ai-workflows

On this page

  • Use a small service contract for the first test
  • Run these synthetic pilot cases
  • What to measure before rollout
  • Related guides
  • Documentation
Berrydesk logoBerrydesk

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
Build your agent for free

Set up in minutes

Share this article:

Article by

BerryDesk Team

BerryDesk product team

On this page

  • Use a small service contract for the first test
  • Run these synthetic pilot cases
  • What to measure before rollout
  • Related guides
  • Documentation
Berrydesk logoBerrydesk

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
Build your agent for free

Set up in minutes

Keep reading

A chat card branches into shipping, appointment and billing workflows.

Test the BerryDesk Website Chat Widget Before Launch

Install the BerryDesk chat bubble on a staging site. Verify allowed domains, browser policies, mobile behavior, and an actual handoff.

BerryDesk Team·Nov 23, 2026
An invoice record sits under a magnifying glass with a payment status mark.

Set Up Read-Only Stripe Invoice Lookup in BerryDesk

Verify a billing contact before revealing Stripe invoices. Use Get Invoice History and test how the agent phrases open, paid, or void.

BerryDesk Team·Nov 23, 2026
A highlighted support thread links a pair of chat cards.

Send a Support Escalation Alert From BerryDesk to Slack

Configure a Slack Notify action, choose an authorized destination, and test minimal escalation messages before enabling alerts.

BerryDesk Team·Nov 23, 2026
Berrydesk

Berrydesk

Deploy intelligent AI agents that deliver personalized support across every channel. Transform conversations with instant, accurate responses.

  • Company
  • Blog
  • Product
  • Features
  • Pricing
  • ROI Calculator
  • Open in WhatsApp
  • Legal
  • Privacy Policy
  • Terms of Service
  • OIW Privacy