CogniAgent

Customer Service

After-Hours Answering & Emergency Triage Agent

Answers customers who email you while you are closed. The agent sorts each message by your own urgent rules, life-safety words and an AI read. Emergencies and urgent problems get a reply in the same thread and an alert to whoever is on call, by email and optionally by text, passed to the next person and then the manager if nobody takes it. Routine mail is told when you open, and your team gets one morning email with everything that came in.

See it work

An illustrated example run. Click any tile to see what it handles.

Gmail

AI agent

Agent database

Customer

On-call

Press Play to watch an example run.

Severity Only Moves Up.

Severity Only Moves Up.

How it works

  1. The agent watches the Gmail inbox you connect. It skips your own mail, automatic mail such as newsletters, receipts and out-of-office replies, and, unless you choose otherwise, every message that arrives while you are open. A web-form email from a no-reply address with the customer in Reply-To is still handled. Web forms, chat and voice agents can also send messages through the after-hours-message endpoint.

  2. The agent sorts each message as emergency, urgent, routine or not a request. Your own keyword rules decide first. Then it checks life-safety words such as a gas smell, smoke, fire, carbon monoxide, sparks or someone hurt, and then an AI read. If the AI fails, the message is treated as at least urgent. Severity only goes up for a case, never down.

  3. The agent replies in the same Gmail thread. When anyone may be in danger, the reply starts with your emergency number. For emergencies and urgent problems it promises that your on-call team will contact the customer. Routine questions are told when you open, with an approved answer when one fits. It sends at most three automatic replies a day to one address, except for danger and urgent cases.

  4. For emergencies and urgent problems the agent alerts the person on call now, using your on-call table, by email and by text if you connect Twilio. If nobody takes it within 15 minutes (you can change this), it alerts the next person, and after three alerts or when everyone declines, your manager. People reply in their own words, such as on my way, done or can't tonight, and the agent reads it.

  5. Follow-ups from the same customer are added to the same case. A follow-up that adds danger reaches whoever has the case at once.

  6. When you open, your team gets one email with everything that came in while you were closed. Emergencies and urgent cases come first, with who took them, then the routine ones to answer today. The agent never invents prices, areas or hours. Routine replies use only your approved answers.

What's included

Everything a copy brings into your workspace.

4

workflows

What you'll need

Look over, now or later: business_name (Your business name as customers know it. Replies and alerts are sent in its name.), emergency_number (The number for police, fire and ambulance where you are (911, 999, 112). Anyone writing about danger to people is told to call it first.), gmail_account (The Gmail inbox your customers write to. The agent reads new mail there, replies in the same thread, and sends the on-call alerts and the morning email from it.), manager_email (The person alerted when nobody on call answers the alerts, or nobody is on call. They also get set-up problems by email, once a day.), oncall_promise (What customers with an emergency or urgent problem are told about being contacted, e.g. "within 30 minutes". Promise only what your on-call people can keep.), opening_hours (When your office is open, e.g. Mon-Fri 08:00-18:00; Sat 09:00-13:00 (or 8am-6pm). Days not listed are closed; add holidays to the closed_days table. Outside these hours the agent answers your inbox.), team_email (Who gets the morning email listing everything that came in while you were closed, e.g. office@yourcompany.com. Empty: the manager.), timezone (Your time zone as Area/City, e.g. America/New_York, Europe/London or Australia/Sydney. Opening hours, the on-call rota and every time in replies and emails use it.), twilio_account (Optional: a Twilio account, to text the on-call person as well as email them (a text wakes people up).), twilio_number (Optional: your Twilio number the alert texts come from, in international format, e.g. +14155550123. On-call people need a mobile in the on_call table, also with its + and country code.)

What it does

The key things this agent does for you.

An After-hours messages database with a cases table: severity, what the customer wrote, the reply sent and the full alert history

An on-call rota table with days, shift times, priority and mobile numbers for texts

An urgent rules table for your own keywords and severity, and an approved answers table for routine replies

A closed days table for public holidays

A Gmail watcher that handles each new email once and skips automatic mail

An alert workflow that chases the on-call people in turn, then the manager

An after-hours-message endpoint for web forms, chat and voice agents, and a morning email to your team

Installation

What setting this up involves.

1

Answer the install questions: business name, time zone, opening hours, your emergency number, manager email, team email and what customers are told about the on-call reply.

2

Connect the Gmail account that receives customer mail. Optionally connect Twilio and a number so alerts also go out as texts.

3

Open the After-hours messages database. Replace the example on-call people, urgent rules, approved answers, closed days and cases with your own.

4

Optional settings you can change later: whether to reply to routine mail, the morning email, how many alerts before the manager, and whether to watch the inbox while you are open.

5

Press Start.

~3 min to launch

Free to start. Create your free account, then set it up.

Fill in a few details and install it. No coding.

FUNCTION

Customer Service

TAGS

After HoursEmergency TriageOn Call Escalation#receptionist Bundle

Built by CogniAgent

Official agent

After-Hours Answering & Emergency Triage Agent | CogniAgent