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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Send Excel table to MS...
Copilot Studio
Unanswered

Send Excel table to MS Teams chat with PVA & PA

(0) ShareShare
ReportReport
Posted on by 2

Hello!

 

I want to create a flow with a Chatbot that returns a (nicely formatted) table as reply in a chat. This table is not massive (5x5 or so), but the data in it will have to be dynamic (e.g. come from an Excel sheet where data changes weekly). 

 

I have tried to accomplish this from different angles (directly from Excel; through Sharepoint list), but I keep thinking there must be an easier way than pulling it cell by cell and printing it into a message. 

 

I see the flow like this:

1) PVA topic is triggered

2) PVA topic calls PA script

3) PA script pulls (dynamic) data/table from Excel

4) PVA prints the table nicely/readable into it's reply message.

 

Is there an easy/obvious way how I can achieve it?

 

Best

Max

I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @AdobeMax ,

     

    It's a good idea, but we have some limitations.

    Today, we can use a Markdown in the PVA, but we cannot implement tables for Teams chat using Markdown.

    Use markdown to format Power Automate approvals - Power Automate | Microsoft Docs

     

    Also, we cannot use Adaptive Cards in PVA using Power Automate.

    Vote here: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Adaptive-Cards/idi-p/399095

    You only can use Adaptive Cards with Bot Framework Composer.

     

    My suggestion:

    - PVA topic

    - Call an action  > Power Automate

    - Power Automate get the Excel data - How to get excel data using Power Automate – Power Platform Learning (wordpress.com)

    - Create a list using Markdown - Use markdown to format Power Automate approvals - Power Automate | Microsoft Docs

    - Return to your PVA as text output 

    - Show the output variable inside a message on the PVA bot

  • Wesso Profile Picture
    51 on at

    Hi @AdobeMax 

     

    What @renatoromao is a method. 

     

    Another method I can think of involves using the Flow bot. 

    This does mean the response will not be coming from your bot but from the Flow bot instead.

     

    Similar to the above but with some tweaks:

    1. PVA topic is triggered
    2. Call an Action > Power Automate (Cloud Flow)
      • Cloud Flow will get the Excel data (the data in Excel has to be in a Table)
      • Cloud Flow action to post message to user as Flow bot with Excel data (bonus of using Flow bot is that the Flow bot can post Adaptive Cards so you can use Designer | Adaptive Cards to create and format a very nice looking message)
    3. Inform user that they will receive a message from the Flow bot instead

    Does give you the flexibility of having a very nice message (adaptive card) to the user, but the user experience is slightly disjointed as they will need to jump to the Flow chat. However if the user's primary output is getting this Excel data and that's it, this might not be so bad since it's all within Teams anyways.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 250 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 197 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 103 Moderator

Last 30 days Overall leaderboard