<?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 How do I parse view_submission values using variables in Workato (Slack modal)? in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9958#M4041</link>
    <description>&lt;P&gt;Hi communitiy,&lt;/P&gt;&lt;P&gt;I am in need of help parsing a view submission trigger step in Workato using variables. It's a long view submission output and i need assistance using variables to parse specific parts of it. Can someone please help me understand how they'd parse:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"private_metadata": "shhh-its-secret"&lt;/LI&gt;&lt;LI&gt;"This is my example inputted value" and&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;out of the following view_submission output:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"type": "view_submission",&lt;BR /&gt;"team": { ... },&lt;BR /&gt;"user": { ... },&lt;BR /&gt;"view": {&lt;BR /&gt;"id": "VNHU13V36",&lt;BR /&gt;"type": "modal",&lt;BR /&gt;"title": { ... },&lt;BR /&gt;"submit": { ... },&lt;BR /&gt;"blocks": [ ... ],&lt;BR /&gt;"private_metadata": "shhh-its-secret",&lt;BR /&gt;"callback_id": "modal-with-inputs",&lt;BR /&gt;"state": {&lt;BR /&gt;"values": {&lt;BR /&gt;"multiline": {&lt;BR /&gt;"mlvalue": {&lt;BR /&gt;"type": "plain_text_input",&lt;BR /&gt;"value": "This is my example inputted value"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"target_channel": {&lt;BR /&gt;"target_select": {&lt;BR /&gt;"type": "conversations_select",&lt;BR /&gt;"selected_conversation": "C123B12DE"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"hash": "156663117.cd33ad1f",&lt;BR /&gt;"response_urls": [&lt;BR /&gt;{&lt;BR /&gt;"block_id": "target_channel",&lt;BR /&gt;"action_id": "target_select",&lt;BR /&gt;"channel_id": "C123B12DE",&lt;BR /&gt;"response_url": "https:\/\/hooks.slack.com\/app\/ABC12312\/1234567890\/A100B100C100d100"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2025 06:27:09 GMT</pubDate>
    <dc:creator>jarh15</dc:creator>
    <dc:date>2025-05-23T06:27:09Z</dc:date>
    <item>
      <title>How do I parse view_submission values using variables in Workato (Slack modal)?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9958#M4041</link>
      <description>&lt;P&gt;Hi communitiy,&lt;/P&gt;&lt;P&gt;I am in need of help parsing a view submission trigger step in Workato using variables. It's a long view submission output and i need assistance using variables to parse specific parts of it. Can someone please help me understand how they'd parse:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"private_metadata": "shhh-its-secret"&lt;/LI&gt;&lt;LI&gt;"This is my example inputted value" and&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;out of the following view_submission output:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"type": "view_submission",&lt;BR /&gt;"team": { ... },&lt;BR /&gt;"user": { ... },&lt;BR /&gt;"view": {&lt;BR /&gt;"id": "VNHU13V36",&lt;BR /&gt;"type": "modal",&lt;BR /&gt;"title": { ... },&lt;BR /&gt;"submit": { ... },&lt;BR /&gt;"blocks": [ ... ],&lt;BR /&gt;"private_metadata": "shhh-its-secret",&lt;BR /&gt;"callback_id": "modal-with-inputs",&lt;BR /&gt;"state": {&lt;BR /&gt;"values": {&lt;BR /&gt;"multiline": {&lt;BR /&gt;"mlvalue": {&lt;BR /&gt;"type": "plain_text_input",&lt;BR /&gt;"value": "This is my example inputted value"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"target_channel": {&lt;BR /&gt;"target_select": {&lt;BR /&gt;"type": "conversations_select",&lt;BR /&gt;"selected_conversation": "C123B12DE"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"hash": "156663117.cd33ad1f",&lt;BR /&gt;"response_urls": [&lt;BR /&gt;{&lt;BR /&gt;"block_id": "target_channel",&lt;BR /&gt;"action_id": "target_select",&lt;BR /&gt;"channel_id": "C123B12DE",&lt;BR /&gt;"response_url": "https:\/\/hooks.slack.com\/app\/ABC12312\/1234567890\/A100B100C100d100"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 06:27:09 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9958#M4041</guid>
      <dc:creator>jarh15</dc:creator>
      <dc:date>2025-05-23T06:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse view_submission values using variables in Workato (Slack modal)?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9963#M4042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10552"&gt;@jarh15&lt;/a&gt;&amp;nbsp;, can you try this two things.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;First, if you want to use only variables, you need to use functions to extract values, such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"value": "This is my example inputted value", from a nested JSON structure as shown below. Check the data tree and use the keys as per your view_submission payload to reach the value you need.&lt;/P&gt;&lt;P&gt;Additionally, you can use auto-populated data pills to retrieve&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;private_metadata, as shown below.&lt;SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 13.52.52 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2093i842A5A181534296D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 13.52.52 PM.png" alt="Screen Shot 2025-05-23 at 13.52.52 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;you can see how I did it initially for one of my use cases before, then i used json parser&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 14.03.12 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2094iC7A7F0C56A5C2311/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 14.03.12 PM.png" alt="Screen Shot 2025-05-23 at 14.03.12 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can consider using json parser to make things easy , as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;view_submission&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;trigger is going to be a single receiver for each of your custom modals, you should consider future custom modals as well.&lt;/P&gt;&lt;P&gt;Put an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;condition on the modal title, and then inside the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;condition, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;parse json&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function with the entire JSON for the specific view_submission's metadata as a sample JSON document. Since it is mostly going to be the same modal in the future, you can then use each field from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;view_submission&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;output as a datapill, as shown below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 12.21.19 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2089iC249EF008EA527EA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 12.21.19 PM.png" alt="Screen Shot 2025-05-23 at 12.21.19 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 12.21.29 PM.png" style="width: 389px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2092i3E3FDE2FC1AE3282/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 12.21.29 PM.png" alt="Screen Shot 2025-05-23 at 12.21.29 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 12.24.26 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2091i7D54E96E4E5E6510/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 12.24.26 PM.png" alt="Screen Shot 2025-05-23 at 12.24.26 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-23 at 12.24.42 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2090iB1B02B8459DBA4A4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2025-05-23 at 12.24.42 PM.png" alt="Screen Shot 2025-05-23 at 12.24.42 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 08:52:00 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9963#M4042</guid>
      <dc:creator>1dheeraj2</dc:creator>
      <dc:date>2025-05-23T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I parse view_submission values using variables in Workato (Slack modal)?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9975#M4046</link>
      <description>&lt;P&gt;Again, thank you so much! This worked!&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 19:22:38 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-do-i-parse-view-submission-values-using-variables-in-workato/m-p/9975#M4046</guid>
      <dc:creator>jarh15</dc:creator>
      <dc:date>2025-05-23T19:22:38Z</dc:date>
    </item>
  </channel>
</rss>

