AI agents
Create an AI agent that replies to customers on WhatsApp, email, social and website chat, with your instructions, your customer data and a clear handover to a person.
An AI agent is a digital teammate that answers incoming messages on the channels you attach it to, day and night. You write its instructions, choose what customer data it can see, and decide when it must stop and hand the chat to a person.
The AI agent form with identity, model, instructions and channels
Before you begin
- Owners and Admins create and edit agents. Sales reps do not see AI Agents.
- Your plan sets how many agents you can create. If every slot is used, the page shows an Upgrade button.
- Connect at least one channel first. See Connect WhatsApp.
- Agents run on Claude (Anthropic) or GPT (OpenAI). For your own key, see AI providers.
Where to find it
Go to Grow → AI Agents. The tabs are AI Agents, AI Calls and Email Triage.
Create an agent
- Click New agent.
- Under Identity, enter a Name and Initials. Leave the switch on Active.
- Under Model, pick a Provider and a Model.
- Under API key, pick a saved key, or leave it to use your workspace's default key.
- Set Max tokens (per reply) and Temperature. Lower temperature keeps replies predictable.
- Click Create agent.
Write the persona
- Under System prompt, edit Behavior instructions. Write it like onboarding for a new hire: goals, style, and what to escalate.
- Say which languages to use, for example English, Urdu or Roman Urdu.
- Optionally add a Greeting (optional). It is sent as the first message of a brand-new conversation.
Choose what it can see and do
- Memory and knowledge: Conversation memory sets how many recent messages it reads (10–100). Knowledge base use is Search (the most relevant sections) or Whole manual (all of it, for a rulebook).
- Customer data from the CRM: it always sees the person's own name, email, phone and city, plus custom fields you open to AI under Settings → Custom Fields. Tick Let this agent see the contact's tags if useful.
- What the agent can do: tick tools such as Look up their linked records, Check their upcoming appointments, Create tasks for your team and Look up their online-store orders.
Attach to channels
- Under Attach to channels, tick each channel the agent should answer.
- For a WhatsApp number, tick Reply to group chats if it should answer groups too.
- Under Attach to Live Chat, tick your website chat widgets.
- Click Save changes.
Each channel has one agent. Attaching a channel used by another agent moves it to this one.
Set the handover to a person
Under Handoff to a human:
- Add Trigger keywords, such as "refund" or "manager". If a message contains one, the agent goes quiet and the chat moves to Pending.
- Set Max consecutive replies (loop guard) so the agent stops after that many replies in a row with no answer.
- Optionally set a Handoff phrase. When the agent writes it, it stops and a high-priority task goes to the contact owner.
- Optionally write a Message when a handoff keyword stops the agent, such as "A team member will reply shortly."
In the inbox, click Take over to pause the agent on one chat, and Resume AI to hand it back. When a teammate sends a reply, the agent pauses on that chat by itself.
Test before going live
- Open the agent after saving.
- Under Test playground, optionally pick a contact under Test as contact (optional).
- Type a message under Send a message and click Test reply.
- Read the reply, the tools used and Knowledge used.
What happens next
The agent replies to new incoming messages on its channels. Each reply is a real message and is charged like any message on that channel. For WhatsApp, replies inside the 24-hour window are free only for the first 1,000 a month per business phone number, then charged. The AI model's own cost is billed by the AI provider whose key is used. See What the AI reads and what it costs. Test replies also use the live AI model.
Common questions
Why is my agent not replying? Check it is Active, attached to the channel, and that nobody clicked Take over on that chat. The agent card also shows errors and the last error.
Can I use Gemini? Not for agents today. Agents run on Claude or GPT.
Does the agent see other customers' data? No. It only reads the record of the person it is talking to.
Can one agent answer WhatsApp and website chat? Yes. Tick both under Attach to channels and Attach to Live Chat.
How do I delete an agent? Open it and click Delete. It is detached from its channels and widgets first.
Thank you. If you still need help, write to support@foxaf.com.