# Automated Thai content creation & publishing with Ollama: n8n workflow

> Started by a change in a Google Sheet, and works across Google Sheets and Telegram. It hands the judgement calls to a local model.

Source: https://millionrounds.com/workflow/automated-thai-content-creation-and-publishing-with-ollama (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)

# Automated Thai content creation & publishing with Ollama

Started by a change in a Google Sheet, and works across Google Sheets and Telegram. It hands the judgement calls to a local model. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: a local model

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-thai-content-creation-and-publishing-with-ollama)

**24 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 6 Logic 7 Service 10

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

- 1 **Ollama: Article Writer Model** Lm Ollama *Model*
- 2 **Ollama: SEO & Marketing Model** Lm Ollama *Model*
- 3 **Convert AI Risoprint Image to File** Convert To File *Service*
- 4 **Google Sheets: Read News** Google Sheets trigger *Starts it*
- 5 **Ollama: Image Type Model** Lm Ollama *Model*
- 6 **LLM: Article Writer** Chain Llm *Model*
- 7 **LLM: SEO & Marketing** Chain Llm *Model*
- 8 **HTTP Request: Post to Website** Http Request *Service*
- 9 **LLM: Image Type Analyzer** Chain Llm *Model*
- 10 **Function: Parse LLM Output** Code *Logic*
- 11 **Telegram: Send Notification** Telegram *Service*
- 12 **If: Is AI Image?** If *Logic*
- 13 **Function: Prepare Post Data** Code *Logic*
- 14 **Merge Image Data** Merge *Logic*
- 15 **Function: Image Type Analyzer** Code *Logic*
- 16 **If: Is Real Image?** If *Logic*
- 17 **HTTP Request: Fetch Real Image** Http Request *Service*
- 18 **Google Gemini: Generate Photo** Http Request *Service*
- 19 **Google Gemini: Generate Risoprint Image** Http Request *Service*
- 20 **Read/Write Files from Disk (Local)** Read Write File *Service*
- 21 **Convert AI Image to File** Convert To File *Service*
- 22 **Extract Image Binary Data** Extract From File *Service*
- 23 **Convert Extracted Image to File** Convert To File *Service*
- 24 **Function: Attach Image Binary** Code *Logic*

## How it's built

- **Starts on:** A change in a Google Sheet
- **Steps:** 24, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets, Telegram
- **Model:** a local model

## Questions

What does it need to run?

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

What starts it?

It starts on a change in a Google Sheet.

Does it use AI?

Yes. It calls a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 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 24 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%2Fautomated-thai-content-creation-and-publishing-with-ollama)
- **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 Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**AI content creation and auto WordPress publishing** 24 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/ai-content-creation-and-auto-wordpress-publishing)
- [**Auto-generate Instagram carousels with OpenAI** 24 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/auto-generate-instagram-carousels-with-openai)
- [**Automate AI news posting on X/Twitter with Telegram** 24 steps · calls a model · RSS, Telegram](https://millionrounds.com/workflow/automate-ai-news-posting-on-x-twitter-with-telegram)
- [**Automated LinkedIn post generator with Gemini** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automated-linkedin-post-generator-with-gemini)
- [**Create and publish AI videos from Telegram with VEED** 24 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-and-publish-ai-videos-from-telegram-with-veed)
- [**Create and publish AI videos with Sora 2 Cameos and Gemini** 24 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/create-and-publish-ai-videos-with-sora-2-cameos-and-gemini)
