# Long content into bite-sized learning modules with OpenAI: n8n workflow

> Started by another system calling it, and works across Google Docs and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/long-content-into-bite-sized-learning-modules-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Long content into bite-sized learning modules with OpenAI

Started by another system calling it, and works across Google Docs and Slack. It hands the judgement calls to OpenAI. 18 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flong-content-into-bite-sized-learning-modules-with-openai)

**18 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 3 Model 1 Logic 10 Service 4

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

- 1 **Content Input** Webhook *Starts it*
- 2 **Extract Content** Set *Logic*
- 3 **Validate Content** If *Logic*
- 4 **Chunker** Code *Logic*
- 5 **Error Response** Respond To Webhook *Starts it*
- 6 **AI Content Analyzer** Open Ai *Model*
- 7 **No Operation, do nothing1** No Op *Logic*
- 8 **Format_Output** Code *Logic*
- 9 **Split Out** Split Out *Logic*
- 10 **Edit Fields** Set *Logic*
- 11 **Google Formatter** Code *Logic*
- 12 **Slack Modules** Slack *Service*
- 13 **Slack Course Details** Slack *Service*
- 14 **Merge** Merge *Logic*
- 15 **Success Response** Respond To Webhook *Starts it*
- 16 **No Operation, do nothing** No Op *Logic*
- 17 **Create a document** Google Docs *Service*
- 18 **Update a document** Google Docs *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 18, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Google Docs, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

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?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flong-content-into-bite-sized-learning-modules-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**AI-powered content factory: RSS to blog, Instagram & TikTok** 18 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/ai-powered-content-factory-rss-to-blog-instagram-and-tiktok)
- [**Create LinkedIn news posts with Gemini and OpenAI** 18 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/create-linkedin-news-posts-with-gemini-and-openai)
- [**Fix striking distance SEO keywords with Google Search Console** 18 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/fix-striking-distance-seo-keywords-with-google-search-consol)
- [**Multimodal Slack AI assistant with Claude and Gemini** 18 steps · calls a model · Slack](https://millionrounds.com/workflow/multimodal-slack-ai-assistant-with-claude-and-gemini)
- [**Repurpose YouTube videos into social posts and newsletters** 18 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/repurpose-youtube-videos-into-social-posts-and-newsletters)
- [**Summarize Japanese AI engineering articles** 18 steps · calls a model · RSS, Slack](https://millionrounds.com/workflow/summarize-japanese-ai-engineering-articles)
