08-29-2022 08:51 AM
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
08-29-2022 12:47 PM
Hi Eric, I think you will need to provide more context. Can you show the section of the recipe that contains the connector action?
08-29-2022 01:12 PM
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
08-29-2022 02:31 PM
Thank you for your response, will this work? I am not sure this will work...Joseph Blanchett , David MacIntosh
08-29-2022 02:45 PM
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.