# Chatbot Functions

**URL:** <https://community.hubspot.com/t/chatbot-functions/98087>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** tos\
**Created:** [January 18, 2024, 8:50am UTC](https://community.hubspot.com/t/chatbot-functions/98087 "2024-01-18T08:50:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DKlopper](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DKlopper](https://community.hubspot.com/u/DKlopper)\
**Post date:** [January 18, 2024, 8:50am UTC](https://community.hubspot.com/t/chatbot-functions/98087/1 "2024-01-18T08:50:10Z")

</div>

We are busy working on our chatbot for our website.  
We currently have a Chatbot running that connects customers to sales or creates support tickets. This works well.  
However, on top of that, we would like to customize the bot on certain pages of our app/website.

I’ve created a few customized versions that provide links to our knowledge base dependent on the page they are on.

However, I’ve noticed that it is extremely delayed, and often still shows the original message instead of the customized one. If I refresh the page it works, but our customers won’t be refreshing between pages. How can I get this to work better?

I am also struggling to get it to display as “show the welcome message then pop open the chat widget when the trigger is met”. The trigger is set to “time on page = 1 second”

Ideally, we would like a popup to show on certain pages listing out relevant knowledge base articles before a question is even asked. We would essentially like to guide our customers to suggested articles before they think to ask a question. Is this possible? If yes, how do we do this? At the moment I just have a link displayed in the welcome message, but it doesn’t look very nice.  
I like the way the Hubspot chat feature first suggests options before connecting someone to the chat (see screenshot). Is it possible to build something like this in the Chatflows?  
Thank you!

 ![Chatbot Query 2.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/06e7354e552d4e3413fc16f28db4900a0c30af9b.jpeg)

---

<div class="post-metadata">

**Author:** ![BCondon7](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bcondon7/32/98247_2.png) [@BCondon7](https://community.hubspot.com/u/BCondon7)\
**Post date:** [January 18, 2024, 9:08am UTC](https://community.hubspot.com/t/chatbot-functions/98087/2 "2024-01-18T09:08:12Z")

</div>

Hi @DKlopper ,

I’m happy to check this out for you. Regarding the delay you’re experiencing, I have a feeling this might be a browser related issue on your end. If you’re making changes and having to refresh the page to see the updated version, it might be that your browser is just remembering your last visit, hence the delay. I would guess that visitors won’t see that as long as you’re updating/publishing the changes. I’ll test this out for you if you’d like to send me a few links to your website pages?

For the second question, I’m wondering are you using the [Knowldge base lookup tool](https://knowledge.hubspot.com/conversations/a-guide-to-bot-actions#knowledge-base-lookup-service-hub-professional-and-enterprise-only)? This is available for Service Hub Pro/Enterprise and it should work for what you’re trying to do. This would more closely resemble what you see when HubSpot suggests articles on the HubSpot website.

Let me know your thoughts on this. If it’s not quite what you’re looking for, the workaround you proposed with having the link included in the chat isn’t a bad shout.
