Skip to main content

Scenario

Your #product-feedback or #feature-requests channel captures what users actually want — in their own words. This job extracts feature themes from the channel, creates personas representing different user segments, then runs a Mavera Focus Group to pressure-test whether the themes resonate broadly or only with a vocal minority. Flow: Slack conversations.history (#feedback) → Extract themes via Mave → POST /personasPOST /focus-groups → Validated priorities

Code

Example Output

Error Handling

Channels with fewer than 20 messages in 60 days may not produce meaningful themes. Extend DAYS_BACK or combine with related channels.
Slack reactions (thumbsup, fire, etc.) indicate agreement. Count reactions on feedback messages to weight importance. Access via the reactions field in message objects.
Complex questions with 4+ personas may take 60-90 seconds. The polling loop allows up to 125 seconds.