> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/legacy-ai-agents-notice/strategies/customer-service-personalization-with-time-context.md).

# Customer Service Personalization with Time Context

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FM5pm1lUxdknLUGvvig4l%2FWhatsApp%20Image%202024-12-13%20at%2014.23.06.jpeg?alt=media&amp;token=4c7e3cd7-eb8f-4519-a6e1-49e76f124b76" alt=""><figcaption></figcaption></figure>

Service personalization is increasingly valued. The **ChatGPT**, with its flexibility and intelligence, allows for personalized interactions based on the time the chatbot is accessed. This feature makes it possible to tailor messages and behaviors to improve the user experience, especially on platforms like Sprinthub. Let's explore how this functionality works and what its benefits are.

***

## Why consider service hours?

Service hours directly influence user expectations. During business hours, people expect a quick, straightforward response. Outside business hours, it is possible to convey messages in a more relaxed or informative way, indicating future availability.

This approach not only improves the customer experience, but also helps manage demands more efficiently.

***

## How is time captured in ChatGPT?

When starting ChatGPT, the system can automatically capture the user's or server's local time. Based on this data, the chatbot adjusts its tone, message, and behavior.

**Implementation example in Sprinthub:**

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FsnLLMugUgj4CVcTmU7lo%2Fimage.png?alt=media&amp;token=d7d7ea8a-4ebc-4732-a062-c1d78cb90755" alt=""><figcaption></figcaption></figure>

1. **Time identification:**\
   At the start of the interaction, the chatbot checks the current time based on an API or the system configuration.
2. **Context definition:**\
   The time is used to define preconfigured responses for different times of day:
   * **During business hours (8 a.m.-6 p.m.):**\
     "Hello, good morning/afternoon! We're ready to help you. How can I help you now?"
   * **Outside business hours (after 6 p.m.):**\
     "Hello! At the moment, we're outside business hours, but don't worry. Leave your message and we'll get back to you as soon as possible."
   * **Night hours (10 p.m.-6 a.m.):**\
     "Hi! I noticed it's very late. If your message is urgent, let us know here and we'll get in touch right at the start of business hours."
3. **Contextual messages:**\
   In addition to responding according to the time, the chatbot can suggest different actions, such as:
   * Scheduling service for the next available time slot.
   * Sending useful information for independent reference.
   * Redirecting to relevant materials or FAQs.

**An example of contextualization:**

<pre><code><strong>Morning (6 a.m. to noon):
</strong>"Good morning! It's great to have you here bright and early. We're ready to help with whatever you need. How can I assist you today?"

Afternoon (12 p.m. to 6 p.m.):
"Good afternoon! I hope your day is going well. Tell me how I can help you now to ensure everything goes as smoothly as possible."

Evening (6 p.m. to 10 p.m.):
"Good evening! We're here to help you. Even at the end of the day, we want to make sure you have the support you need."

Late night (10 p.m. to 6 a.m.):
"Hello! I noticed it's very late. At the moment, we're outside business hours, but you can leave your message and we'll make sure it's handled as soon as business hours resume."
</code></pre>

**Result:**

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FpwkynhTVVkAh3x58TeHK%2Fimage.png?alt=media&amp;token=cc148912-4d7e-4c05-a357-2c48dcfaa543" alt=""><figcaption></figcaption></figure>

***

## Advantages of time-based personalization

1. **More seamless customer experience:**\
   The user feels well attended to even outside business hours, knowing their message will be handled at the appropriate time.
2. **Efficient demand management:**\
   Companies avoid unrealistic expectations of an immediate response during times of lower availability.
3. **Greater engagement:**\
   Contextualized messages make service more human and closer, creating a better connection with the customer.
4. **Automation and organization:**\
   With predefined messages, teams can organize tasks and prioritize service requests received outside business hours.

***

#### **Conclusion**

Integrating time capture into ChatGPT is a simple and effective strategy to offer a more human and efficient service. At Sprinthub, this functionality can transform the user experience, automatically adapting to the needs and expectations of each moment of the day.

If you want to implement this feature in your platform, explore the available settings in Sprinthub and start offering personalized interactions right away. 🚀


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/legacy-ai-agents-notice/strategies/customer-service-personalization-with-time-context.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
