Turns your notes into a free guide or checklist in a new Google Doc, using only the facts and figures you supplied.
Uses
Claude
Google 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 connections. Fill in the guide's working title, your brief and what the reader should do next.
leadMagnetTitle to blank.Set leadMagnetTitle to blank.leadMagnetBrief to blank.Set leadMagnetBrief to blank.callToAction to blank.Set callToAction to blank.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 heremaxSections to 12.Set maxSections to 12.leadMagnetTitle and save it as guideTitle.Trim leadMagnetTitle and save it as guideTitle.guideTitle is emptyIf guideTitle is emptyleadMagnetBrief and save it as brief.Trim leadMagnetBrief and save it as brief.brief is emptyIf brief is emptycallToAction and save it as nextStep.Trim callToAction and save it as nextStep.nextStep is emptyIf nextStep is emptysectionLimit to maxSections multiplied by 1.Set sectionLimit to maxSections multiplied by 1.sectionLimit is less than 1 or sectionLimit is greater than 40If sectionLimit is less than 1 or sectionLimit is greater than 40sections to an empty list.Set sections to an empty list.planLine in sectionPlan split by a new line:For each planLine in sectionPlan split by a new line:planLine and save it as heading.Trim planLine and save it as heading.heading isn't emptyIf heading isn't emptysections is greater than or equal to sectionLimitIf the length of sections is greater than or equal to sectionLimitheading to the end of sections and save it as sections.Add heading to the end of sections and save it as sections.sections is emptyIf sections is empty(?<=\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.briefDigits and save it as sourceFigures.Extract all matches from briefDigits and save it as sourceFigures.sections with a new line and save it as planText.Join sections with a new line and save it as planText.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.guideTitle. Save it as created.Create the document guideTitle. Save it as created.created.document_id and save it as documentId.Trim created.document_id and save it as documentId.documentId is empty or documentId is nullIf documentId is empty or documentId is nullguideTitle to documentId.Add the heading guideTitle to documentId.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...sectionsWritten to 0.Set sectionsWritten to 0.notWritten to an empty list.Set notWritten to an empty list.needsFigures to an empty list.Set needsFigures to an empty list.unusedFigures to an empty list.Set unusedFigures to an empty list.section in sections:For each section in sections:section to documentId.Add the heading section to documentId.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.draftText to blank.Set draftText to blank.draftErrorIf a step below fails, save the error as draftErrorsectionPrompt. Save it as reply.Ask Claude: sectionPrompt. Save it as reply.
Maximum response length: 1500reply.response_text and save it as draftText.Trim reply.response_text and save it as draftText.draftText to blank.Change draftText to blank.draftText is nullIf draftText is nulldraftText to blank.Change draftText to blank.(?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.draftText is emptyIf draftText is emptydocumentId.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.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.(?<=\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.draftDigits and save it as draftFigures.Extract all matches from draftDigits and save it as draftFigures.unsourced to an empty list.Set unsourced to an empty list.figure in draftFigures:For each figure in draftFigures:sourceFigures doesn't contain figure If sourceFigures doesn't contain figurefigure to the end of unsourced and save it as unsourced.Add figure to the end of unsourced and save it as unsourced.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.unsourced isn't emptyIf unsourced isn't emptydocumentId.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 ...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.documentId.Add text to documentId.draftTextsectionsWritten.Add 1 to sectionsWritten.draftText contains [figure to add] (ignoring case)If draftText contains [figure to add] (ignoring case)section to the end of needsFigures and save it as needsFigures.Add section to the end of needsFigures and save it as needsFigures.documentId.Add the heading 'What to do next' to documentId.documentId.Add text to documentId.nextStepdocumentId.Add the heading 'What this draft still needs' to documentId.checks to an empty list.Set checks to an empty list.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.item in notWritten:For each item in notWritten: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.item in needsFigures:For each item in needsFigures: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.item in unusedFigures:For each item in unusedFigures: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.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.documentId.Add a bulleted list to documentId.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.sections and save it as sectionCount.Count the items in sections and save it as sectionCount.sectionsWritten is 0If sectionsWritten is 0sectionCount 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 the Anthropic connection 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 the Anthropic connection and run it again.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.