Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nedzo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Actions let your agent do things during a conversation — book a meeting, transfer a call, send an email, post to Slack, or call an external API. Configure actions from the Actions tab. Each action has a condition that tells the agent when to use it. Write it in plain language, like “When the contact wants to book an appointment” or “When the caller asks to speak with a manager”.

Calendar booking

Book meetings on your connected calendar during a call or chat. Setup:
  1. Connect a calendar provider in Settings > Integrations (Google Calendar, Calendly, Cal.com, or GoHighLevel)
  2. Add a calendar action on the Actions tab
  3. Set the condition, select the provider, and choose the calendar
Configuration:
FieldDescription
NameAction display name
ConditionWhen the agent should offer booking
Calendar typeGoogle Calendar, Calendly, Cal.com, or LeadConnector
Calendar IDWhich specific calendar to use
TimezoneIANA timezone, or leave blank to let the AI ask the contact
The agent checks real-time availability and books directly on your calendar. The default booking flow (asking for the contact’s timezone, offering a couple of slots at a time, collecting name + email only after a slot is selected) lives in your agent’s prompt and is fully editable. See Calendar booking instructions to customize it.

Call transfer

Transfer a live call to a human or another phone number. Transfer types:
TypeDescription
WarmThe agent introduces the caller before connecting them
ColdThe agent connects the caller directly without introduction
Configuration:
FieldDescription
NameTransfer target name (e.g., “Sales Team”)
ConditionWhen to transfer (e.g., “Caller asks for a human”)
Transfer typeWarm or Cold
Phone numberE.164 format destination number
Say lineWhat the agent says before transferring

Email

Send an email during or after a conversation. Requires: A verified email domain in Settings > Integrations > Email. Configuration:
FieldDescription
NameAction name
ConditionWhen to send
From nameSender display name
From addressEmail local part (domain comes from your email integration)
SubjectEmail subject (supports {{contact.X}} variables)
BodyThe email content. Supports {{contact.X}} variables and the dynamic variable picker.
Recipient typeContact’s email, a specific address, or ask the contact

Slack message

Post a message to a Slack channel during a conversation. Requires: Slack connected in Settings > Integrations > Slack. Configuration:
FieldDescription
NameAction name
ConditionWhen to send
ChannelWhich Slack channel to post to
MessageSlack message body. Supports {{contact.X}} variables and the dynamic variable picker.

SMS

Send a text message to a contact during a conversation. Configuration:
FieldDescription
NameAction name
ConditionWhen to send
MessageSMS content. Supports {{contact.X}} variables and the dynamic variable picker.

Custom action

Call any external API during a conversation. Use this to look up data, update records, or trigger actions in systems that don’t have a native integration. Configuration:
FieldDescription
NameAction name
ConditionWhen to trigger
MethodGET, POST, PUT, PATCH, or DELETE
URLThe endpoint to call
ParametersNamed parameters the agent collects from the conversation
Auth typeNone, Bearer token, API key, or Basic auth
HeadersCustom HTTP headers
How parameters work: Define parameters with a name and description. The agent gathers the required information from the conversation and includes it in the API call. For example, a parameter named order_number with description “The customer’s order number” tells the agent to ask for and extract that value.

Request format

When the action triggers, the voice engine sends an HTTP request to your configured URL. The request body contains a message object with the tool call details and the parameters the agent extracted from the conversation. Example request:
POST https://your-api.com/check-order
Content-Type: application/json
Authorization: Bearer your-secret-token

{
  "message": {
    "toolCallList": [
      {
        "id": "test_call_id",
        "type": "function",
        "function": {
          "name": "check_order",
          "arguments": {
            "order_number": "ORD-12345",
            "customer_name": "John Doe"
          }
        }
      }
    ]
  }
}
The toolCallList array contains one object per tool call. Each tool call includes:
FieldTypeDescription
idstringUnique identifier for this tool call
typestringAlways "function"
function.namestringThe action name (lowercased, spaces replaced with underscores)
function.argumentsobjectKey-value pairs where each key matches a parameter name you defined, and the value is what the agent extracted from the conversation
Headers sent with the request:
Auth typeHeader added
Bearer tokenAuthorization: Bearer {your token}
API keyX-API-Key: {your key}
Basic authAuthorization: Basic {your credentials}
Any custom headers you configured are also included.

Response format

Your endpoint must return a JSON response. The agent reads the response and uses it to continue the conversation. Successful response (200):
{
  "results": [
    {
      "toolCallId": "test_call_id",
      "result": "Order ORD-12345 is currently in transit and expected to arrive on January 20th."
    }
  ]
}
The results array should contain one object with:
FieldTypeDescription
toolCallIdstringThe tool call ID from the request (echo it back)
resultstringThe information the agent should use in the conversation
The agent takes the result string and incorporates it into its response to the contact. Keep the result concise and factual — the agent will phrase it naturally. Error response: If something goes wrong, return an error message in the result. The agent will handle it gracefully:
{
  "results": [
    {
      "toolCallId": "test_call_id",
      "result": "Error: Order not found."
    }
  ]
}
The action executes synchronously — the call pauses briefly while waiting for your endpoint to respond. Keep your endpoint fast (under a few seconds) to avoid awkward silence during the call.

Managing actions

  • Click Add to create a new action
  • Use the menu on each action to Edit or Delete it
  • Toggle Active/Inactive on each action to enable or disable it without deleting