Overview
| Goal | Deploy a Conversation AI bot that handles customer inquiries outside business hours, resolves common questions from the knowledge base, and queues urgent issues for your team |
| Time to build | 30–45 minutes |
| Prerequisites | Conversation AI enabled, knowledge base populated, workflows configured |
| AI features used | Conversation AI + Knowledge Base + Workflows |
| Difficulty | Beginner |
Architecture overview
The after-hours support flow works as follows:- Working hours detection — A workflow checks whether the incoming message arrives during or outside business hours.
- During hours — Messages route to your human team as normal. The bot stays inactive or assists in suggestive mode.
- After hours — The bot activates and greets the customer, letting them know it is an AI assistant available outside business hours.
- Knowledge base lookup — The bot answers common questions using your knowledge base.
- Urgent issue capture — If the issue is urgent (e.g., locked out, emergency, billing problem), the bot collects details and flags it for priority follow-up.
- Morning handoff — When business hours resume, your team gets a summary of all after-hours conversations with priority tags.
Step-by-step build
Define your business hours
Before building anything, decide your exact hours. You will use these in your workflow conditions.
Adjust these to match your actual schedule. Make sure to account for your timezone.
| Day | Hours |
|---|---|
| Monday–Friday | 9:00 AM – 5:00 PM |
| Saturday | 10:00 AM – 2:00 PM |
| Sunday | Closed |
Populate your knowledge base
Navigate to AI Agents > Knowledge Base and add content that covers the most common after-hours questions:
- Business hours and location — “What time do you open?” is the number one after-hours question
- Services and pricing — Basic descriptions and price ranges
- Emergency procedures — What to do if there is an urgent issue
- Contact methods — How to reach you during business hours
- FAQs — Return policies, booking procedures, cancellation rules, parking, etc.
Create the after-hours bot
Navigate to AI Agents > Conversation AI and click Create Bot.
- Name: “After-Hours Support”
- Type: Auto-pilot (this bot needs to work without human oversight)
- Channels: Toggle on all channels where customers reach you — SMS, Web Chat, Facebook Messenger, Instagram, WhatsApp
- Calendar: Leave unassigned unless you want the bot to book next-day appointments
Set this bot as a non-primary bot. Your primary bot or human team handles daytime conversations. The after-hours bot only activates via workflow trigger.
Write the bot prompt
Paste the full prompt from the section below into the System Prompt field. The prompt is designed to:
- Clearly identify itself as an after-hours assistant
- Set expectations about response times for complex issues
- Answer common questions from the knowledge base
- Detect and flag urgent issues
- Collect contact details for follow-up
Build the after-hours activation workflow
Go to Automation > Workflows and create a workflow:Trigger: Inbound message received (any channel)Condition: Check if the current time is outside business hoursIf outside hours:
- Enable the “After-Hours Support” bot on this contact
- Add tag “after-hours-inquiry”
- Disable the “After-Hours Support” bot (let the primary bot or human handle it)
Build the urgent issue workflow
Create a second workflow triggered by Tag Added — “urgent-after-hours” (the bot adds this tag when it detects an urgent issue):
- Send internal SMS to the on-call team member with the contact name and issue summary
- Send internal email with full conversation transcript
- Create task assigned to the on-call person with a 30-minute due time
- Move opportunity to an “Urgent” pipeline stage (if applicable)
Build the morning handoff workflow
Create a daily scheduled workflow that runs at the start of business hours (e.g., 8:55 AM):
- Filter contacts tagged “after-hours-inquiry” from the previous night
- Send summary email to your team lead with: number of conversations, list of contact names, conversation summaries, and any urgent flags
- Create tasks for each conversation that needs follow-up
- Remove tag “after-hours-inquiry” after processing
Configure the daytime handback
At the start of business hours, the after-hours bot should stop for all active contacts:
- In your morning workflow, add an action to disable the after-hours bot on all contacts where it is active
- If a conversation was mid-flow, the handback allows a human to pick up where the bot left off
- Send the customer a message: “Good morning! Our team is now available. A team member will follow up with you shortly regarding your inquiry.”
Full prompt
Testing your after-hours bot
Working hours test
Send a message during business hours and verify the after-hours bot does NOT activate.
After-hours activation test
Send a message outside business hours and verify the bot activates and sends the after-hours greeting.
FAQ test
Ask five common questions (hours, location, services, policies). Verify the bot answers accurately from the knowledge base.
Unknown question test
Ask a question not in the knowledge base. Verify the bot admits it does not know and offers to have the team follow up.
Urgent issue test
Describe an urgent issue (e.g., “I was charged twice on my credit card”). Verify the bot flags it as urgent, collects your details, and triggers the escalation workflow.
Morning handoff test
Verify the morning summary email arrives at the correct time with a complete list of overnight conversations.
Optimization tips
- Review overnight transcripts weekly. Look for questions the bot could not answer and add them to the knowledge base. After a few weeks, the bot should handle 80%+ of after-hours inquiries without escalation.
- Adjust urgent criteria based on data. If too many issues are flagged urgent, tighten the criteria. If your team finds missed urgent issues in the morning, loosen them.
- Track resolution by channel. Some channels (like web chat) may have higher resolution rates than others. Focus knowledge base improvements on the weakest-performing channels.
- Add appointment booking. If many after-hours contacts want to schedule something, connect a calendar and let the bot book next-day appointments. See appointment scheduler.
- Test timezone handling. If you serve customers across timezones, make sure your business hours logic accounts for the customer’s local time, not just yours.
KPIs to measure success
| KPI | Target | Where to find it |
|---|---|---|
| After-hours resolution rate | 60%+ of inquiries resolved without human follow-up | Conversation AI dashboard + morning report |
| Average response time | Under 30 seconds | Conversation AI dashboard |
| Urgent issue detection accuracy | 95%+ (no missed urgents, few false positives) | Escalation workflow reporting |
| Customer satisfaction | 4.0+ on follow-up survey | Workflow survey results |
| Morning follow-up time | Team responds to all after-hours inquiries within 1 hour of opening | Task completion tracking |
| Knowledge base coverage | Under 10% of questions unanswerable | Transcript review |
Next steps
AI receptionist
Combine after-hours support with a Voice AI receptionist for 24/7 phone coverage.
Multi-location bot
Manage after-hours support across multiple locations with different hours.
Knowledge base
Expand and optimize your knowledge base for higher resolution rates.
Workflow automation
Build more sophisticated time-based workflow triggers.
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)