Skip to main content

Scenario

Your Typeform survey includes open-ended questions that generated hundreds of free-text responses. Reading them all is impractical, and keyword analysis misses nuance. This job extracts all open-ended answers, sends them to Mavera Chat for theme identification, then creates a Focus Group with targeted questions based on the discovered themes. The result is a deep-dive into the why behind each theme, with synthetic personas probing the nuances your survey couldn’t capture. Flow: Typeform responses → Filter open-ended fields → Mavera Chat: “Identify themes” → Parse themes → POST /api/v1/focus-groups with theme-specific questions → Qualitative depth on each theme

Architecture

Code

Example Output

Error Handling

Responses under 10 characters (e.g., “N/A”, “none”) are filtered out. Adjust the threshold based on your survey’s typical response quality.
With fewer than 50 open-ended responses, Mave may only find 2-3 themes. The code handles variable theme counts gracefully.
Questions derived from themes can be long. Keep the quote excerpt under 100 characters to prevent focus group prompt overflow.