Forum Discussion
I’m not familiar with your exact details, but attached is a sample pipeline that demonstrates the flow as I understand you want to do it.
Generate Guid per row_2022_07_05.slp (6.0 KB)
- vincenr4 years agoNew Contributor III
So does it somehow add the UUID to every row in the response from the POST?
- koryknick4 years agoEmployee
Yes - the Mapper would add the value to the returned results.
With that said, depending on how the API returns the results, there may be additional steps before the Mapper to add the GUID value. For example, if the API returns an array of values in the response, you may need to use a JSON Splitter to split the array into individual documents.
- vincenr4 years agoNew Contributor III
Here’s what I’m doing:
I get all the rows etc and sent to csv successfully. I’m just not sure how to add the UUID so that a new one is generated for every row (inside the splitter) or some other way?