Bot to read date in textblock and check if the date already expired

To make it easier to add promos to the chatbot, I added the promos to text blocks and also want it to validate if the promo has already expired by reading the date. I was not able to make it work though and the chatbot is still mentioning the expired promos. I already tried instructions and json.

For example

“Our Signature Facial Promo is available until October 25, 2025.”

2 Likes

Hi there, @user29002 and welcome aboard, @user29002 :waving_hand:

Thank you so much for the feedback!

I’ve shared your use case with the dev team. They’ll investigate if it’s possible to make the bot validate promos based on the expiration date. I’ll let you know once I have any news :slightly_smiling_face:

2 Likes

Hi there, @user29002 :waving_hand:

Thank you for waiting!

We’ve switched the language model of your widget from GPT-4 mini to GPT-5 mini and now the bot responds correctly if the promo has expired.

Could you please test it out and let me know how it goes?

1 Like

Hi Max,

Works great. Bot is now able to validate promo expirations from text blocks. Thanks a heap.

2 Likes

That’s great, thanks a lot for the feedback!

If anything else comes up, we’re always here to help :wink:

1 Like