Turns your notes into a free guide or checklist in a new Google Doc, using only the facts and figures you supplied.

UsesClaudeGoogle Docs

Draft a free guide for your website from your notes

Describe the guide you want to give away, who it is for, the problem it solves and every fact and figure you want used, then run it. A new Google Doc is created and each section of your running order is drafted by the AI from your brief alone, under its own heading. When it finishes, the run gives you the link to the document.

You end up with a draft you can edit, brand and hand out, with your call to action copied onto the last page word for word. Nothing reaches the page that you did not supply: the AI is forbidden from inventing statistics, prices, dates, studies, testimonials or named companies, and every figure in a drafted section is checked against your brief - '20%' matches '20 percent' and '1200' matches '1,200', but a number your brief does not contain anywhere stops that section from being written, and the document says so. Where a figure is missing the draft leaves a marked placeholder, and the document ends with a list of what still needs adding. If no section can be written at all, the run is marked failed. A new document is created every run, so nothing you already have is touched.

You need Google Docs and Anthropic connected. Fill in the guide's working title, your brief and what the reader should do next.

Set leadMagnetTitle to blank.Set leadMagnetTitle to blank.
Set leadMagnetBrief to blank.Set leadMagnetBrief to blank.
Set callToAction to blank.Set callToAction to blank.
Set sectionPlan to:Set sectionPlan to:Who this is for The problem, in plain terms What to do first The steps, one at a time The mistakes that cost people most A checklist to work through Where to go from here
Set maxSections to 12.Set maxSections to 12.
Trim leadMagnetTitle and save it as guideTitle.Trim leadMagnetTitle and save it as guideTitle.
If guideTitle is emptyIf guideTitle is empty
Yes
Stop and report a problem: Give the guide a working title in the 'leadMagnetTitle' step - for example 'The first ninety days of a new payroll system' - then run it again.Stop and report a problem: Give the guide a working title in the 'leadMagnetTitle' step - for example 'The first ninety days of a new payroll system' - then run it again.
No
No steps
Trim leadMagnetBrief and save it as brief.Trim leadMagnetBrief and save it as brief.
If brief is emptyIf brief is empty
Yes
Stop and report a problem: Fill in the 'leadMagnetBrief' step first: who the guide is for, the problem it solves, what the reader will be able to do by the end, and every fact, example and figure you want used. Nothing that is not in this brief will reach the page.Stop and report a problem: Fill in the 'leadMagnetBrief' step first: who the guide is for, the problem it solves, what the reader will be able to do by the end, and every fact, example and figure you want used. Nothing that is not in this brief will reach the page.
No
No steps
Trim callToAction and save it as nextStep.Trim callToAction and save it as nextStep.
If nextStep is emptyIf nextStep is empty
Yes
Stop and report a problem: Say what the reader should do next in the 'callToAction' step - the offer, the link, the address to reply to. It is copied onto the last page word for word, so nothing about your offer is ever invented.Stop and report a problem: Say what the reader should do next in the 'callToAction' step - the offer, the link, the address to reply to. It is copied onto the last page word for word, so nothing about your offer is ever invented.
No
No steps
Set sectionLimit to maxSections multiplied by 1.Set sectionLimit to maxSections multiplied by 1.
If sectionLimit is less than 1 or sectionLimit is greater than 40If sectionLimit is less than 1 or sectionLimit is greater than 40
Yes
Stop and report a problem: Set 'maxSections' to a whole number between 1 and 40 - it is the most sections this workflow will write in one run.Stop and report a problem: Set 'maxSections' to a whole number between 1 and 40 - it is the most sections this workflow will write in one run.
No
No steps
Set sections to an empty list.Set sections to an empty list.
For each planLine in sectionPlan split by a new line:For each planLine in sectionPlan split by a new line:
Trim planLine and save it as heading.Trim planLine and save it as heading.
If heading isn't emptyIf heading isn't empty
Yes
If the length of sections is greater than or equal to sectionLimitIf the length of sections is greater than or equal to sectionLimit
Yes
Stop repeating.Stop repeating.
No
No steps
Add heading to the end of sections and save it as sections.Add heading to the end of sections and save it as sections.
No
No steps
If sections is emptyIf sections is empty
Yes
Stop and report a problem: List the sections you want, one per line, in the 'sectionPlan' step.Stop and report a problem: List the sections you want, one per line, in the 'sectionPlan' step.
No
No steps
Replace the pattern “(?<=\d),(?=\d{3}(?!\d))” with “” in brief and save it as briefDigits.Replace the pattern “(?<=\d),(?=\d{3}(?!\d))” with “” in brief and save it as briefDigits.
Extract all matches from briefDigits and save it as sourceFigures.Extract all matches from briefDigits and save it as sourceFigures.
Join sections with a new line and save it as planText.Join sections with a new line and save it as planText.
Set promptBase to You are writing one section of a guide that a business gives away to people who ask for it. It has to be genuinely useful on its own, and it has to be honest, because the business's name is on it.Set promptBase to You are writing one section of a guide that a business gives away to people who ask for it. It has to be genuinely useful on its own, and it has to be honest, because the business's name is on it. Everything you write comes from the brief below. You know nothing else about this business, its customers, its market or its results. Rules you must not break: - Use only the facts, examples, names and figures the brief gives you. Add none of your own. - Digits are reserved for figures that appear, character for character, in the brief. Write every other quantity in words: “three steps”, “half an hour”, “twice a year”. - Never write a statistic, percentage, price, market size, growth rate, date, year, study, survey, ranking, award, testimonial or named source that is not in the brief. Where the writing needs one, write [figure to add] and carry on. - Do not name a company, product, person, tool or website the brief does not name. - Do not promise a result, a saving or an outcome the brief does not promise. - Do not give legal, medical, financial or tax advice. - Do not number your list items. Start each one with a dash. - Write plain text with no Markdown: no ** or __ for bold, no # headings, no [text](link) links. - Write the section itself and nothing else: no heading, no preamble, no sign-off, no note about what you did. - If the brief does not tell you enough to write this section honestly, say so in two or three sentences and name what the writer still has to supply. Do not fill the gap yourself. Working title of the guide: guideTitle The brief, in the words of the person who commissioned the guide: brief The full plan for the guide. The other sections are being written separately, so cover only your own: planText.
Google DocsGoogle DocsCreate the document guideTitle. Save it as created.Create the document guideTitle. Save it as created.
Trim created.document_id and save it as documentId.Trim created.document_id and save it as documentId.
If documentId is empty or documentId is “null”If documentId is empty or documentId is “null”
Yes
Stop and report a problem: Google Docs did not give back a new document, so there is nothing to write into. Check that Google Docs is still connected and run it again.Stop and report a problem: Google Docs did not give back a new document, so there is nothing to write into. Check that Google Docs is still connected and run it again.
No
No steps
Google DocsGoogle DocsAdd the heading guideTitle to documentId.Add the heading guideTitle to documentId.
Google DocsGoogle DocsAdd text to documentId.Add text to documentId.This is a draft. Every section below was written from your brief and nothing else, so it contains no figure, claim, example or name you did not supply. Read it through, add your own detail, and check it before you give it to anyone. Whatever the draft could not write is listed a...
Set sectionsWritten to 0.Set sectionsWritten to 0.
Set notWritten to an empty list.Set notWritten to an empty list.
Set needsFigures to an empty list.Set needsFigures to an empty list.
Set unusedFigures to an empty list.Set unusedFigures to an empty list.
For each section in sections:For each section in sections:
Google DocsGoogle DocsAdd the heading section to documentId.Add the heading section to documentId.
Set sectionPrompt to promptBaseSet sectionPrompt to promptBase Write this section now, and only this section: section Length: about 250 words, in plain English, written to the reader as “you”. Practical over inspirational.
Set draftText to blank.Set draftText to blank.
If a step below fails, save the error as draftErrorIf a step below fails, save the error as draftError
Try
ClaudeClaudeAsk Claude: sectionPrompt. Save it as reply.Ask Claude: sectionPrompt. Save it as reply. Maximum response length: 1500
Trim reply.response_text and save it as draftText.Trim reply.response_text and save it as draftText.
On error
Change draftText to blank.Change draftText to blank.
Show in the output: Could not draft the section '@section'. It is reported as not written at the end of the document.Show in the output: Could not draft the section '@section'. It is reported as not written at the end of the document.
If draftText is “null”If draftText is “null”
Yes
Change draftText to blank.Change draftText to blank.
No
No steps
Replace the pattern “(?m)\*\*|^#{1,6}[ \t]+” with “” in draftText and save it as draftText.Replace the pattern “(?m)\*\*|^#{1,6}[ \t]+” with “” in draftText and save it as draftText.
If draftText is emptyIf draftText is empty
Yes
Google DocsGoogle DocsAdd text to documentId.Add text to documentId.This section was not written - nothing came back from the writing step. Run the workflow again to try this section once more.
Add section - nothing came back from the writing step to the end of notWritten and save it as notWritten.Add section - nothing came back from the writing step to the end of notWritten and save it as notWritten.
No
Replace the pattern “(?<=\d),(?=\d{3}(?!\d))” with “” in draftText and save it as draftDigits.Replace the pattern “(?<=\d),(?=\d{3}(?!\d))” with “” in draftText and save it as draftDigits.
Extract all matches from draftDigits and save it as draftFigures.Extract all matches from draftDigits and save it as draftFigures.
Set unsourced to an empty list.Set unsourced to an empty list.
For each figure in draftFigures:For each figure in draftFigures:
If sourceFigures doesn't contain figure If sourceFigures doesn't contain figure
Yes
Add figure to the end of unsourced and save it as unsourced.Add figure to the end of unsourced and save it as unsourced.
Add section - figure to the end of unusedFigures and save it as unusedFigures.Add section - figure to the end of unusedFigures and save it as unusedFigures.
No
No steps
If unsourced isn't emptyIf unsourced isn't empty
Yes
Google DocsGoogle DocsAdd text to documentId.Add text to documentId.This section was not written. The draft that came back used figures your brief does not contain, and this workflow will not put a figure you did not supply into something you hand to a prospect. The figures it tried to use are listed at the end - add the real ones to your brief ...
Add section - the draft used figures that are not in your brief to the end of notWritten and save it as notWritten.Add section - the draft used figures that are not in your brief to the end of notWritten and save it as notWritten.
No
Google DocsGoogle DocsAdd text to documentId.Add text to documentId.draftText
Add 1 to sectionsWritten.Add 1 to sectionsWritten.
If draftText contains “[figure to add]” (ignoring case)If draftText contains “[figure to add]” (ignoring case)
Yes
Add section to the end of needsFigures and save it as needsFigures.Add section to the end of needsFigures and save it as needsFigures.
No
No steps
Google DocsGoogle DocsAdd the heading 'What to do next' to documentId.Add the heading 'What to do next' to documentId.
Google DocsGoogle DocsAdd text to documentId.Add text to documentId.nextStep
Google DocsGoogle DocsAdd the heading 'What this draft still needs' to documentId.Add the heading 'What this draft still needs' to documentId.
Set checks to an empty list.Set checks to an empty list.
Add Sections written from your brief: sectionsWritten of the length of sections. to the end of checks and save it as checks.Add Sections written from your brief: sectionsWritten of the length of sections. to the end of checks and save it as checks.
For each item in notWritten:For each item in notWritten:
Add Not written - item to the end of checks and save it as checks.Add Not written - item to the end of checks and save it as checks.
For each item in needsFigures:For each item in needsFigures:
Add Add your own figure where the draft wrote [figure to add] - item to the end of checks and save it as checks.Add Add your own figure where the draft wrote [figure to add] - item to the end of checks and save it as checks.
For each item in unusedFigures:For each item in unusedFigures:
Add Figure left out because your brief does not contain it - item to the end of checks and save it as checks.Add Figure left out because your brief does not contain it - item to the end of checks and save it as checks.
Add “This is a first draft written only from your brief. Read every line, add your own examples and figures, and check every claim before you give it to anyone.” to the end of checks and save it as checks.Add “This is a first draft written only from your brief. Read every line, add your own examples and figures, and check every claim before you give it to anyone.” to the end of checks and save it as checks.
Google DocsGoogle DocsAdd a bulleted list to documentId.Add a bulleted list to documentId.
Build the text “https://docs.google.com/document/d/@documentId/edit” and save it as documentLink.Build the text “https://docs.google.com/document/d/@documentId/edit” and save it as documentLink.
Count the items in sections and save it as sectionCount.Count the items in sections and save it as sectionCount.
If sectionsWritten is 0If sectionsWritten is 0
Yes
Stop and report a problem: None of the sectionCount sections could be written, so the document only holds the headings and your call to action. The reasons are listed at the end of it: documentLink - if every section says nothing came back, check that Anthropic is still connected and run it again.Stop and report a problem: None of the sectionCount sections could be written, so the document only holds the headings and your call to action. The reasons are listed at the end of it: documentLink - if every section says nothing came back, check that Anthropic is still connected and run it again.
No
No steps
Finish the run: Your draft is ready in Google Docs: documentLinkFinish the run: Your draft is ready in Google Docs: documentLink Sections written from your brief: sectionsWritten of sectionCount. Anything still missing is listed at the end of the document.