Creates a folder in Google Drive to store the generated content and outline
Configured with Aggregate, Convert To File, Form Trigger, Google Drive, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Files / media
- Transform
- Trigger
- Data store
- Routing
- Code
- AI & models
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| create_folder | Files / media | Google Drive | folder |
| input_brief | Transform | Edit Fields | See node parameters |
| new_lines | Transform | Edit Fields | See node parameters |
| input_sections | Transform | Edit Fields | See node parameters |
| section_text | Transform | Edit Fields | See node parameters |
| Merge | Transform | Merge | See node parameters |
| Sort | Transform | Sort | See node parameters |
| Aggregate | Transform | Aggregate | See node parameters |
| final_article | Transform | Edit Fields | See node parameters |
| set_introduction | Transform | Edit Fields | See node parameters |
| Merge1 | Transform | Merge | See node parameters |
| receive_topic | Trigger | Form Trigger | See node parameters |
| add_row | Data store | Google Sheets | append |
| topic_variables | Transform | Edit Fields | See node parameters |
| markdown_to_file | Transform | Convert To File | toText |
| split_out | Transform | Split Out | See node parameters |
| section_starts_with_# | Routing | If | See node parameters |
| 25_percent_chance | Routing | If | See node parameters |
| set_section_content | Transform | Edit Fields | See node parameters |
| add_2_new_lines | Code | Code | See node parameters |
| final_article_file | Transform | Convert To File | toText |
| upload_fiinalArticle | Files / media | Google Drive | See node parameters |
| update_article_link | Data store | Google Sheets | update |
| upload_outline_file | Files / media | Google Drive | See node parameters |
| section_paragraphs | AI & models | Open Ai | See node parameters |
| change_section_format | AI & models | Open Ai | See node parameters |
| create_outline | AI & models | Open Ai | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleDriveOAuth2ApigoogleSheetsOAuth2ApiopenAiApi
Workflow notes
Overview
Overview
This workflow automates the generation of high-quality content using AI and integrates with tools like Google Drive and Google Sheets for content management and organization.
Key Features:
-
Form-Based Content Input: Collects user inputs via a form, including title, word count, keywords, and additional instructions.
-
AI-Generated Content Outline: Creates an outline using AI based on user inputs.
-
Detailed Section Processing: Each section of the content is refined individually.
-
Content Aggregation: Combines all sections into a cohesive article.
-
Document Management:
- Saves generated content and outlines to Google Drive. - Updates links to generated content in Google Sheets.
Prerequisites:
-
Google Drive and Google Sheets API: Ensure the respective OAuth2 credentials are configured in n8n.
-
OpenAI API Key: Required for AI-powered content generation.
Sticky Note1
-
Captures user inputs like title, word count, keywords, and additional instructions for content generation. This is the starting point of the workflow
-
Parses form inputs into variables for easy access and consistent use in the workflow
Next Steps: Automate Social Media Posting
Next Steps: Automate Social Media Posting
-
Your content creation process is now complete! You can take automation to the next level by integrating this workflow with social media platforms such as Twitter, LinkedIn, or Facebook.
- Use the generated article to create tailored posts for each platform.
- Add nodes for social media integrations (e.g., Twitter, Facebook, or LinkedIn API).
- Schedule posts using a timestamp or trigger them based on specific events.
This enhancement allows you to seamlessly distribute your content across multiple channels, ensuring a wider reach and saving even more time!
Creates a folder in Google Drive to store the generated content and outline
Creates a folder in Google Drive to store the generated content and outline
Purpose and structure
This folder contains the Creates a folder in Google Drive to store the generated content and outline workflow. Its executable nodes use aggregate, code, convertToFile, formTrigger, googleDrive, googleSheets, if, merge, openAi, set, sort, splitOut. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
receive_topic
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/0625_Splitout_Code_Create_Triggered.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Creates a folder in Google Drive to store the generated content and outline
- Sends user inputs to an AI model to generate a detailed content outline in Markdown format."
- Uploads the AI-generated outline to the Google Drive folder created earlier.
- Breaks the AI-generated outline into manageable sections. Each section will be individually processed to ensure clarity, structure, and relevance.
- Refines each section using AI. Adds formatting, adjusts tone, and enhances readability. Ensures the content meets high-quality standards before merging into a full article.
- Aligns all sections in the correct order. Prepares the refined content for aggregation into a single, cohesive article
- Joins all ordered sections into a unified article. Ensures the flow and structure of the final content remain consistent and logical
- Converts the aggregated article into a downloadable text file. Uploads it to the Google Drive folder created earlier, ready for review and sharing.
- Records the generated outline and article links in a Google Sheets document. This ensures easy access and tracking of the generated content for future use.