---
title: How to turn the agent on or off based on business hours
description: You can control when the agent works based on business hours, turning it on or off automatically according to your...
---

[Skip to content](https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours#main-content)

- [English - United States](https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours)
- [Español](https://help.leadster.com.br/es/article/389-como-activar-o-desactivar-el-agente-segun-el-horario-comercial)
- [Português - Brasil](https://help.leadster.com.br/pt-br/article/389-como-ativar-ou-desativar-o-agente-de-acordo-com-o-horario-comercial)

English - United States

Show submenu for translations

[![leadster](https://help.leadster.com.br/hs-fs/hubfs/leadster-logo-colorida.png?width=168&height=36&name=leadster-logo-colorida.png)](https://help.leadster.com.br/pt-br?hsLang=en-us)

Open main navigation

Close main navigation

- - [English - United States](https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours)
    - [Español](https://help.leadster.com.br/es/article/389-como-activar-o-desactivar-el-agente-segun-el-horario-comercial)
    - [Português - Brasil](https://help.leadster.com.br/pt-br/article/389-como-ativar-ou-desativar-o-agente-de-acordo-com-o-horario-comercial)

  English - United States
  
  Show submenu for translations
- [Fale conosco](https://survey.hsforms.com/1dmIUytXBR8KNMnTsArZOZQejqhe)

[Fale conosco](https://survey.hsforms.com/1dmIUytXBR8KNMnTsArZOZQejqhe)

 Como podemos te ajudar?

- There are no suggestions because the search field is empty.

1. [Help Center - Leadster](https://help.leadster.com.br/en-us?hsLang=en-us)
2. [WhatsApp Suite](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us)
3. [AI agent](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#ai-agent)

November 30, 2026

# How to turn the agent on or off based on business hours

**In this article**

- [Overview](https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours#visao-geral)
- [How to set it up](https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours#como-configurar)

## Overview

You can control when the agent works based on business hours, turning it on or off automatically according to how your team is set up.

This logic uses automation rules, based on the hours set in the inbox.

---

## How to set it up

Before setting up the automation, make sure of two things:

- You have a **connected inbox**
- You have **business hours set up** in that inbox

These hours are what will be used to turn the agent on or off.

With business hours already set:

1. Go to **Configurações \> Automação** (Settings \> Automation).
2. Find the rule that turns on the AI agent — it controls when the agent kicks in automatically.
3. In the rule, click **alterar** (change). A pop-up will open with the automation settings.
4. Then add a new condition based on business hours. Set it up as follows:

- Rule: **AND**
- Condition: **Business hours**
- Operator: **equal to**
- Value: **within business hours** or **outside business hours**

💡 Whether you choose “within” or “outside” business hours depends on your team's strategy.

**For example:**

- If you want the agent to work only during business hours, select “within business hours”
- If you want it to work only outside business hours, select “outside business hours”

1. Then just **save the rule.**

**🎥 To follow the steps in practice, watch the video (in Portuguese):** [**https://www.awesomescreenshot.com/video/50998883?key=cb6671dfce25077b78c714b5bd343c0e**](https://www.awesomescreenshot.com/video/50998883?key=cb6671dfce25077b78c714b5bd343c0e)

Still have questions? Contact our support team.

Best regards 👋

- [WhatsApp Suite](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#main-content)

    - [Errors and solutions](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#errors-and-solutions)
    - [Templates](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#templates)
    - [Team and settings](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#team-and-settings)
    - [Campaigns and broadcasts](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#campaigns-and-broadcasts)
    - [Reports](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#reports)
    - [AI agent](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#ai-agent)
    - [Inbox and conversations](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#inbox-and-conversations)
    - [Integrations and source tracking](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#integrations-and-source-tracking)
    - [Getting started](https://help.leadster.com.br/en-us/whatsapp-suite?hsLang=en-us#getting-started)
- [Website Suite](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#main-content)

    - [Website installation](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#website-installation)
    - [Design and display](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#design-and-display)
    - [Conversion events (GA4, Meta, and Ads)](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#conversion-events-ga4-meta-and-ads)
    - [AI agent and Live Chat](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#ai-agent-and-live-chat)
    - [Create and edit the flow](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#create-and-edit-the-flow)
    - [Qualification and conditionals](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#qualification-and-conditionals)
    - [Dashboard and Analytics](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#dashboard-and-analytics)
    - [Conversion prompts](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#conversion-prompts)
    - [Redirect to WhatsApp and calendar](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#redirect-to-whatsapp-and-calendar)
    - [Flows by page and device](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#flows-by-page-and-device)
    - [Website chat leads](https://help.leadster.com.br/en-us/website-suite?hsLang=en-us#website-chat-leads)
- [ShopBot](https://help.leadster.com.br/en-us/shopbot?hsLang=en-us#main-content)

    - [Connect your store](https://help.leadster.com.br/en-us/shopbot?hsLang=en-us#connect-your-store)
    - [Set up ShopBot](https://help.leadster.com.br/en-us/shopbot?hsLang=en-us#set-up-shopbot)
- [Integrations](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#main-content)

    - [Marketing events (Meta and GA4)](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#marketing-events-meta-and-ga4)
    - [RD Station](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#rd-station)
    - [CRMs](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#crms)
    - [Webhook and connectors](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#webhook-and-connectors)
    - [Marketing automation and other tools](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#marketing-automation-and-other-tools)
    - [Overview and troubleshooting](https://help.leadster.com.br/en-us/integrations?hsLang=en-us#overview-and-troubleshooting)
- [Leads and reports](https://help.leadster.com.br/en-us/leads-and-reports?hsLang=en-us#main-content)

    - [Receiving leads and lead reports](https://help.leadster.com.br/en-us/leads-and-reports?hsLang=en-us#receiving-leads-and-lead-reports)
- [Account and plans](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#main-content)

    - [Subscription, payment, and cancellation](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#subscription-payment-and-cancellation)
    - [Get to know Leadster](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#get-to-know-leadster)
    - [Access, users, and security](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#access-users-and-security)
    - [Plans and free trial](https://help.leadster.com.br/en-us/account-and-plans?hsLang=en-us#plans-and-free-trial)

[![](https://help.leadster.com.br/hs-fs/hubfs/leadster-logo-colorida-2.png?width=187&height=40&name=leadster-logo-colorida-2.png)](https://leadster.com.br/?hsLang=en-us)

<https://www.instagram.com/leadster.ai/> <https://leadster.com.br/blog/?hsLang=en-us> [mailto:atendimento@leadster.com.br](mailto:atendimento@leadster.com.br)

Copyright © 2026, Leadster

```json
{
  "@context" : "https://schema.org",
  "@type" : "TechArticle",
  "author" : {
    "@type" : "Organization",
    "name" : "Leadster",
    "url" : "https://leadster.com.br"
  },
  "dateModified" : "2026-11-30T21:17:30Z",
  "datePublished" : "2026-11-30T21:17:29Z",
  "description" : "You can control when the agent works based on business hours, turning it on or off automatically according to your...",
  "headline" : "How to turn the agent on or off based on business hours",
  "inLanguage" : "en-US",
  "mainEntityOfPage" : "https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://leadster.com.br/img/leadster-logo-v2.webp"
    },
    "name" : "Leadster",
    "url" : "https://leadster.com.br"
  },
  "url" : "https://help.leadster.com.br/en-us/article/389-how-to-turn-the-agent-on-or-off-based-on-business-hours"
}
```