Skip to main content

Scenario

Perigon provides AI-generated summaries for articles, saving you from parsing raw content. This job pulls summarized articles for your industry, creates Mavera personas representing different audience segments, then rewrites the digest in each persona’s voice — so your newsletter can have a section for executives, one for practitioners, and one for students. Flow: Perigon GET /all (with summaries) → Mavera POST /personasPOST /speak per persona → Multi-voice digest

Code

Example Output

Error Handling

Not all articles have AI summaries. Fall back to description field. If both are empty, skip the article.
If persona output sounds generic, add more specifics to the description — communication style, jargon preferences, typical sentence length.
10 articles × 400 chars = ~4,000 chars. Within Mavera’s context limits. For larger digests, split into two Speak sessions.