Automation library · Content

Create content from form inputs and save it to Google Drive

Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 27 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

27 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 16Service 7

The steps in the order they run, from what starts it.

  1. 1receive_topicForm triggerStarts it
  2. 2add_rowGoogle SheetsService
  3. 3topic_variablesSetLogic
  4. 4create_folderGoogle DriveService
  5. 5create_outlineOpen AiModel
  6. 6markdown_to_fileConvert To FileService
  7. 7upload_outline_fileGoogle DriveService
  8. 8input_briefSetLogic
  9. 9new_linesSetLogic
  10. 10split_outSplit OutLogic
  11. 11section_starts_with_#IfLogic
  12. 12set_introductionSetLogic
  13. 13input_sectionsSetLogic
  14. 14Merge1MergeLogic
  15. 15section_paragraphsOpen AiModel
  16. 16AggregateAggregateLogic
  17. 17section_textSetLogic
  18. 18final_articleSetLogic
  19. 1925_percent_chanceIfLogic
  20. 20final_article_fileConvert To FileService
  21. 21change_section_formatOpen AiModel
  22. 22MergeMergeLogic
  23. 23upload_fiinalArticleGoogle DriveService
  24. 24set_section_contentSetLogic
  25. 25SortSortLogic
  26. 26update_article_linkGoogle SheetsService
  27. 27add_2_new_linesCodeLogic

How it's built

Starts on
Someone submitting a form
Steps
27, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.