cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Athikom
New Member

Getting GPS location on Form & Flow

Hi there,

 

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!

3 REPLIES 3
v-yamao-msft
Community Support
Community Support

Hi Athikom,

 

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:
https://flow.microsoft.com/en-us/documentation/register-custom-api/

 

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.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

jaredfiacco
New Member

Hi Athikom, 

 

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...

 

Good Luck!

Jared Fiacco

If this post Answers your question, please consider giving Kudos or Accepting it as the Solution to help the other members

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,987)