Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here are the steps to use Power Automate to send a chat message when a keyword present in an uploaded file is mentioned by someone:

  1. Choose the "When a file is created or modified (properties only)" trigger in Power Automate.
  2. Configure the trigger by selecting the desired folder and file types to monitor.
  3. Add a "Get file content" action to get the text content of the uploaded file.
  4. Use a "Condition" action to check if the keyword is present in the file content.
  5. If the condition is true, add a "Send a message as a bot (V3)" action to send a chat message to the desired channel or user.

Note: The "Send a message as a bot (V3)" action requires creating and registering a Microsoft Bot Framework bot. You will need to provide the bot ID, bot password, and target chat ID or email address as parameters.