Hey, I have a Power Automate flow and Power Virtual Agent.
I'm passing the question from PVA to Power Automate, and it sends a request to Azure Open AI and receives a response.
For every user who uses my chatbot, I'm saving their email, question, and response in a Dataverse table.
However, I want to limit users based on the number of questions they ask in a single day. If a user asks more than 5 questions, I want to notify them that their free trial has expired and they need to wait for 24 hours. After this period, they can resume asking questions.
How can I achieve this? I know it sounds complicated, but I would greatly appreciate any help.

Report
All responses (
Answers (