Writes each section of a business plan in turn from notes you supply, using no figure you did not write yourself.
Uses
Claude
Google Docs
Draft a business plan from your own notes
companyName to blank.Set companyName to blank.businessNotes to blank.Set businessNotes to blank.sectionPlan to:Set sectionPlan to:Executive summary
The problem and who has it
What we sell
Customers and how we reach them
Competition and why people choose us
How the business makes money
Operations and the team
Milestones for the year ahead
Risks and what we would do about them
What we still have to work outmaxSections to 12.Set maxSections to 12.companyName and save it as company.Trim companyName and save it as company.company is emptyIf company is emptyYes
No
No steps
businessNotes and save it as notes.Trim businessNotes and save it as notes.notes is emptyIf notes is emptyYes
No
No steps
sectionLimit 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 40Yes
No
No steps
sections 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 emptyYes
sections is greater than or equal to sectionLimitIf the length of sections is greater than or equal to sectionLimitYes
No
No steps
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
sections is emptyIf sections is emptyYes
No
No steps
notes and save it as sourceFigures.Extract all matches from notes 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 drafting one section of a business plan for the company named below. The person you are writing for will take this to their own accountant, their bank or an investor, so a sentence you invented is far worse than a sentence you left out.Set promptBase to You are drafting one section of a business plan for the company named below. The person you are writing for will take this to their own accountant, their bank or an investor, so a sentence you invented is far worse than a sentence you left out.
Everything you write comes from the notes below. You know nothing else about this company, its market, its competitors or its numbers.
Rules you must not break:
- Use only the facts, names, customers, prices, costs and figures the notes give you. Add none of your own.
- Digits are reserved for figures that appear, character for character, in the notes. Write every other quantity in words: three staff, the first year, twice a month.
- Never write a statistic, market size, growth rate, market share, valuation, price, cost, headcount, date, year, study, survey, ranking or named source that is not in the notes. Where the writing needs one, write [figure to add] and carry on.
- Do not produce financial projections, forecasts, break-even points, valuations or funding recommendations, and do not tell the reader what to raise or what the business is worth. Present the figures the notes give you as the writer's own figures and assumptions, and say where they still have to be worked out.
- Do not name a competitor, customer, supplier, partner or investor the notes do not name.
- Do not give legal, tax, accounting or investment advice.
- Do not number your list items. Start each one with a dash.
- Write the section itself and nothing else: no heading, no preamble, no sign-off.
- If the notes do not tell you enough to write this section honestly, say so in two or three sentences and name exactly what the writer still has to supply. Do not fill the gap yourself.
Company: company
The notes, in the writer's own words:
notes
The full plan for the document. The other sections are written separately, so cover only your own:
planText.created.Create the document '@company - business plan (draft)'. 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 nullYes
No
No steps
documentId.Add the heading '@company - business plan (draft)' to documentId.documentId.Add text to documentId.This is a draft. Every section below was written from the notes you supplied and nothing else. The figures in it are yours: this document calculates nothing, forecasts nothing and values nothing, and it contains no figure you did not write down yourself. Check every one of them,...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.covered to an empty list.Set covered to an empty list.section in sections:For each section in sections:section to documentId.Add the heading section to documentId.coveredText to none yet - this is the first section.Set coveredText to none yet - this is the first section.covered isn't emptyIf covered isn't emptyYes
covered with ; and save it as coveredText.Join covered with ; and save it as coveredText.No
No steps
sectionPrompt to promptBaseSet sectionPrompt to promptBase
Sections already written, in order: coveredText
Write this section now, and only this section: section
Length: about 300 words, in plain English. Carry on from what has already been written and do not repeat it.draftText to blank.Set draftText to blank.draftErrorIf a step below fails, save the error as draftErrorTry
sectionPrompt. 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.On error
draftText to blank.Change draftText to blank.draftText is nullIf draftText is nullYes
draftText to blank.Change draftText to blank.No
No steps
draftText is emptyIf draftText is emptyYes
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.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
draftText and save it as draftFigures.Extract all matches from draftText 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 figureYes
figure 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.No
No steps
unsourced isn't emptyIf unsourced isn't emptyYes
documentId.Add text to documentId.This section was not written. The draft that came back used figures your notes do not contain, and this workflow will not put a figure you did not write into a business plan. The figures it tried to use are listed at the end - add the real ones to your notes and run it again.section - the draft used figures that are not in your notes to the end of notWritten and save it as notWritten.Add section - the draft used figures that are not in your notes to the end of notWritten and save it as notWritten.No
documentId.Add text to documentId.draftTextsectionsWritten.Add 1 to sectionsWritten.section to the end of covered and save it as covered.Add section to the end of covered and save it as covered.draftText contains [figure to add] (ignoring case)If draftText contains [figure to add] (ignoring case)Yes
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
documentId.Add the heading 'Figures and gaps to close before you use this' 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 notes: 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 Supply the 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 notes do not contain it - item to the end of checks and save it as checks.This is a first draft assembled from your own notes. Every figure in it is yours to verify, and nothing here is financial, legal or investment advice. Work through it with your accountant or adviser before you show it to anyone. to the end of checks and save it as checks.Add This is a first draft assembled from your own notes. Every figure in it is yours to verify, and nothing here is financial, legal or investment advice. Work through it with your accountant or adviser before you show it to anyone. to the end of checks and save it as checks.documentId.Add a bulleted list to documentId.sectionsWritten of the length of sections.Show in the output: Draft written into a new Google Doc. Sections written: sectionsWritten of the length of sections.