{"id":110998,"date":"2018-10-03T07:43:26","date_gmt":"2018-10-03T14:43:26","guid":{"rendered":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/power-automate\/record-your-travel-mileage-using-flow-and-bing-maps\/"},"modified":"2025-06-11T08:06:39","modified_gmt":"2025-06-11T15:06:39","slug":"record-your-travel-mileage-using-flow-and-bing-maps","status":"publish","type":"post","link":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/power-automate\/record-your-travel-mileage-using-flow-and-bing-maps\/","title":{"rendered":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps"},"content":{"rendered":"<h1>Whats up Flow Fans?!<\/h1>\n<p>This weeks Flow of the week is written by Flow &amp; PowerApps MVP Daniel Christian. Daniel is a rockstar community member, Lego superstar and all around problem solver 101. Check out his <a href=\"https:\/\/www.youtube.com\/channel\/UC2v4TcvO4rdDdfqd6rUR5yg\">YouTube Channel<\/a> and follow him on Twitter <a href=\"https:\/\/twitter.com\/dchristian19\">HERE.<\/a> Also, be sure to leave some questions or comments below and he will be happy to answer them!<\/p>\n<h1>Introduction:<\/h1>\n<p>Recording your travel mileage is a crucial and currently a manual process to get travel reimbursement, however, now thanks to Flow and the Bing Maps connector we can automate this process as well. There are two Flows, one is for departures and the second for arrival but both of them update the single row in the Excel spreadsheet. The Flow is smart enough to see which was the last entry submitted by the user that only has the departure information and is pending arrival.<\/p>\n<h1>Requirements:<\/h1>\n<div>\n\u00a01. A Flow subscription<br \/>\n\u00a02. A Bing Maps Key<br \/>\n\u00a03. A location to save the date. In this scenario we are using Excel saved in OneDrive but you can do the same using SharePoint lists, Common Data Services Entity or SQL tables.<\/div>\n<div>\u00a0<\/div>\n<h1>Bing Maps Connector:<\/h1>\n<div>\nYou need to first create an account with Bing Maps Portal at <a href=\"https:\/\/www.bingmapsportal.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.bingmapsportal.com\/<\/a> using an existing Microsoft account. You can then select the My Keys option in My account drop-down list.<\/div>\n<div>\u00a0<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"206\" src=\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\" width=\"270\"\/><\/p>\n<div>\u00a0<\/div>\n<div>Copy the key<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"298\" src=\"https:\/\/s2atga.dm.files.1drv.com\/y4mnIP1eVxfF6JQNy0FTYP1KCDXwOAuW4SqDtGDKPgzrNhAZuLLrVHktaqLIK8nEQFaIHXQIaM6u4dIx3JTGZ22I9VtvCB1rNjSZoUriHRLaFcOMFA4jy9YaVHtKrbsJ0wyqYk15pNW5HSpDnjLOBOaVm6Q3brv1VnpEX-tUPouE7pVS3whPajlaZp6XNisqRgwbO7KX-HbctLoxj1w47qOrg?width=930&amp;height=298&amp;cropmode=none\" width=\"930\"\/><\/p>\n<div>\nNext head over to <a href=\"https:\/\/Flow.Microsoft.com\" target=\"_blank\" rel=\"noopener\">https:\/\/Flow.Microsoft.com<\/a> to add the Bing Maps connector which is currently in preview.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"357\" src=\"https:\/\/spefdg.dm.files.1drv.com\/y4mQvnkb3Uo-stH7IQZ47L6-CgClfN7okDdSpBdGiUgfsyc0hJuLozFPcBi5UUBgr5su4aGLPoY7zvrij_Mfx0AKuI3WaJxv-z0UHSp4JKJOtVN6Kvc8fknLTlr1c1lQCdh8YjQFJsNXuyr3YLAPq9qIb39cLqUerxU8d19yesuUOebzr3d50u1dRg7Y4hpWpktbHcLHpiA6TZRQNQxJsFRYQ?width=410&amp;height=357&amp;cropmode=none\" width=\"410\"\/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"237\" src=\"https:\/\/0qwfmw.dm.files.1drv.com\/y4mWVAw3nQDxGrkwrPHDkqnTCcutKyHeJBp9x5MQQLoFQ_V2KMWOJClesUCM4tSzH2jd9yOJsBPrcmcvSczJ2CLxlSeohopG4Z-mx7ap3LmCpM68zxfeS1QvcHnAFaBpnrJ5erUoEqLyQoVS9btO4fBAjcWTKaj9PX0LDboPaHrwPMuyENL0VERdbXmDftLm-vfSmP98HZTfL1AHPEZEMRL9w?width=485&amp;height=237&amp;cropmode=none\" width=\"485\"\/><\/p>\n<div>\u00a0<\/div>\n<div>This is where you add the API key<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"330\" src=\"https:\/\/nphdka.dm.files.1drv.com\/y4m0Hw_6EfOII0XbJdxp2OeAH4jfiR_xxvNsYZ2ZsopXYQzk-nKSSrqAB5Y9g_FMK9UNrfYKkcEJdDRDfd7ekMYsyjlxfu942VnH3xu7-Sg-KsQCJZgd4rlhqsCXx2BU9ePQ0fu8BNfgUERP6tQXtRzDaoE2ORuaRdqjcXKwSbG2cD8FWbBJ-oXBNh-I77bQP1nJszZOKgZORKwxq-FcBBtow?width=621&amp;height=330&amp;cropmode=none\" width=\"621\"\/><\/p>\n<h1>Excel spreadsheet:<\/h1>\n<div>\nThe Excel spreadsheet is located in the OneDrive for Business and is shared with all the users who are using this Flow.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"46\" src=\"https:\/\/qaqqsa.dm.files.1drv.com\/y4m2-XGgL2iO9GSdhm32MMc7g_QJIK_7nw9lOzyQNRqHm66vLuGZ4dvZ2dzNPohVDm5qTo8gzwQPuleasDx8dAd99ZhmwXBfA88AVR0je_lWBNIWem5oWNcI6T6SH7V7YL1uOQfCYoCGriGbHAxq7KYMFyKMAAOOPUkY12UUryzffCmmKHVsluszhfIpPRrKiuzx_B88qnESf0Ero9SUyphHg?width=194&amp;height=46&amp;cropmode=none\" width=\"194\"\/><\/p>\n<div>\u00a0<\/div>\n<h1>Flow #1: Depart<\/h1>\n<div>\nThis flow uses a virtual button to trigger. Here is what the Flow looks like.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"573\" src=\"https:\/\/35mojg.dm.files.1drv.com\/y4maJo64CU8mLgvBGQ1WKOTgasbwHmQaG4GvttF2aVJblgBKAD5RpNEBXcspGNiCDPJ-B-lqK7dIBiKe6DpKWPbavlN_jU8zRqd5Rb9iJo2vw66pf6Zo9SJ6ACFzIGdOSQ2vu0RLF9VFqyLPcyHVnjWSRtU9hqFZMEbEY8xc4FHKVJeCoP713xJncQ4SaJcpxze8-oOet-VahqEtyQ8oUp53g?width=615&amp;height=573&amp;cropmode=none\" width=\"615\"\/><\/p>\n<div>\u00a0<\/div>\n<div>Here is the expression for the StartTime column <strong>addHours(formatDateTime(utcNow(),&#8217;MM-dd-yyy HH:MM&#8217;),-5)<\/strong><\/div>\n<div>\u00a0<\/div>\n<h1>Flow #2: Arrive<\/h1>\n<div>\nWhen the flow is triggered, we first create two variables, one is to save the email address of the user provided by the Flow button action, the other is where the distance is going to be saved. The FlowUserVar is required for a condition to work.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"285\" src=\"https:\/\/fx1d0w.dm.files.1drv.com\/y4mS5VH4-ckvre1NacCO5xeaQVBMdJa0p68UnBKBaPkNjKKQoJLxHEnekfSukRws2dxdtx4Zc1-w73F0qgP1SKxej0eSLDVdF18Y4uVkBIIQ5cQbtbSwRSQCKq4LrlAAqoP4aHK2TAKJ2UFQdEqxvB7w8tEszVvkqPjh2miDNkv--PMBiCluok0UuWrkXvF8jFU2EPEN5mt1WNJukF0qJr2pQ?width=765&amp;height=285&amp;cropmode=none\" width=\"765\"\/><\/p>\n<div>\u00a0<\/div>\n<div>Next we Get all the rows from the Excel spreadsheet.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"64\" src=\"https:\/\/egi2ma.dm.files.1drv.com\/y4mE0isfCG2oEI_s9uDRaqdCzW0KX387bTymg3Ed8Um8hlKYyIe7NBxsrFkLzjh1V8JFGBRgUXL5YjZYc9vchPdikcoyiOQUDFj2d2uSUIKr2b47GkpTGxg31_87f-t2clHPnHhzytmSVrko2Hox3shsBGubf_BK0KchZnKwrJlOVNh_qMWI5nRSpC_uHrKsrkQnBIto95aMAZk6JYlWYuYTg?width=756&amp;height=64&amp;cropmode=none\" width=\"756\"\/><\/p>\n<div>\u00a0<\/div>\n<div>The following steps are required to first find the rows that contain the end user&#8217;s email address. In it find the row that doesn&#8217;t have the destination or end time and address. Here we use the Length express to find that row where the end time is empty. Instead of end time you could use end address as well.<\/div>\n<div>\u00a0<\/div>\n<div>length(items(&#8216;Apply_to_each&#8217;)?[&#8216;Endtime&#8217;])<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"541\" src=\"https:\/\/s2asga.dm.files.1drv.com\/y4mzlFOmz-ZdezrqtJOKBoDcOjOd8W8nVARB9aJrdhysSB53Xu8HyLDDFA4Elm3KZcOGCiyhSbMrhqOrwWLnM11D85_irz30b4d_PCKzUyo0-sdqhRPMVnc4fL0AQHgLMSX1GTF2sSIXipVcdfMLAQe5d2G2LA7DGOVN64cy2KCvXrDoNHcK5USf2CVhZNciomriMuFlxZtoYVWcpH37EFHJA?width=1445&amp;height=541&amp;cropmode=none\" width=\"1445\"\/><\/p>\n<div>\u00a0<\/div>\n<div>As you can see below if the length is equal to 0 then we are updating that row with the end time and date. We find that row by using the Row id.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"745\" src=\"https:\/\/speedg.dm.files.1drv.com\/y4mJ7m3hhjPhUmrNwr83WQoFM1_8KIoBGR183iQy4wI4_Hc8eD-HgWvbKqdjRxCNwAgBvkje3o0-f77DCbxs7xVXPAVxvBT1ECw36R4Ar0sXlZdqUg6N23foB4hrWx43YrJjTcun0wBBj4wk64tkngbu1hAeFNW8gFRUBrovQdj-ogB8iHIHZKOzq5YdzgmczxYLENrwaKgQBk_XySgmKCt5Q?width=1319&amp;height=745&amp;cropmode=none\" width=\"1319\"\/><\/p>\n<div>Now that we have the start and end address we can use Bing maps to find the distance between them. To do that we add the Get route action. Waypoint 1 is the start address which we get the Excel spreadsheet and Waypoint 2 is the end address which we got from the Manually trigger a flow action.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"511\" src=\"https:\/\/0qwemw.dm.files.1drv.com\/y4m2PWhQAypgs_Qc_PKpWHI883RAzlZZTmPTOlGE9bn3sTlIrUVpN1IoldACOEpKrLNAKErdJtsSdYl3EadyRzfbD390QGOF6i9kW5L4IMUTFuGMSDwMivGp0VN95mWEHjjc3CdNknXNCOai92iCnlLJn4kgFfpRrzeytMKp5FBBgTME1I_ma1TSuPL4i72y_rj1KPiyiHuUlHqqqjXvUoL7g?width=650&amp;height=511&amp;cropmode=none\" width=\"650\"\/><\/p>\n<div>\u00a0<\/div>\n<div>Finally, we can take the total travel distance and update the row. For some reason Flow does not like to use the Travel Distance value as is and hence we have to wrap it in a variable and then save it to the row.<\/div>\n<div>\u00a0<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"745\" src=\"https:\/\/speedg.dm.files.1drv.com\/y4mJ7m3hhjPhUmrNwr83WQoFM1_8KIoBGR183iQy4wI4_Hc8eD-HgWvbKqdjRxCNwAgBvkje3o0-f77DCbxs7xVXPAVxvBT1ECw36R4Ar0sXlZdqUg6N23foB4hrWx43YrJjTcun0wBBj4wk64tkngbu1hAeFNW8gFRUBrovQdj-ogB8iHIHZKOzq5YdzgmczxYLENrwaKgQBk_XySgmKCt5Q?width=1319&amp;height=745&amp;cropmode=none\" width=\"1319\"\/><\/p>\n<div>\u00a0<\/div>\n<div>Now you have a single row which has recorded the start address with date and time, end address with date and time and the mileage.<\/div>\n<div>\u00a0<\/div>\n<p><iframe loading=\"lazy\" allow=\"autoplay; encrypted-media\" allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"https:\/\/www.youtube-nocookie.com\/embed\/nHsMJBlUE-U\" width=\"560\"><\/iframe><\/p>\n<div>\nThis video demonstrates how the two Flow virtual buttons work and the logic behind the flow.<\/div>\n<div>\u00a0<\/div>\n<h1>\nConclusion:<\/h1>\n<div>\nThe total mileage is presented by Bing Maps and might have subtle differences if compared to other maps such as Google.\u00a0 Also, in this case I have only recorded the mileage but you could record the total time it took by calculating the delta between the start and end time.<\/div>\n<div>\u00a0<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Recording your travel mileage is a crucial and currently a manual process to get travel reimbursement, however, now thanks to Flow and the Bing Maps connector we can automate this process as well. There are two Flows, one is for departures and the second for arrival but both of them update the single row in the Excel spreadsheet. The Flow is smart enough to see which was the last entry submitted by the user that only has the departure information and is pending arrival.<\/p>\n","protected":false},"author":354,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","ms-ems-related-posts":[],"footnotes":""},"audience":[3378],"content-type":[3423],"job-role":[],"product":[3474],"property":[],"topic":[],"coauthors":[2941],"class_list":["post-110998","post","type-post","status-publish","format-standard","hentry","audience-it-professional","content-type-tips-and-guides","product-power-automate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog\" \/>\n<meta property=\"og:description\" content=\"Recording your travel mileage is a crucial and currently a manual process to get travel reimbursement, however, now thanks to Flow and the Bing Maps connector we can automate this process as well. There are two Flows, one is for departures and the second for arrival but both of them update the single row in the Excel spreadsheet. The Flow is smart enough to see which was the last entry submitted by the user that only has the departure information and is pending arrival.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/power-automate\/record-your-travel-mileage-using-flow-and-bing-maps\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Power Platform Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-03T14:43:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-11T15:06:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\" \/>\n<meta name=\"author\" content=\"Daniel Christian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daniel Christian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\"},\"author\":[{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/author\/daniel-christian\/\",\"@type\":\"Person\",\"@name\":\"Daniel Christian\"}],\"headline\":\"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps\",\"datePublished\":\"2018-10-03T14:43:26+00:00\",\"dateModified\":\"2025-06-11T15:06:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\"},\"wordCount\":672,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\",\"keywords\":[\"Flow of the Week\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\",\"url\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\",\"name\":\"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog\",\"isPartOf\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\",\"datePublished\":\"2018-10-03T14:43:26+00:00\",\"dateModified\":\"2025-06-11T15:06:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage\",\"url\":\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\",\"contentUrl\":\"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#website\",\"url\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/\",\"name\":\"Microsoft Power Platform Blog\",\"description\":\"Innovate with Business Apps\",\"publisher\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization\",\"name\":\"Microsoft Power Platform Blog\",\"url\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"contentUrl\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png\",\"width\":194,\"height\":145,\"caption\":\"Microsoft Power Platform Blog\"},\"image\":{\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/person\/c0ff9ba2992a210a954cbe9208f8f870\",\"name\":\"Daniel Christian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=gfc6054e84b17353809a8519b8bdaf26f\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=g\",\"caption\":\"Daniel Christian\"},\"url\":\"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/author\/daniel-christian\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/","og_locale":"en_US","og_type":"article","og_title":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog","og_description":"Recording your travel mileage is a crucial and currently a manual process to get travel reimbursement, however, now thanks to Flow and the Bing Maps connector we can automate this process as well. There are two Flows, one is for departures and the second for arrival but both of them update the single row in the Excel spreadsheet. The Flow is smart enough to see which was the last entry submitted by the user that only has the departure information and is pending arrival.","og_url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/power-automate\/record-your-travel-mileage-using-flow-and-bing-maps\/","og_site_name":"Microsoft Power Platform Blog","article_published_time":"2018-10-03T14:43:26+00:00","article_modified_time":"2025-06-11T15:06:39+00:00","og_image":[{"url":"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none","type":"","width":"","height":""}],"author":"Daniel Christian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Daniel Christian","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#article","isPartOf":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/"},"author":[{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/author\/daniel-christian\/","@type":"Person","@name":"Daniel Christian"}],"headline":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps","datePublished":"2018-10-03T14:43:26+00:00","dateModified":"2025-06-11T15:06:39+00:00","mainEntityOfPage":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/"},"wordCount":672,"commentCount":0,"publisher":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization"},"image":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage"},"thumbnailUrl":"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none","keywords":["Flow of the Week"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/","url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/","name":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps - Microsoft Power Platform Blog","isPartOf":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage"},"image":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage"},"thumbnailUrl":"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none","datePublished":"2018-10-03T14:43:26+00:00","dateModified":"2025-06-11T15:06:39+00:00","breadcrumb":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#primaryimage","url":"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none","contentUrl":"https:\/\/egi3ma.dm.files.1drv.com\/y4mifuEY5T_F8wrTWzHAvScDNVafw8mwAO8NAnwGfRV8snK1z4f4ftqcYYDAC7n06isCO5M4i582-QosIBMUey6keo583nsIU9oSehDus07DB3iDmhXZZrgX1ewGYPnrA_Sepj5wCIb9o8ZW0emFvn7uBQX7vJPGfg12WP0mZcvdBSLNN38feL7frUwrYjWxzatMLuf-VPKdNmLATGIkHv37w?width=270&amp;height=206&amp;cropmode=none"},{"@type":"BreadcrumbList","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/2018\/10\/03\/record-your-travel-mileage-using-flow-and-bing-maps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/"},{"@type":"ListItem","position":2,"name":"Advanced | Flow of The Week: Record your travel mileage using Flow and Bing Maps"}]},{"@type":"WebSite","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#website","url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/","name":"Microsoft Power Platform Blog","description":"Innovate with Business Apps","publisher":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#organization","name":"Microsoft Power Platform Blog","url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","contentUrl":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-content\/uploads\/2020\/03\/Microsoft-Logo-e1685482038800.png","width":194,"height":145,"caption":"Microsoft Power Platform Blog"},"image":{"@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/#\/schema\/person\/c0ff9ba2992a210a954cbe9208f8f870","name":"Daniel Christian","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=gfc6054e84b17353809a8519b8bdaf26f","url":"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7356cb0d886c224ae809a1a5f7464c95a549a556e31bc95368967011cc12037e?s=96&d=mm&r=g","caption":"Daniel Christian"},"url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/author\/daniel-christian\/"}]}},"bloginabox_animated_featured_image":null,"bloginabox_display_generated_audio":false,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Power Platform Blog","distributor_original_site_url":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/110998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/users\/354"}],"replies":[{"embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/comments?post=110998"}],"version-history":[{"count":1,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/110998\/revisions"}],"predecessor-version":[{"id":131015,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/posts\/110998\/revisions\/131015"}],"wp:attachment":[{"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/media?parent=110998"}],"wp:term":[{"taxonomy":"audience","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/audience?post=110998"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/content-type?post=110998"},{"taxonomy":"job-role","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/job-role?post=110998"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/product?post=110998"},{"taxonomy":"property","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/property?post=110998"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/topic?post=110998"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/newed.any0.dpdns.org\/en-us\/power-platform\/blog\/wp-json\/wp\/v2\/coauthors?post=110998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}