We are combining Forms and Flow to create electronic proof of delivery solution when the product is delivered to customers.
The idea is like this
1. Driver open proof of delivery form (based on Microsoft Form) on mobile device - input all information into the form
2. Microsoft Flow triggered and it saves information from form into SQL database on cloud.
- We need GPS location when the driver click submit form to be stamped into SQL database.
Currently, I can only get current mobile device location using Buttons trigger. But MS Form cannot be triggered by Flow. MS Form can only trigger the flow.
So, I cannot mixes these together to get GPS location stamped after Form is submitted.
I tried to integrate with Bing Map service, but seems like the API only return result based on available dynamic variables in the Flow, which does not have location information.
Any other option that can achive this requirement? Thanks!
You may consider to integrate a Custom API with flow to get the current location. With custom connectors, you could extend Flow capabilities. Please check this documentation for more details:
As you mentioned, Flow can be triggered by Microsoft Forms. You may add a custom action to get current location after the trigger “MicrosoftForms – When a form is submitted”.
Hope this could be a reference for you. Please try it on your side.
Thank you Mabel for the reply. I do agree that custom API would be able to provide current location data.
But as the Flow's manual button triggering can provide this current location data already, it would be better if it provides an alternate way to get location data from other mechanic.
I know this was from a while ago, but I was having a similar issue.
Instead of using Microsoft Forms or Buttons, make a form in Power Apps and you can collect the location. It'd take more time to develop the app than a form, but you'd get the functionality you're looking for.
Here is a link describing how you would be able to collect that information https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-continuously-track-location-Or-automa...
If this post Answers your question, please consider giving Kudos or Accepting it as the Solution to help the other members