# Chatflow Bot availability and office hours

**URL:** <https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117>\
**Category:** Tickets & Conversations\
**Created:** [December 21, 2018, 9:12pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117 "2018-12-21T21:12:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Gennell](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/john_gennell/32/43103_2.png) [@John\_Gennell](https://community.hubspot.com/u/John_Gennell)\
**Post date:** [December 21, 2018, 9:12pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/1 "2018-12-21T21:12:20Z")

</div>

Hey Everyone, we just rolled out something that should allow you to set specific office hours at the inbox level for your team, ensuring your chatbots won’t be forwarding live chats to agents who have gone home for the day:

1. Display chatbots based on team availability (always on, only on during business hours, or based on the availability status of team members)
2. Use if/then branches to route visitors based on team availability

Go here for more details on how to use these new capabilities

[https://www.hubspot.com/product-updates/control-your-chatbot-availability-with-new-custom-settings](https://www.hubspot.com/product-updates/control-your-chatbot-availability-with-new-custom-settings)

---

<div class="post-metadata">

**Author:** ![Willsweet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/willsweet/32/79644_2.png) [@Willsweet](https://community.hubspot.com/u/Willsweet)\
**Post date:** [February 13, 2019, 10:20pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/2 "2019-02-13T22:20:06Z")

</div>

EDIT: This doesn’t work 😞

===================  
Timing for chatflows would be a great addition!

In the meantime, can I suggest installing the chat code with Google Tag Manager? This would enable users to set a Custom Tag Firing Schedule, adding and removing chat from the website on a schedule.  
[https://www.bounteous.com/insights/2016/09/20/fire-gtm-tags-your-schedule/](https://support.google.com/tagmanager/answer/2772421?hl=en)

---

<div class="post-metadata">

**Author:** ![Alex\_G](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alex_g/32/78108_2.png) [@Alex\_G](https://community.hubspot.com/u/Alex_G)\
**Post date:** [February 21, 2019, 1:32pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/3 "2019-02-21T13:32:21Z")

</div>

Hi!

We’ve lately started using HubSpot chat bot, and it would be vital for our operations if we could enable the chat bot on specific days and hours.

Is there any way to handle that limitation through coding?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![AllisonT1156](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/allisont1156/32/93635_2.png) [@AllisonT1156](https://community.hubspot.com/u/AllisonT1156)\
**Post date:** [February 22, 2019, 4:14pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/4 "2019-02-22T16:14:52Z")

</div>

As I am working through setting up chatbots/live chats for our organization I came across this exact issue. My goal was to have a live chat active during business hours and after business hours or if the live chat was set to “away” have the bot appear so we can still be collecting information when someone is offline. Having the ability to do this hands-free with less manual steps would be ideal. Hopefully, this feature will be available sooner than later. Until then, this post provided some helpful ways to get around this for now.

---

<div class="post-metadata">

**Author:** ![Jacob02](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jacob02/32/81360_2.png) [@Jacob02](https://community.hubspot.com/u/Jacob02)\
**Post date:** [September 27, 2019, 9:18am UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/5 "2019-09-27T09:18:45Z")

</div>

Totally agree with you. [@John\_Gennell](https://community.hubspot.com/t5/user/viewprofilepage/user-id/5235) @vbrech Would be great if you put this on your next roadmap.

---

<div class="post-metadata">

**Author:** ![JusinP](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jusinp/32/31184_2.png) [@JusinP](https://community.hubspot.com/u/JusinP)\
**Post date:** [March 5, 2019, 12:11am UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/6 "2019-03-05T00:11:37Z")

</div>

i agree with everyone above, ideally we want live chat during the day, and then automatically based on our hours of operations the bot would kick in, I don’t think this would be too hard to do, would it?

---

<div class="post-metadata">

**Author:** ![vbrech](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vbrech/32/52876_2.png) [@vbrech](https://community.hubspot.com/u/vbrech)\
**Post date:** [March 5, 2019, 11:07am UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/7 "2019-03-05T11:07:17Z")

</div>

Haven’t tested this, but I suppose one could have a bot chatflow piggyback on the “execution time” settings of the workflows tool (documented here [https://knowledge.hubspot.com/articles/kcs\_article/workflows/manage-your-contact-based-workflow-settings#general](https://knowledge.hubspot.com/articles/kcs_article/workflows/manage-your-contact-based-workflow-settings#general) ), as follows:

1. Create a contact property, let’s say a single-line text field named “chat\_time”
2. Create a workflow that only executes during your office hours. The workflow has one action: set the contact property “chat\_time” to the value “office hours”
3. Early on in your bot chatflow, use the action “enroll in workflow” to enroll the contact in your workflow.
4. Somewhat later in the chatflow, you can use an “if/then” condition on a bot action. You can use the condition “chat\_time” is equal to “office hours” as the condition. If YES --\> go to agent handover. OTHERWISE --\> go to further qualifying bot actions  
(one could then think of some refinements for dealing with repeat interactions, like resetting that chat\_time property appropriately via workflow, for example, but this would be the basic solution.)

---

<div class="post-metadata">

**Author:** ![bayleafdigital](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bayleafdigital/32/88767_2.png) [@bayleafdigital](https://community.hubspot.com/u/bayleafdigital)\
**Post date:** [March 21, 2019, 8:55pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/8 "2019-03-21T20:55:20Z")

</div>

One of the 4 main steps of the chatflows is “When” the chat bot should appear… I was hoping to see start & stop options allowing me to cherry pick the weekdays and times. But instead, it was all about which URLs the chat bot should appear on (so wouldn’t that be more appropriately called “Where”?)

So one suggestion for the product team is to tie the scheduling to the “When” section. The benefit here is that we don’t have to manually remember to toggle off the chat bot with live agent at 5pm and then toggle on the “after hours” chat bot every week day.

---

<div class="post-metadata">

**Author:** ![TWR\_Alves](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/twr_alves/32/44515_2.png) [@TWR\_Alves](https://community.hubspot.com/u/TWR_Alves)\
**Post date:** [May 28, 2019, 6:59pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/9 "2019-05-28T18:59:59Z")

</div>

I feel like this is another example of built-in obsolescence. The ability to auto-toggle chatflows, regardless of the type, based on time should be a basic feature. We currently do this with other third-party systems that are pennies on the dollar in comparison to Hubspot.

Additionally, with the expense of Hubspot being so high, things like this and the inability to delete form submissions, or even auto-assign leads when you only have the marketing hub is overally fustrating.

Hubspot is a great product, but I feel like it cuts its users off at the knees in terms of some basic functions and productizing features to force additional package purchases.

---

<div class="post-metadata">

**Author:** ![TiSu](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tisu/32/35926_2.png) [@TiSu](https://community.hubspot.com/u/TiSu)\
**Post date:** [October 9, 2019, 2:53pm UTC](https://community.hubspot.com/t/chatflow-bot-availability-and-office-hours/12117/10 "2019-10-09T14:53:51Z")

</div>

Something that could be great is the ability to activate a Chat and a Chatbot at the same time, and the Chatbot displays only when nobody is available on the Chat. That way, even if an agent has to be away, the bot takes over.
