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 / Copilot Studio / Help needed for PVA to...
Copilot Studio
Unanswered

Help needed for PVA to add a query

(0) ShareShare
ReportReport
Posted on by 6

I've created a simple bot to get the lists of birthdays and anniversaries by name, unique badge number, month, and event type (birthday and anniversary) . I want to know if we can add any queries to get today's events. For example, if the user wants to know what events (birthday/anniversary) are for today, how do I do that? my Chabot is simple with only topics and no power to automate. 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,039 Most Valuable Professional on at

    Unfortunately, the only way to do that would be to call a Power Automate flow to do the query.  Depending on where the events are stored its a relatively easy flow to build, but there is no way to query it inside a Bot other than using Power Automate, unless the events are all stored in an entity inside PVA.  But storing the events in a custom entity in PVA would take more work than writing a PA flow to retrieve them.

  • Kavyashree_A Profile Picture
    6 on at

    The events are stored in an excel file on SharePoint as well as on my system. Could you help me with how to call and use a power automate flow for this particular question? Any help would be appreciated. Thanks.

  • Pstork1 Profile Picture
    69,039 Most Valuable Professional on at

    Make sure the events in the Excel file are in the form of an Excel Table.  If they are then its a relatively easy flow to create.  

    1. Send the current date as a parameter to the flow
    2. List the Rows in the Excel Table
    3. Filter the array returned by the current date
    4. Do an Apply to Each loop to assemble a markup string table of the results
    5. Return that markup string to the Bot for display
  • Kavyashree_A Profile Picture
    6 on at

    Thanks a lot! I will give this a try and let you know 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 410

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 160 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 63 Super User 2026 Season 1

Last 30 days Overall leaderboard