Structuring Surveys Responses for ReDem Compatibility
A complete guide on how to transform survey responses into ReDem-compatible data points
This guide explains how to format your survey data into structured data points suitable for submission to the addRespondent
endpoint of the ReDem API.
Preparing survey responses for CHS (Coherence Score)
For each CHS data point, all question–answer pairs must be included as separate objects within the interviewData
array. Each object should contain a questionId
(as a string), a question
(as a string) and an answer
(as a string or number) to ensure compatibility with the addRespondent
endpoint.
For the most accurate assessments, the AI performs best when it has full visibility into the context of the questionnaire. Therefore, it is recommended to include as much information as possible from the questionnaire.
-
Single-select questions
Single-select questions (radio buttons, dropdowns, yes/no, Likert scale, NPS, etc.) produce one answer value.Transform the question and answer into a structured object with the following format:
-
Multi-select questions
Multi-select questions (checkboxes) produce a zero, one or many answer values.Transform the question and answer into a structured object with the following format:
- Add every option label to the question so that downstream systems can reconstruct the full context.
- Concatenate all selected options in the answer field, separated by comma.
- If no options are selected, set the answer to the literal string “None of those”.
- Open-ended questions
Open-ended questions produce a free text or numeric answer value.
-
Grid (matrix) questions
Grid/matrix questions contain a stem plus multiple row items that share the same answer scale.Transform the grid/matrix stem, row labels and answer scale into a structured object with the following format:
- Emit one object per row item so that each cell becomes its own data point
- Concatenate the stem and the row label, separated by -, to form the question.
- Keep the selected scale label as the answer.