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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automation file ...
Power Automate
Unanswered

Power Automation file Attachment using Power App V2 Action

(0) ShareShare
ReportReport
Posted on by 1

Hello,

I was trying to send my uploaded file attachment in canvas app in email through Power automate flow. I used Power App V2 Action to send file attachment but I am getting the following error:

Unable to process template language expressions in action 'Initialize_variable' inputs at line '0' and column '0': 'The template language expression 'base64ToString(triggerBody()['file']['contentBytes'])' cannot be evaluated because property 'file' doesn't exist, available properties are 'text, text_1, text_2, text_3, text_4, text_5, text_6, text_7'. Please see https://aka.ms/logicexpressions for usage details.'
It would be very helpful if anybody has got solution to this problem. 
 
 
Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @rojina12 

     

    Please refer to the below solution for passing file attachment to power automate:

    Solved: Re: Send attachment from PowerApps form to Teams v... - Page 2 - Power Platform Community (microsoft.com)

     

    In this post, the file is sent to canvas app to power automate and inside power automate it saves the attachment to approval action. You may modify the actions as per your need & let me know if you face any issue.

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard