cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Adding batch processing to an API endpoint recipe

juliaju
Not applicable

Seeing that workato supports batch processing in recipes, is there a way to handle batch processing with an API request trigger that has multiple objects in its JSON request?

From the docs, it seems like I'd have to transform the JSON request into an integration (like a list) before I'd be able to apply batch processing actions on it.

Thanks!

1 REPLY 1

gary1
Star Chef I
Star Chef I

If you're talking about aggregating multiple API requests into a single job, I don't think this is possible. Not natively at least.

Offhand, I think you would need to store the API requests in a data table or similar, and then create a recipe that periodically polls the data table and processes available requests. IMO, this would be silly to do.

The API will pass any payload to a recipe, and that recipe can do whatever you want it to do. So pass an array of objects to your API, and process them in the recipe. (IMO, this is the better approach.)