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 / Power Automate / Planner task with atta...
Power Automate
Unanswered

Planner task with attachments from Channel Message

(0) ShareShare
ReportReport
Posted on by

I am trying to create a flow that triggers on a new team channel message and outputs a planner task with any attachments from the message. Anyone know how to do this?

I tried a bunch of different ways, but it keeps failing at the same spot because the contentUrl keeps coming back null and I can't figure out why. screenshots and errors below.

Untitled-1.jpg

 

Untitled-1_error.png

 

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @Anonymous  it looks like you are using equals(Data) and you need to use it like equals(Dada,Data) to compare.

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    I always get contentUrl of the attachment, please check the run history:

    167.PNG

    Please try to check the Files tab and see if the files have stored in SharePoint Library.

     

    Besides, if you can get the file name, we could get the url of file through the file name.

    166.PNG

    Hope this helps.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    I ended up combining a few methods along with the name expression and got something that seems to work. thanks!

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Would you please provide the method in this similar thread for the users who have the same problem as yours?

    https://powerusers.microsoft.com/t5/Building-Flows/Attaching-files-documents-using-Get-file-using-path/m-p/496882#M61791

    Thank you in advance!

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Functioning flow is below - it takes a few minutes for the task to be updated, but it works! expressions are as follows:

     

    flowthatworks.jpg

     

    name - items('Apply_to_each')?['name']

    contentUrl - items('Apply_to_each')?['contentUrl']

  • pontyfractbooks Profile Picture
    2 on at

    Hello,

     

    Thank you for this - I am trying to copy this flow but I get stuck at 'append to array variable' stage.

     

    I am a beginner, and not a coder and do not have an IT background, and I can't find a way to replicate what you have in the 'value' field - please could someone explain to me how to enter it? I cannot see dynamic content named either 'name' or 'contentUrl' - I can see you've posted additional expressions about these beneath the flow but I'm afraid with my level of knowledge I don't understand where to put it/what to do with it. I'd be very grateful for any assistance.

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard