Set up an AI agent
Let an AI agent answer new message tickets on one page or WhatsApp number, and see when it hands a ticket to your team.
An AI agent answers customers' messages for you on one channel: a Facebook page, an Instagram account or a WhatsApp number. The agent itself lives in an outside AI service. SmartComm sends it each customer message, posts its answers in the ticket, and gives the ticket to your team when the AI cannot help.
Who can do this
- A company admin with full access.
- If your company uses its own roles, the person needs the AI Agents permission to see the menu item, and the organization permissions (view and create) to use the page. Without the organization permissions the page opens empty.
- The Help Desk module must be switched on for your company.
Before you start
- Connect the channel first. See Connect Facebook, Instagram and WhatsApp.
- Have the AI agent's Service URL ready. It comes from the AI service where the agent was built, not from SmartComm.
- Each channel can have only one AI agent.
Where to find it
Help Desk › AI Agents. The page title says Automation Agent.
Steps
- Go to Help Desk › AI Agents.
- Click Create. The Create Agent Automation panel opens on the right.
- Type a Name, for example "Order Assistant". Only your team sees it.
- Paste the Service URL. The Slug fills in by itself from the address.
- Check the Slug. It must be the same as the agent's slug in the AI service.
- Pick the Channel the agent answers on.
- Under Automation, leave the switch On and set Handle … % of tickets. For example, 50 sends about half of the new tickets to the AI and the rest to your team.
- Click Create. You see "New Automation Agent created".
The fields
| Field | What it is for | Required | Default or choices |
|---|---|---|---|
| Name | Your name for the agent. | Yes | Up to 255 characters |
| Slug | Links this agent to the one in the AI service. Filled from the Service URL; you can change it. No two agents can share a slug. | Yes | Only a–z, 0–9 and -. Up to 100 characters. |
| Channel | The page, Instagram account or WhatsApp number the agent answers on. It cannot be changed later. | Yes | Your connected channels |
| Automation | On lets the agent take tickets. Off sets the share to 0 %, so it takes none. | — | On |
| Handle … % of tickets | The share of new tickets the agent takes. Each new ticket is a random draw, so the split is close to this number over many tickets, not exact. | Yes | 100. From 0 to 100. |
| Service URL | The address SmartComm sends the messages to. | Yes | A full web address, up to 255 characters |
What the AI agent does
- It takes new tickets that start from a message on its channel. Comments on posts always go to your team.
- A ticket it takes skips the normal auto pick. It shows on Help Desk › AI Tickets under Ongoing.
- SmartComm sends it every new customer message in that ticket: the text, files, reactions, edits and deletions, and the ad the customer clicked, if there was one.
- Its answers appear in the conversation and go to the customer like any other reply.
What it answers
The agent answers from what it was given in the AI service. SmartComm does not hold its knowledge or its rules. To change what it says, change the agent in the AI service. In SmartComm you only choose which tickets it gets.
When your team takes over
The AI hands the ticket to your team when it cannot or should not answer. The ticket history shows why:
| Reason in the ticket history | When it happens |
|---|---|
| "The customer asked for a human agent" | The customer asked for a person. |
| "The AI could not answer the customer" | The AI had no answer. |
| "A policy rule says a human agent has to answer" | A rule set in the AI service needs a person. |
| "The customer seems unhappy or upset" | The customer seems angry or upset. |
| "The customer sent a file" | A file needs a person to look at it. |
| "The customer sent something the AI cannot read" | For example, a WhatsApp location. |
| "The customer reacted to a message" | The customer reacted, and the AI passed the ticket on. |
| "The AI gave no reply in time" | The AI did not answer, even when asked again. |
| "A person replied from the page or app" | Someone answered from the Facebook page, Instagram or WhatsApp app itself. |
| An error message | The AI service could not be reached or failed. |
Handed-over tickets move to the Human tab of AI Tickets, or to Error when there was an error. Your team answers them like any other ticket. If someone on your team picks a ticket or changes its status, the AI stops answering it too.
Change, pause or remove an agent
- Edit: click ⋮ on the agent's row, then Edit. Change what you need and click Update. You see "Agent Automation updated successfully". The Channel cannot be changed.
- Pause: edit the agent and turn Automation off. New tickets go to your team. A ticket the AI already holds goes to your team the next time the customer writes, with the note "Ticket was automated earlier but unpicked as no automation agent was found."
- Delete: click ⋮, then Delete. Confirm "This will permanently delete the agent automation. Continue?" with Confirm. Its open tickets go to your team in the same way.
- Find an agent: open the filter at the top right and use Search by ID. It finds an agent by ID or by name.
If something goes wrong
| Message or problem | What to do |
|---|---|
| "An automation agent already exists for this channel." | Each channel can have one AI agent. Edit the one that exists. |
| "Slug may only contain a-z, 0-9 and -" | Remove spaces, capitals and other signs from the slug. |
| "Please enter a valid URL" | Paste the full address, starting with https://. |
| "Please provide all required fields correctly" | Fill in the fields marked in red. |
| The page is empty | Your role lacks the organization permissions. Ask your admin. |
| Tickets land under Error on AI Tickets | The AI service did not answer. Check the Service URL and Slug with whoever runs the AI service. The exact error is in the ticket history. |