Prompt Chaining

Concepts: Dynamic Prompting, Content Generation, Connecting Inputs and Outputs

This example demonstrates how to create a content generator that adapts its output based on the specified audience and industry. The Workflow brainstorms topics for the intended audience, picks the best one, creates an outline for it, and then writes a full draft of the article based on the outline.

Prompt Chain Example Workflow

Input Parameters

ParameterTypeDescription
audienceSTRINGTarget audience for the content (e.g., “Working professionals targeting midsize businesses”)
industrySTRINGIndustry vertical for content specialization (e.g., “Marketing Technology”)

Use Cases

  • Marketing Content: Generate industry-specific blog posts, white papers, or landing page copy
  • Sales Materials: Create targeted sales collateral for different market segments
  • Product Documentation: Produce user guides tailored to specific user personas
  • Email Campaigns: Draft email sequences adapted to different audience segments