web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Implementing Daily Que...
Power Automate
Unanswered

Implementing Daily Question Limit for Users in Power Automate and Power Virtual Agent

(0) ShareShare
ReportReport
Posted on by 403

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.

Categories:
  • abouchaalaBAIT Profile Picture
    932 Moderator on at

    Hey @Jupyter123 , 

    It's not complicated to implement : 

    Here is the logic. 

    1- Add a SharePoint list (or Dataverse Table) with 3 columns ( email, date, questions number )

    2- Each time the flow runs : 

    • Get items from the SharePoint list with Today's date + current user email. 
    • If exists, Get the questions number for selected date. 
    • Check if Number >4 notify user with Trial has Expired and End workflow, else increment the number and update Sharepoint item and continue workflow as expected. 

    Do not forget to Empty your list Every day with a Scheduled workflow at midnight for exemple...

    ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard