<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create Features from Salesforce XY Data in ArcGIS Connectors for Power Automate Questions</title>
    <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1357007#M491</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm new to both Salesforce and PowerAutomate, and am trying to figure out the best way to automatically convert records from the former into GIS features upon initial data entry. I found &lt;A href="https://www.esri.com/arcgis-blog/products/platform/data-management/geocoding-salesforce-records-with-arcgis-connectors-for-power-automate/" target="_self"&gt;a very handy tutorial here&lt;/A&gt; on how to automatically add XY data to a new Saleseforce record, but what I can't sort out is how to then actually turn that data into a mappable feature.&lt;/P&gt;&lt;P&gt;I very well could be overlooking something here, but so far I've not been able to wrap my head around that last crucial step...&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 19:04:05 GMT</pubDate>
    <dc:creator>BenClark</dc:creator>
    <dc:date>2023-12-05T19:04:05Z</dc:date>
    <item>
      <title>Create Features from Salesforce XY Data</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1357007#M491</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm new to both Salesforce and PowerAutomate, and am trying to figure out the best way to automatically convert records from the former into GIS features upon initial data entry. I found &lt;A href="https://www.esri.com/arcgis-blog/products/platform/data-management/geocoding-salesforce-records-with-arcgis-connectors-for-power-automate/" target="_self"&gt;a very handy tutorial here&lt;/A&gt; on how to automatically add XY data to a new Saleseforce record, but what I can't sort out is how to then actually turn that data into a mappable feature.&lt;/P&gt;&lt;P&gt;I very well could be overlooking something here, but so far I've not been able to wrap my head around that last crucial step...&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 19:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1357007#M491</guid>
      <dc:creator>BenClark</dc:creator>
      <dc:date>2023-12-05T19:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Features from Salesforce XY Data</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1362817#M502</link>
      <description>&lt;P&gt;Can you just use Add XY Data in Pro?&amp;nbsp; What am I missing?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 20:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1362817#M502</guid>
      <dc:creator>TL2</dc:creator>
      <dc:date>2023-12-19T20:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create Features from Salesforce XY Data</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1364661#M508</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53309"&gt;@BenClark&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/371835"&gt;@TL2&lt;/a&gt;&amp;nbsp;- Hi there. I think where the hang up might be is passing the &lt;EM&gt;geometry&lt;/EM&gt;&amp;nbsp;value in the&amp;nbsp;&lt;EM&gt;Create a record in a feature layer&amp;nbsp;&lt;/EM&gt;action.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if the following steps help out and if this is what you were looking to do in your flow. You can set this flow up to run manually or to run it as a trigger as mentioned in the blog post (&lt;EM&gt;When a record is created in Salesforce&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;1. In the&amp;nbsp;&lt;EM&gt;Create a record in a feature layer action&lt;/EM&gt;, paste the following code into the&amp;nbsp;&lt;EM&gt;geometry&amp;nbsp;&lt;/EM&gt;field.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;{
"x": INSERT_YOUR_LONGITUDE_FIELD_FROM_SALESFORCE_ACTION,
"y": INSERT_YOUR_LATITUDE_FIELD_FROM_SALESFORCE_ACTION,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. It should look something like this after it is inserted and you have selected the layer you want to update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnthonyLatini_0-1703721187003.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90049i27513C0425119195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnthonyLatini_0-1703721187003.png" alt="AnthonyLatini_0-1703721187003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. Run the flow and the new features should appear on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 00:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1364661#M508</guid>
      <dc:creator>AnthonyLatini</dc:creator>
      <dc:date>2023-12-28T00:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Features from Salesforce XY Data</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1578912#M861</link>
      <description>&lt;P&gt;This is phenomenal Anthony - it cut through a lot of work on my end.&amp;nbsp; Powerful feature with so little documentation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One quesiton - how would I have the feature created / populated with other fields coming in from my salesforce action, not just the lat/long&amp;nbsp; For instance , fearture names or other Salesforce fields?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 17:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/create-features-from-salesforce-xy-data/m-p/1578912#M861</guid>
      <dc:creator>Cmurchie</dc:creator>
      <dc:date>2025-01-25T17:02:42Z</dc:date>
    </item>
  </channel>
</rss>

