# Create news anchor avatar videos from Slack with OpenAI: n8n workflow

> Started by an event in a connected app, and works across Slack and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-news-anchor-avatar-videos-from-slack-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)

# Create news anchor avatar videos from Slack with OpenAI

Started by an event in a connected app, and works across Slack and n8n data table. It hands the judgement calls to OpenAI. 33 steps, 5 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-news-anchor-avatar-videos-from-slack-with-openai)

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

**5** Branches: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 4 Logic 12 Service 16

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

- 1 **When Slack Message Received** Slack trigger *Starts it*
- 2 **Generate Script with OpenAI** Lm Chat Open Ai *Model*
- 3 **Revise Script with OpenAI** Lm Chat Open Ai *Model*
- 4 **Parse Slack Message** Code *Logic*
- 5 **News Script Generator** Agent *Model*
- 6 **Revise Script via Feedback** Agent *Model*
- 7 **Check User Message Validity** If *Logic*
- 8 **Store Draft Script** Data Table *Service*
- 9 **Notify Script Generation Failure** Slack *Service*
- 10 **Update Script Draft** Data Table *Service*
- 11 **Notify Script Revision Failure** Slack *Service*
- 12 **Query Pending Session Data** Data Table *Service*
- 13 **Ignore Non-User Input** No Op *Logic*
- 14 **Post Draft Script to Slack** Slack *Service*
- 15 **Post Revised Script to Slack** Slack *Service*
- 16 **Check Pending Session Existence** If *Logic*
- 17 **Check User Confirmation** If *Logic*
- 18 **Confirm Session Status** Data Table *Service*
- 19 **Create HeyGen Video** Http Request *Service*
- 20 **Log HeyGen Job ID** Data Table *Service*
- 21 **Notify HeyGen Failure** Slack *Service*
- 22 **Poll for Video Status** Split In Batches *Logic*
- 23 **End Polling Loop** No Op *Logic*
- 24 **Wait 15 Seconds** Wait *Logic*
- 25 **Verify HeyGen Video Status** Http Request *Service*
- 26 **Check Video Completion** If *Logic*
- 27 **Handle Video Creation Failure** No Op *Logic*
- 28 **Video Creation Complete** No Op *Logic*
- 29 **Check Polling Timeout** If *Logic*
- 30 **Post Failure Notice to Slack** Slack *Service*
- 31 **Post Video Link to Slack** Slack *Service*
- 32 **Record Session Failure** Data Table *Service*
- 33 **Mark Session as Complete** Data Table *Service*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 33, with 5 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack, n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

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 33 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 33 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%2Fcreate-news-anchor-avatar-videos-from-slack-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.

[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

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

- [**Visual storytelling content factory: Gemini & Replicate AI** 33 steps · calls a model · Slack](https://millionrounds.com/workflow/visual-storytelling-content-factory-gemini-and-replicate-ai)
- [**Generate and publish SEO blog posts from Google Sheets to Webflow** 34 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-seo-blog-posts-from-google-sheets-to-we)
- [**Test webhooks in n8n without changing WEBHOOK_URL with PostBin** 34 steps · calls a model · Slack](https://millionrounds.com/workflow/test-webhooks-in-n8n-without-changing-webhook-url-with-postb)
- [**Ultimate content generator for WordPress with OpenAI** 34 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/ultimate-content-generator-for-wordpress-with-openai)
- [**Repurpose YouTube videos into blogs and social posts** 35 steps · calls a model · LinkedIn, Notion](https://millionrounds.com/workflow/repurpose-youtube-videos-into-blogs-and-social-posts)
- [**AI video script generator:Distribution** 36 steps · Email, Slack](https://millionrounds.com/workflow/ai-video-script-generator-distribution)
