> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salescaptain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# After-hours Routing

> “After-Hours” refers to times outside your defined business hours (for example, evenings, weekends, or holidays). SalesCaptain uses Time Rules to identify when a call arrives during those periods. Handling after-hours correctly ensures callers get the information they need and you capture leads even when live support isn’t available.

### **After-Hours Routing Options in SalesCaptain**

When a call comes in after your business hours, you can decide how it should be handled:

* **Voicemail**: Route after-hours calls directly to voicemail. A custom greeting can let callers know you’re closed and when to expect a callback.

  <Frame caption="Configuring Voicemail ">
    <img src="https://mintcdn.com/salescaptain-42c66529/7lE6spy8er1JA0LJ/voicemail.webp?fit=max&auto=format&n=7lE6spy8er1JA0LJ&q=85&s=293358d581cf4835f5c54423368e2a27" alt="Voicemail configuration options for after-hours routing in SalesCaptain" title="" style={{ width:"100%" }} width="5520" height="3388" data-path="voicemail.webp" />
  </Frame>
* **Audio Message**: Play a message that explains your after-hours status, office hours, or alternate contact information before routing the call further.

  <Frame caption="Configuring Audio Messages">
    <img src="https://mintcdn.com/salescaptain-42c66529/BIUmlrati3ImmYIG/images/audiomessage.webp?fit=max&auto=format&n=BIUmlrati3ImmYIG&q=85&s=24a4dd20348b3019001aa6e1d88fc05f" alt="Audio message configuration options for after-hours routing in SalesCaptain" style={{ width:"100%" }} title="" width="5520" height="3388" data-path="images/audiomessage.webp" />
  </Frame>
* **IVR**: Continue offering menu options even outside business hours if needed (for example, “Press 1 for Emergency Support”). This gives flexibility while limiting unnecessary routing.

<Frame caption="IVR Configuration Menu ">
  <img src="https://mintcdn.com/salescaptain-42c66529/BIUmlrati3ImmYIG/images/IVR1.webp?fit=max&auto=format&n=BIUmlrati3ImmYIG&q=85&s=e9e8114994611f4efa46a26745904cdc" alt="IVR configuration options for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/IVR1.webp" />
</Frame>

* **AI Agent**: Use an AI-powered voice agent to greet callers, answer FAQs, or collect important information while your team is unavailable. This helps capture leads or handle urgent cases.

  <Frame caption="Selecting an AI Agent">
    <img src="https://mintcdn.com/salescaptain-42c66529/BIUmlrati3ImmYIG/images/AIAgent.webp?fit=max&auto=format&n=BIUmlrati3ImmYIG&q=85&s=a186b31332f27a350c6062ced0574433" alt="AI Agent configuration options for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/AIAgent.webp" />
  </Frame>
* **Forwarding**: Forward after-hours calls to an on-call team member, backup number, or alternate user if someone is available to respond outside business hours.

  <Frame caption="Forward calls to any number">
    <img src="https://mintcdn.com/salescaptain-42c66529/is_ApWK-LVqUxBDA/images/callforwarding.webp?fit=max&auto=format&n=is_ApWK-LVqUxBDA&q=85&s=9d31a7d7116841549c91b7bdee91288c" alt="Call forwarding configuration options for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/callforwarding.webp" />
  </Frame>
* **Custom Time Rules**: Define special schedules for weekends, holidays, or unique scenarios so after-hours handling is tailored to your business needs.

  <Frame caption="Adding a new Custom Time Rule">
    <img src="https://mintcdn.com/salescaptain-42c66529/BIUmlrati3ImmYIG/images/customtimerule1.webp?fit=max&auto=format&n=BIUmlrati3ImmYIG&q=85&s=560b3ca243e800210f90e02c33df0da2" alt="Custom Time Rule configuration options for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/customtimerule1.webp" />
  </Frame>

### **How to Set Up After-Hours Handling in a Call Flow**

1. **Define business hours** using Profile Time Rules in Settings → Business Profile → Business Hours.

   <Frame caption="Defining Business Hours">
     <img src="https://mintcdn.com/salescaptain-42c66529/ATQsQT5m6PAoF5IS/images/businesshourstimerule.webp?fit=max&auto=format&n=ATQsQT5m6PAoF5IS&q=85&s=a037da8695d58aaad5d5b788a899ed64" alt="Defining business hours for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/businesshourstimerule.webp" />
   </Frame>
2. **Add a Time Rule element** to your Call Flow. This splits calls between “in-hours” and “after-hours.”

   <Frame caption="Canvas view with Time Rule Element">
     <img src="https://mintcdn.com/salescaptain-42c66529/0RJa4Ffq3DdpWVF0/images/profiletimerule.webp?fit=max&auto=format&n=0RJa4Ffq3DdpWVF0&q=85&s=c3733f303fc096b229a58999fe4246c7" alt="Canvas view with TIme Rule Element in SalesCaptain Call Flow builder" width="5520" height="3388" data-path="images/profiletimerule.webp" />
   </Frame>
3. **Design separate branches**:
   * The In-Hours branch can follow your normal path (IVR → Ring to Team/User → fallback to voicemail).
   * The After-Hours branch can play a greeting, then route to voicemail, AI Agent, or forwarding options.
4. **Configure greetings and follow-ups**: Use clear messages to let callers know they’ve reached you after hours. Add voicemail prompts or automated SMS follow-ups.

<Frame caption="Choosing the right SMS template">
  <img src="https://mintcdn.com/salescaptain-42c66529/BIUmlrati3ImmYIG/images/SMS.webp?fit=max&auto=format&n=BIUmlrati3ImmYIG&q=85&s=143b7f9a24606f0e089285905bb57472" alt="SMS configuration options for after-hours routing in SalesCaptain" width="5520" height="3388" data-path="images/SMS.webp" />
</Frame>

5. **Test the flow**: Save and activate. Simulate calls during in-hours and after-hours to confirm everything works as expected. Visit our step-by-step breakdown on setting up [call flows](Creating-Call-Flows) in SalesCaptain.

### **Best Practices**

* Keep after-hours greetings clear and professional. Tell callers when you’ll return their call.
* If using AI Agents, train them with data from your knowledge base so they can provide the most accurate and up-to-date information.
* Use fallback routing to ensure urgent cases don’t slip through.
* Add SMS or callback workflows so callers feel acknowledged even without live staff.

Regularly review your after-hours call metrics (voicemails, missed calls, follow-ups) and adjust your flow as needed.
