AI Assistants
Create, configure, and manage AI-powered assistants for customer communication
Overview
AI Assistants are the core of Happ. Each assistant is a configurable AI agent that handles conversations across connected channels. You can create multiple assistants for different purposes — support, sales, booking, and more.
For the full API reference, see api.happ.tools/reference.
Creating an Assistant
Via Dashboard
- Navigate to Assistants in the sidebar
- Click Create Assistant
- Fill in the name and select a voice (for voice calls)
- Click Save
- Configure additional settings in the assistant detail view
Via API
POST /api/assistants
X-Access-Token: happ_your_token_here
Content-Type: application/json
{
"name": "Customer Support Bot",
"promptText": "You are a helpful customer support assistant...",
"firstMessage": "Hello! How can I help you today?",
"llmProvider": "openai",
"llmModel": "gpt-4o",
"language": "en"
}Configuration
Name
A descriptive name for your assistant (e.g., "Customer Support", "Sales Bot", "Booking Assistant"). Visible in the dashboard for organizing multiple assistants.
First Message
The greeting sent when a new conversation starts. This is the first thing your customer sees.
Prompt (System Instructions)
The prompt defines your assistant's personality, knowledge, rules, and behavior. This is the most important configuration.
Tips for effective prompts:
- Be specific — Clearly state who the assistant is and what it should do
- Define boundaries — What the assistant should and shouldn't discuss
- Include key info — Business hours, policies, contact details
- Set tone — Formal, casual, friendly, professional
- Guide handoffs — When to transfer to a human via
turnOffAiMode
Example:
You are a friendly support assistant for TechStore.
Help customers with product questions, order tracking, and returns.
Rules:
- Be polite and professional
- If you don't know, direct them to support@techstore.com
- Never discuss competitor products
- If the customer requests a human, use turnOffAiMode
Business info:
- Hours: Mon-Fri 9:00-18:00 (Kyiv time)
- Returns: 14-day return policy
- Shipping: Free on orders over 1000 UAHLanguage
Set the primary language (default: en). Affects how the AI generates responses.
AI Model Configuration
LLM Provider & Model
Choose which AI powers your assistant:
| Provider | Models | Best For |
|---|---|---|
| OpenAI | GPT-4o (default), GPT-4o Mini, GPT-4 Turbo, GPT-4, GPT-3.5 Turbo | General-purpose, most versatile |
| Claude (Anthropic) | Sonnet 4.5, Sonnet 3.7, Sonnet 3.5, Opus 3.5, Opus 3, Sonnet 3, Haiku 3 | Detailed analysis, long conversations |
| Gemini (Google) | 2.0 Flash, 1.5 Pro, 1.5 Flash, 1.5 Flash 8B | Fast responses, multilingual |
| Groq | GPT-OSS 120B | Ultra-fast inference |
Each provider requires an API key. Add it via Integrations > Add Integration > select the provider.
Recommendations:
- Most use cases: GPT-4o or Claude Sonnet 3.5 — best quality/cost balance
- Simple Q&A: GPT-4o Mini or Gemini 1.5 Flash — faster and cheaper
- Complex reasoning: GPT-4 Turbo or Claude Opus 3.5 — highest quality
Voice Settings
For voice call scenarios, configure these additional settings:
Voice Selection
Built-in voices (30 options): Puck, Charon, Kore, Fenrir, Aoede, Leda, Orus, Zephyr, Autonoe, Umbriel, Erinome, Laomedeia, Schedar, Achird, Sadachbia, Callirrhoe, Iapetus, Despina, Rasalgethi, Alnilam, Pulcherrima, Vindemiatrix, Sulafat, Sadaltager, Zubenelgenubi, Gacrux, Achernar, Algenib, Algieba, Enceladus
ElevenLabs voices (premium quality): Requires an ElevenLabs integration with API key.
Audio Format
| Format | Sample Rate | Use Case |
|---|---|---|
| PCM 8000 | 8 kHz | Standard phone calls (default) |
| PCM 16000 | 16 kHz | Enhanced clarity |
| PCM 24000 | 24 kHz | High quality |
| PCM 48000 | 48 kHz | Studio quality |
| ULAW 8000 | 8 kHz | Standard telephony codec |
Response Speed & Timing
| Setting | Description | Default |
|---|---|---|
| Eagerness | How quickly the assistant responds | Normal |
| Turn After Silence | Seconds of silence before the assistant speaks | 7 seconds |
| Soft Timeout | Max wait time for user response (-1 = unlimited) | -1 |
| Soft Timeout Message | Custom message when timeout triggers | None |
| Streaming Latency | Streaming optimization (0 = fastest) | 1 |
Eagerness options:
Eager— Responds as soon as the caller pauses. Best for quick Q&ANormal— Balanced timing (default). Good for most scenariosPatient— Waits longer for the caller to finish. Best for complex questions
Assistant Organization
Folders
Create folders to group related assistants (e.g., "Support", "Sales", "Internal"). Drag and drop to organize.
Default Assistant
Mark one assistant as default for your company. New integrations use this assistant automatically unless configured otherwise.
Managing Assistants
Listing
GET /api/assistants
X-Access-Token: happ_your_token_hereUpdating
PATCH /api/assistants/{assistantId}
X-Access-Token: happ_your_token_here
Content-Type: application/json
{
"name": "Updated Name",
"promptText": "Updated prompt..."
}Deleting
DELETE /api/assistants/{assistantId}
X-Access-Token: happ_your_token_hereBest Practices
- Start simple — Begin with a basic prompt and refine based on real conversations
- Add knowledge — Upload documents to improve accuracy (learn more)
- Use tools — Connect APIs for real actions (learn more)
- Set up handoff — Configure when the AI should transfer to a human (learn more)
- Monitor chats — Review conversations to identify areas for improvement
- Iterate — Adjust prompts, knowledge, and tools based on conversation patterns