Last reviewed October 7, 2026

AI Agent Configuration

Configure your AI agent’s personality, knowledge, tools, and behavior to create the ideal experience for your audience.

Agent Settings Overview

SettingDescriptionDefault
NameInternal name for the agent—
ModelAI language model (options depend on your plan)Plan default
System PromptInstructions that define the agent's behavior—
TemperatureCreativity level (0.0 – 1.0)0.7
Max TokensMaximum response length1024
Context WindowHow far back to look in conversation history24 hours
LanguagePrimary language (auto-detect available)Auto

System Prompt Best Practices

The system prompt is the most important configuration for your agent. It defines the agent’s persona, capabilities, limitations, and communication style.

Structure Your Prompt

Recommended System Prompt Structure
text
## Role
You are [name], a [role] for [company].

## Personality
- Tone: friendly, professional, helpful
- Style: concise but thorough
- Language: match the customer's language

## Capabilities
- Answer product questions using the knowledge base
- Look up order status via the Orders API
- Schedule appointments via the Calendar tool
- Process returns and refunds

## Limitations
- Never share internal pricing or margins
- Cannot modify orders after shipment
- For legal questions, redirect to [email protected]

## Escalation Rules
- If the customer requests a human agent, transfer immediately
- If confidence is below 60%, ask clarifying questions
- For billing disputes over $500, escalate to a supervisor

Choosing a Model

WazBot supports a range of AI language models. The models available to you depend on your plan, and the current selection is shown in the model picker in your dashboard (Settings → AI Agent → Model). When choosing, consider the following trade-offs:

If you need…Choose a model that is…
Complex reasoning and nuanced answersHigher-capability (typically slower, higher usage)
Fast, cost-effective responses to simple queriesLighter-weight (faster, lower usage)
Long conversation context or large documentsLarger context window
Strong multilingual supportOptimized for multiple languages
Model availability
The exact models and their availability are managed by WazBot and may change over time. Your dashboard model picker is always the authoritative source for what you can select.

Knowledge Base

Upload documents to give your agent domain-specific knowledge. Supported formats:

  • PDF — Product manuals, catalogs, policies
  • CSV / Excel — Product databases, pricing sheets
  • Web URLs — Website pages, help center articles
  • Plain Text — FAQs, knowledge articles
Automatic Sync
Web URL sources are automatically re-crawled every 24 hours to keep your knowledge base up to date.

Tool Integrations

Extend your agent’s capabilities by connecting external tools:

Built-in Tools

  • Human Handoff — Transfer conversation to a live agent
  • Send Email — Trigger email notifications
  • Schedule Message — Send follow-up messages at a specific time
  • Collect Info — Structured data collection forms

Custom Tools (API Actions)

Create custom tools that call your own APIs:

Custom Tool Definition
json
{
  "name": "check_order_status",
  "description": "Look up the status of a customer order by order ID",
  "parameters": {
    "type": "object",
    "properties": {
      "order_id": {
        "type": "string",
        "description": "The order ID (e.g., ORD-12345)"
      }
    },
    "required": ["order_id"]
  },
  "endpoint": "https://api.yourstore.com/orders/{order_id}",
  "method": "GET",
  "headers": {
    "Authorization": "Bearer {{API_KEY}}"
  }
}

Conversation Flow Settings

Welcome Message

Configure an automatic greeting sent when a new conversation starts:

Welcome Message Example
text
Hi there! 👋 I'm the Acme support agent.

I can help you with:
• Order tracking & returns
• Product questions
• Scheduling appointments

How can I assist you today?

Fallback Behavior

Define what happens when the agent can’t answer a question:

  • Clarify — Ask the customer to rephrase
  • Escalate — Transfer to a human agent
  • Acknowledge — Apologize and offer alternative help
Token Usage
Larger models and longer context windows consume more tokens. Monitor your usage in Billing to avoid unexpected charges.
Was this article helpful?