Teams Capture for Keyword

Kerns, Jason W 1 Reputation point
2020-11-23T16:06:22.707+00:00

I am trying to consolidate all of my Outlook emails, Calendar events, and MS Teams chats into 1 file/document, so I can go to one place to see everything in chronological order based off a keyword.

In this case I want all of my emails to copy to a OneNote if the word "STRIDES" is in the subject or body. Then I want any calendar events with the same word anywhere in it todo the same. Lastly, I want any MS Channel or open chat with that word to go into this same OneNote. It is very inconvenient to search multiple platforms for the related information. Is there a way to do this? I could not find a Flow, Power App, Power Automate, anything that works so far.

I appreciate the support.

Outlook Windows Classic Outlook for Windows For business
Microsoft Teams Microsoft Teams for business Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,756 Reputation points Microsoft External Staff
    2020-11-24T08:04:29.547+00:00

    @Kerns, Jason W ,

    From Teams side, it can capture the keyword from chats, teams and channels. Only administrator can export Teams chat history from eDiscovery.

    From Outlook side, you can export the mailbox which stores your email, calendar items, and contacts by this article.

    Then, manually integrating these data.

    Currently, I did not find the automatic tool to realize this feature.

    If you have any other requirements, please give us more information.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Henry Pei 1 Reputation point
    2020-11-30T04:18:18.2+00:00

    You need to customize several Power Automate flows, one for each of the platforms(emails, teams, etc.) because a flow can have only one trigger.

    As an example, below is the structure of the one triggered from an email:

    43467-screenshot-2020-11-30-120232.jpg

    Some caveats:

    1. The above example only checks the message body for the keyword, you might need a parallel action in that to check for keyword in the subject; or create another flow to specifically check for keywords in subject
    2. For your purpose, a Power Automate teams message trigger only works for messages posted in a specific channel of a specific Team. You will need to build multiple flows if keywords you want to capture are posted on multiple channels/multiple teams.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.