How to Trigger a Power Automate Flow From Any Message In Teams

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 47

  • @gilbertpradier
    @gilbertpradier Месяц назад

    Thank you so much. Possible to do the same using Teams Slash commands...?

    • @BulbDigital
      @BulbDigital  Месяц назад +1

      No problem! Unfortunately there isn't a way to customize the slash command today.

    • @gilbertpradier
      @gilbertpradier Месяц назад

      @@BulbDigital Thank you.

  • @pierrickdefossez3157
    @pierrickdefossez3157 2 года назад

    Thank you, this is very interesting.
    Unfortunately, it seems that I cannot trigger a flow option from a message: the options available are "new work item", "new poll" and "new task" (only in channel message for this one though).
    Is this related to the "default solution" you are talking about?
    Is it something to allow by the admin of my tenant?

    • @BulbDigital
      @BulbDigital  2 года назад +1

      Hi Pierrick,
      I don't know of any reason you wouldn't see "more actions". The flow may not show up for a few different reasons:
      - The user must have access to run the flow
      - The flow only works in normal Teams messages/channels it does not work in private channels
      - The flow must be in the default environment
      - The Power Automate Actions app needs to be enabled in your Teams Admin Center.

  • @McIlravyInc
    @McIlravyInc Год назад

    So if this is deployed in default environment, it could be available org wide...but the visibility is limited by who it is shared with? So if only wanted one division to be able to use it, you would just share with that distribution list and they would be only ones that would see in more actions...or can org see it but only shared can actually use it?

    • @BulbDigital
      @BulbDigital  Год назад

      Sharing the flow controls the visibility of the action in the More Actions menu 😊

  • @michellewoodard6764
    @michellewoodard6764 2 года назад

    Thanks for this video, it was really helpful

    • @BulbDigital
      @BulbDigital  2 года назад

      Thanks Michelle, glad we could help!

  • @vinodreddy2535
    @vinodreddy2535 2 года назад

    thanks you so much, it is really helpful!

  • @sirdevio
    @sirdevio Год назад

    Huge help

  • @resrudeboy
    @resrudeboy Год назад

    At 6:13 you select the context menu and your actions moved, can you explain what happened there? Ive build flows in a solution and i dont see this in my extensions menu?

    • @BulbDigital
      @BulbDigital  Год назад

      Are your flows in the default environment for your tenant? Custom actions are only pulled in from the default environment.

    • @resrudeboy
      @resrudeboy Год назад

      @@BulbDigital the solution is in the default environment.

    • @resrudeboy
      @resrudeboy Год назад

      im building it there as i wanted to share them with other colleagues.

    • @BulbDigital
      @BulbDigital  Год назад

      I think you are doing everything correctly. The other thing to check would be to verify that Power Automate Actions App is enable in Teams Admin Center.
      This lists the specific requirements. learn.microsoft.com/en-us/power-automate/trigger-flow-teams-message#trigger-the-flow

  • @PGCodeRider
    @PGCodeRider 2 года назад

    Thanks for posting. Excellent as far as informative, clean audio, chaptered video -- Liked And Subscribed! Question that I am pretty sure the answer is no. Does anyone know if there's a way to trigger for when a message is RECEIVED (similar to when email arrives)? I realize these could start to pile up as far as flows and there would have to be some serious conditional filtering to be meaningful. However for something like if (sender == CEO ) ? ALERTPHONE : do nothing;

    • @BulbDigital
      @BulbDigital  2 года назад +1

      Thanks! We try to make our videos as nice as reasonable 😊
      There are two triggers that might be useful to you.
      1. When a new chat message is added (docs.microsoft.com/en-us/connectors/teams/#when-a-new-chat-message-is-added)
      2. When a new channel message is added(docs.microsoft.com/en-us/connectors/teams/#when-a-new-channel-message-is-added)
      Note that the chat message will trigger on ANY chat message including regular meeting chat.
      Note that the channel message will ONLY trigger on the main message. replies to the message will not trigger this event.
      There is also when keywords are mentioned.
      You are correct that these triggers could happen quite frequently. There are a number of throttles that you could hit depending on how many times the flow is being run, how many actions are being executed, etc.

    • @PGCodeRider
      @PGCodeRider 2 года назад

      @@BulbDigital thank you so much. I appreciate the detailed response. I'm going to research both of these triggers in detail. If you ever have a google app script/excel/javascript question... please post on StackOverllow and ping so I can try to address and return the favor. Thanks again.

    • @BulbDigital
      @BulbDigital  2 года назад

      @@PGCodeRider Will do! Thanks!

  • @stuartmacdonald9198
    @stuartmacdonald9198 2 года назад

    Is it possible to use this on a private channel. I am able to run on open channels but it will not appear on private channels?

    • @BulbDigital
      @BulbDigital  2 года назад +1

      In general apps are not available in Private Channels. This would include Power Automate actions like what you are trying to use.

    • @stuartmacdonald9198
      @stuartmacdonald9198 2 года назад

      @@BulbDigital i have managed to (un) private the channels and the above is working fab. I have set up so adaptive card emails customers, would it be possible for said email to be attached to the message it relates to, in reply etc?

    • @BulbDigital
      @BulbDigital  2 года назад +1

      @@stuartmacdonald9198
      Using the information from the original message, you should be able to do a "Reply with a message in a channel" to create a message back to the original. That might do what you are looking for.

  • @gauravrajwanshi
    @gauravrajwanshi 2 года назад

    I want a task to be created automatically whenever I mentioned @name TASK keyword before any text
    For example if I write in marketing channel
    @mike TASK update client spreadsheet
    So a task should be created in the marketing channel planner with the title as “update client spreadsheet” and it should be assigned to Mike
    Is it possible with power automate

    • @BulbDigital
      @BulbDigital  2 года назад +1

      There are a few ways to do this.
      1. Power Automate has a trigger called "When Keywords are mentioned" You can associate that with a channel in a team and the keyword can be your special "TASK keyword". From there you would have to get fancy and parse the message to figure out what is going on.
      2. Power Automate has a trigger called "For a selected message" that would allow you to allow users to open an adaptive card for any message. The adaptive card can capture things like the user and specific details of the task. FYI, there is an OOTB version of this type of flow, but it doesn't assign tasks to other people and it doesn't put the task in planner.
      3. You can also create a Teams Chat bot. This approach would allow you to create a conversational bot that users could use to ask to create a task.
      Those are just some ideas off the cuff. It really depends on what you want the experience to be for the user.

    • @gauravrajwanshi
      @gauravrajwanshi 2 года назад

      @@BulbDigital do you have any video on team bot

  • @abdullatifsabouni3132
    @abdullatifsabouni3132 Год назад

    Is it possible to configure teams with a Power Automate Flow so that Files sent in the Teams are automatically placed in a Subfolder?

    • @BulbDigital
      @BulbDigital  Год назад

      Thanks for the question! It's not totally clear to us what you mean by "sent in Teams" and what you mean by "subfolder". Do you mean when someone attaches a file to a message in a channel? When files are uploaded to a channel in a Team the file is in a subfolder of the SharePoint site's document library. This subfolder is named and associated with the channel.

    • @abdullatifsabouni3132
      @abdullatifsabouni3132 Год назад

      @@BulbDigital Hello, and thank you, I am looking for a Way so that when I recieve a Teams-Message containing a File, I want this File to be stored automatically either on Sharepoint or File Server.

    • @BulbDigital
      @BulbDigital  Год назад

      When files are sent in Teams messages they are already uploaded to either OneDrive or SharePoint. If you are getting the message as a direct chat, then the file is stored in the OneDrive of the user who sent the message and you are given a link to access that file. If you get a message in a Teams Shared Workspace Channel the file is uploaded to the SharePoint site associated with the Team Shared Workspace. You can use the Files tab at the top of your message to get direct access to these.

  • @SurajTRajan
    @SurajTRajan 3 года назад

    Can we configure this for chat messages? I can see the flow under more options inside Teams channel but not in a normal Chat which is more needed

    • @willbee6591
      @willbee6591 3 года назад

      That is interesting; I just finished watching and following this video. After reading your post, I looked, and I did see the flow I created in the chat items (which of course are not tied to any team or channel). I'm not sure what causes it to be there or not. Consider closing AND shutting Teams down and then restating it. I had to do that to get the new SPO list to appear so perhaps that is needed for your situation.

    • @BulbDigital
      @BulbDigital  3 года назад

      The only things that should be required for a Flow to show in the More Actions list is:
      1. The Flow must exist in the Default environment
      2. You must have run access to the Flow.
      3. Flow needs to be turned on
      If you have those two things it should work without issue. If you are having issues, you might want to join our next office hours and we can discuss it in person.

    • @BulbDigital
      @BulbDigital  3 года назад

      We believe it's supposed to, but it isn't appearing for us either in chats at the moment. We'll let you know if we figure anything out!

    • @SurajTRajan
      @SurajTRajan 3 года назад

      @@BulbDigital great so I am not alone here.

    • @BulbDigital
      @BulbDigital  3 года назад

      Hey Suraj! Just wanted to let you know that Microsoft told us that it was a bug in Teams for the flows to not show in Chat, but it should be working now.

  • @mikeymouse2
    @mikeymouse2 2 года назад

    When choosing the flow trigger I don't see the "For a selected message". I'm assuming it's not working in our environment. 😞

    • @mikeymouse2
      @mikeymouse2 2 года назад

      I know why it's not working. Adaptive cards isn't available in the DoD environment, which I am in. dang.

    • @BulbDigital
      @BulbDigital  2 года назад

      Ah, yes we have faced the same in gov tenants, it's unfortunate that it's not supported right now.

  • @yuvrajsingh-hn5cy
    @yuvrajsingh-hn5cy Год назад

    Hi, Could you please create a video that if I want to send multiple message to many employe with multiple information in one click , means msg sent in Teams thru power automate based on Excel. Like Hi ram your todays target 50
    Hi shyam your today's target is 80
    Hi Mick your today's target is 10

    • @yuvrajsingh-hn5cy
      @yuvrajsingh-hn5cy Год назад

      I need a flow that trigger in Teams Group based on Excel information

    • @BulbDigital
      @BulbDigital  Год назад

      Hi Yuvraj, we can add something to our list, but it's quite long at the moment! We would likely suggest using a different data storage method like a SharePoint list, or Dataverse. But it does sound like what you are asking for could be achieved with Power Automate!

  • @woodsram70
    @woodsram70 2 года назад

    In a channel, I would like to send an email from a chat message

    • @BulbDigital
      @BulbDigital  2 года назад

      Using the method I describe, you should be able to do that. You just need to replace where I am creating a SharePoint item with an action that will send an email.