<?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 Re: Building a Body with multiple records (Batch) in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3365#M1615</link>
    <description>&lt;P&gt;If you’re looking to send this list in a request to another app, start by adding an action step to do that. If you’re using one of workatos connector or SDKs you can map fields from your list into that step. If you’re hitting an app with no connector available, you’ll need to build the request schema in a HTTP action step first but then do the same thing &lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 20:12:19 GMT</pubDate>
    <dc:creator>jblanchett</dc:creator>
    <dc:date>2022-08-29T20:12:19Z</dc:date>
    <item>
      <title>Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3363#M1613</link>
      <description>&lt;P&gt;Hi there, I am new in this community so to Workato. I am looking for building a Body requests using multiple records (batch), I have a Workato list created but I don't know how to build this body call. Here is a sample&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2022 15:51:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3363#M1613</guid>
      <dc:creator>emorera</dc:creator>
      <dc:date>2022-08-29T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3364#M1614</link>
      <description>&lt;P&gt;Hi Eric, I think you will need to provide more context. Can you show the section of the recipe that contains the connector action?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 19:47:25 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3364#M1614</guid>
      <dc:creator>david-macintosh</dc:creator>
      <dc:date>2022-08-29T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3365#M1615</link>
      <description>&lt;P&gt;If you’re looking to send this list in a request to another app, start by adding an action step to do that. If you’re using one of workatos connector or SDKs you can map fields from your list into that step. If you’re hitting an app with no connector available, you’ll need to build the request schema in a HTTP action step first but then do the same thing &lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 20:12:19 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3365#M1615</guid>
      <dc:creator>jblanchett</dc:creator>
      <dc:date>2022-08-29T20:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3366#M1616</link>
      <description>&lt;P&gt;Thank you for your response, will this work? I am not sure this will work...&lt;A href="https://systematic.workato.com/workato-migration/users/2373689"&gt;Joseph Blanchett&lt;/A&gt; , &lt;A href="https://systematic.workato.com/workato-migration/users/2413465"&gt;David MacIntosh&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:31:18 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3366#M1616</guid>
      <dc:creator>emorera</dc:creator>
      <dc:date>2022-08-29T21:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3367#M1617</link>
      <description>&lt;P&gt;Ah, I see. I typically will use a common data model to define the HTTP Request JSON Schema. You can use the MAPPER action in workato to map your list data to the common data model. Unless the list is EXACTLY the format your HTTP Request is in, you can map the list directly into the HTTP Action directly. Here is an example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2022 21:45:40 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3367#M1617</guid>
      <dc:creator>jblanchett</dc:creator>
      <dc:date>2022-08-29T21:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3368#M1618</link>
      <description>&lt;P&gt;&lt;A href="https://systematic.workato.com/workato-migration/users/2373689"&gt;Joseph Blanchett&lt;/A&gt; will this allow to make a Batch request to the App? I want all records of the list to be included into the same call.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:01:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3368#M1618</guid>
      <dc:creator>emorera</dc:creator>
      <dc:date>2022-08-29T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3369#M1619</link>
      <description>&lt;P&gt;Yes just create your common data model schema contain a list&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:02:49 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3369#M1619</guid>
      <dc:creator>jblanchett</dc:creator>
      <dc:date>2022-08-29T22:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3370#M1620</link>
      <description>&lt;P&gt;Perfect, I will try and let you know, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:03:38 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3370#M1620</guid>
      <dc:creator>emorera</dc:creator>
      <dc:date>2022-08-29T22:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3371#M1621</link>
      <description>&lt;P&gt;Do you have an example body structure that is expected from the API call you will be making via HTTP?  This is important to accuracly advise.  In many cases you would use a message template for the body itself and would start with the example API body for creating it.  In terms of batch support, again that will depend on the structure of the anticipated message to the API.  It it accepta a list then the acculation to list variable works assuming there is a coresponting list structure in the messge to map to.  If it accepts a single record than a batch connector call inside an iteration loop could be the way to go.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:11:47 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3371#M1621</guid>
      <dc:creator>david-macintosh</dc:creator>
      <dc:date>2022-08-29T22:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3372#M1622</link>
      <description>&lt;P&gt;Yes, here it is, that is two items:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;   "upload_request_id":"b3eb858c-e880-4938-bba3-bd5b733dd9b5",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;   "records":[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;      {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "phone_numbers":[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;               "phone_number":"+351929312312",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;               "phone_type":"MOBILE"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         ],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "first_name":"Joey",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "last_name":"Tribbiani",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "timezone":"Europe/Lisbon",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "priority":7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "extra_data":{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "country":"USA",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "state":"California",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "job":"Actor"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;      },&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;      {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "phone_numbers":[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;               "phone_number":"+351929312313",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;               "phone_type":"MOBILE"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         ],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "first_name":"Jane",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "last_name":"Doe",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "timezone":"GMT",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "priority":5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         "extra_data":{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "country":"USA",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "state":"California",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;            "job":"Actress"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;         }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;      }&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;   ]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:13:49 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3372#M1622</guid>
      <dc:creator>emorera</dc:creator>
      <dc:date>2022-08-29T22:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3373#M1623</link>
      <description>&lt;P&gt;So you could have "records" list in your datamodel and map your accumlated list variable datapill to it.  If you use a message template you would have somehting like: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"upload_request_id":"b3eb858c-e880-4938-bba3-bd5b733dd9b5",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"records":&lt;/STRONG&gt;{{Records}}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;And would have map point of Records to map to in formula mode as datapill.to_json&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:02:55 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3373#M1623</guid>
      <dc:creator>david-macintosh</dc:creator>
      <dc:date>2022-08-29T23:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Building a Body with multiple records (Batch)</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3374#M1624</link>
      <description>&lt;DIV&gt;    &lt;DIV&gt;        &lt;DIV&gt;Hi Eric! Are you using the connector SDK to build this body or the HTTP connector?&lt;/DIV&gt;        &lt;DIV&gt;&lt;/DIV&gt;        &lt;BR /&gt;            &lt;/DIV&gt;    &lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Aug 2022 10:13:49 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/building-a-body-with-multiple-records-batch/m-p/3374#M1624</guid>
      <dc:creator>bennett-goh</dc:creator>
      <dc:date>2022-08-30T10:13:49Z</dc:date>
    </item>
  </channel>
</rss>

