Skip to main content

Scenario

You need a 5-part blog series on a complex topic — say, “Building a Data-Driven Marketing Stack.” Writing each part from scratch risks inconsistency: the voice drifts, key points get repeated, the narrative arc loses coherence. This playbook generates part 1 with Mavera’s Generate API, then feeds the output back as context for part 2. Each subsequent part receives the full chain of prior outputs, so the AI maintains consistent terminology, avoids repeating itself, and builds on the narrative thread from earlier installments.
Mavera-only. No external CMS, no editorial calendar tool. Just Generate + Chat + your brand voice. The chain-of-context pattern works with any generation app.

Architecture


What You Need


The Flow

1

Define the series plan

Create a structured outline: series title, number of parts, and each part’s topic, key points, and desired length. The plan drives the generation loop.
2

Generate part 1

Call POST /generations with the first topic. No prior context needed — this sets the foundation.
3

Chain subsequent parts

For parts 2–N, include all prior outputs as context in the input. Use Chat to build a continuity prompt that instructs the AI: “Continue this series. Here’s what we’ve covered so far.”
4

Generate a series introduction

After all parts are complete, use Chat to create a series introduction and linking summary that ties all parts together.
5

Export the series

Save each part plus the intro as separate files. Include a manifest with part order, credits, and word counts.

Stage 1 — Define the Series Plan


Stage 2 — Generate with Chained Context

Each part receives a continuity prompt built from all prior outputs. Part 1 has no prior context. Part 5 sees the summaries of parts 1–4.
Context length grows with each part. For very long series (8+ parts), truncate prior outputs to summaries instead of full text. Use Chat to generate a 200-word summary of each prior part before feeding it as context.

Stage 3 — Generate Series Introduction and Navigation

After all parts exist, use Chat to produce a series introduction and per-part summaries that help readers navigate.


Variations

For series with 8+ parts, summarize each prior part instead of including full text:
Mix content types within the series — a blog post for part 1, a case study for part 3, an interview format for part 5:
After generating each part, run it past a target persona via Chat to check relevance:
Use Chat with response_format to generate the full series outline (topic, key points, length per part) from a single topic before starting the generation loop. The AI ensures logical flow between parts.
After all parts are generated, append navigation links (← Part N / Part N+2 →) to each output for a connected reading experience.

Credits Estimate

The chain-of-context approach costs slightly more per part than independent generation (the context tokens add ~10% to each call). The narrative coherence is worth it — readers notice when parts contradict each other.

What’s Next

Brand Voice Content Library

Create a full content library in one sitting

Content Repurposing Pipeline

Turn each series part into social, email, and ad formats

Content Localization

Adapt the series for different regional audiences

Content Generation

Full API reference for generation apps

Responses API

response_format, personas, and analysis_mode

Credits & Budget

Track and manage credit usage