cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Memorable Member
Memorable Member

How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

I want to run a Flow of Microsoft Flow with camera photo of PowerApps.

 

My scenario:

1. Take a photo by camera of PowerApps.

2. Run a flow with the photo as parameter.

3. Response from flow.

 

My try, but can NOT run.

1. My Flow name: Get from photo

2. PowerApps OnSelect: Set(result1, Getfromphoto.Run(Camera1.Photo))

 

My try result is any run my flow.

 

How can I use a camera photo as Microsoft Flow run parameter ?

 

Regards,

Yoshihiro Kawabata

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

Hi @tianaranjo

 

Thank you for your reply.

Yes, I can send a camera capture data from PowerApps to Microsoft Flow.

 

My step abstruct on PowerApps and Microsoft Flow,

On PowerApps - Camera1 - OnSelect
1. ClearCollect( Photos, camera1.Photo);

2. MyFlow1.Run( First( Photos ).Url )

 

On Microsoft Flow - MyFlow1.

1. Trigger - PowerApps

2. Action - Compose - Expression - dataUriToBinary( triggerBody()['Compose_Inputs'])

3. Do something with output of Compose.

 

Thank you.

Yoshihiro Kawabata

 

 

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

Hi @yoshihirok,

 

Please check below blog:

https://medium.com/dtlpub/adding-camera-capability-to-the-powerapps-visitor-registration-app-e5f8402...

 

In the blog, the flow is for creating a file in SharePoint. You could follow the steps to send captured photos to Flow from PowerApps. Please go ahead and have a try.

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Memorable Member
Memorable Member

Re: How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

Thank you @v-monli-msft

 

I will check the blog, about send captured photos to Microsoft Flow from PowerApps.

Happy, Microsoft Flow & PowerApps.

 

Regards,

Yoshihiro Kawabata

Highlighted
Continued Contributor
Continued Contributor

Re: How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

@yoshihirok

 

If I understand you correctly, you want to use a Flow to update a list with photos taken from a PowerApp?  If so, I used the method outlined in the link below.  This sends the image as an attachment to a SharePoint list and bypasses need for Flow altogether.  I had to tweak the formulas a bit to get them to work but the method described was a good start.

http://www.techmikael.com/2018/03/a-workaround-for-saving-hi-res-photos.html

Highlighted
Memorable Member
Memorable Member

Re: How can I use PowerApps camera Photo as Microsoft Flow run parameter ?

Hi @tianaranjo

 

Thank you for your reply.

Yes, I can send a camera capture data from PowerApps to Microsoft Flow.

 

My step abstruct on PowerApps and Microsoft Flow,

On PowerApps - Camera1 - OnSelect
1. ClearCollect( Photos, camera1.Photo);

2. MyFlow1.Run( First( Photos ).Url )

 

On Microsoft Flow - MyFlow1.

1. Trigger - PowerApps

2. Action - Compose - Expression - dataUriToBinary( triggerBody()['Compose_Inputs'])

3. Do something with output of Compose.

 

Thank you.

Yoshihiro Kawabata

 

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,759)