02Chapter 2: Inputs, steps, and outputs: the anatomy of a workflowThis chapter assumes you have written prompts for a generative AI assistant and can read short Python snippets. You do not need to run the code to follow the ideas. The previous chapter helped you pick recurring tasks worth automating. This chapter shows how to take one of those tasks and describe i8 min read
03Chapter 3: Turning a good prompt into a reusable templateA prompt that worked once is an asset, but you can't hand it to a teammate or run it next week without changes. This chapter shows how to turn it into a template: fixed instructions with named slots, filled in by a small piece of code. It assumes you have written prompts for a generative AI assistan7 min read
04Chapter 4: Packaging brand voice and constraints as reusable contextThis chapter assumes you can write a basic prompt for a generative AI assistant, and that you have seen a parameterized prompt template like the one in the previous chapter. You should be comfortable reading short Python snippets. The goal here is to move brand voice, audience facts, and hard rules 7 min read
05Chapter 5: Asking for structured output and validating itThis chapter assumes you have written prompts for a generative AI assistant, can read short Python snippets, and know how a workflow splits into inputs, steps, and outputs. It also assumes you have seen parameterized prompt templates. Here you will learn to ask a model for output in a fixed shape an7 min read
06Chapter 6: Chaining steps into a multi-stage workflowThis chapter assumes you have read the earlier chapters on workflow anatomy, parameterized templates, and structured output. You should also be comfortable reading short Python functions. A single prompt can often produce a draft. Recurring marketing work, such as a weekly newsletter, a campaign rep7 min read
07Chapter 7: Where to put human reviewThis chapter assumes you can write a parameterized prompt template, that you know why structured output matters, and that you have seen a workflow chained from several steps. You should also be comfortable reading short Python snippets. Here you decide where a person must look at the work before it 8 min read
08Chapter 8: Testing a workflow with fixed inputs and a checklistThis chapter assumes you have read the chapters on prompt templates, structured output, and step chaining. You should be comfortable with a template that takes named inputs, a JSON reply that gets validated, and a workflow that runs several steps in order. The code is short Python. If you don't writ8 min read
09Chapter 9: Versioning and documenting workflows for a teamA workflow that works today will be edited tomorrow. Someone tightens the voice rules, a new model replaces the old one, or a legal team adds a disclosure line. If nobody records those changes, the team can't explain why last month's newsletter read differently from this month's, and nobody can undo7 min read
10Chapter 10: Running workflows on a schedule or a triggerThis chapter assumes you have a workflow that already runs by hand: a template, a validated structured output, and a chain of steps like the ones in earlier chapters. You should also be able to read short Python snippets. The goal here is to run that workflow without someone pressing the button, and7 min read
11Chapter 11: Connecting workflows to CMS, email, and analytics toolsThis chapter assumes you have read the earlier chapters on structured output and chaining steps. You should be comfortable with a workflow that takes named inputs, runs steps, and returns validated JSON. Here you connect that workflow to the systems where marketing work lives: a content management s7 min read
12Chapter 12: Privacy, compliance, and disclosure basicsThis chapter assumes you know the workflow anatomy from earlier chapters: inputs, steps, outputs, and review points. It also assumes you can read short Python snippets. The chapter gives working practice, not legal advice. Rules differ by country, industry, and platform, so have your legal or privac8 min read
13Chapter 13: Measuring time saved and quality, then iteratingThis chapter assumes you have a working workflow with a versioned template, a fixed test set, and a quality checklist (covered in the chapters on evaluation and versioning). You should also be able to read short Python snippets. Here you will learn to measure whether the workflow pays off, and to im7 min read