I’m working on an integration workflow in Make where I need to transform data from one HTTP module to be used as a request body in another HTTP module.
Current Situation:
- Source: An API that provides a list of items
- Desired Format: I want to obtain a JSON array like this:
json
[
{"category": "Puxador", "chosen": "C/ Puxador"},
{"category": "Perfil", "chosen": "Veneziana"}
]
Problem:
When processing the data in Make, the array appears to have an unclear or complex data structure. I’m unable to determine if it’s a proper array of JSON objects or something else entirely.
Specific Questions:
- How can I verify the exact data structure in Make?
- What are the best methods to convert this data into a clean, usable JSON array?
- Are there any Make-specific techniques to transform this data?
Additional Context:
- I’ve already confirmed the original API request returns the data in the expected format. Example: [{“category”: “Puxador”, “chosen”: “C/ Puxador”}, {“category”: “Perfil”, “chosen”: “Veneziana”}]
- I’m using two consecutive HTTP modules to process this data, pre-processing and post-processing.
- The issue lies in Make’s interpretation of the data structure
- The focus of this matter is the Data object as below:
Looking for: A reliable method to convert the current data structure into a standard JSON array that can be used in subsequent processing steps.