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

Announcements

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,099 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard