Create news anchor avatar videos from Slack with OpenAI and HeyGen
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs on Slack events. Along the way it connects Slack and OpenAI Chat Model. It also calls api.heygen.com over HTTP.
How it runs
Trigger: On Slack events.
- Parse Slack Message (Code): runs custom JavaScript code
- Check User Message Validity (If): checks a condition and branches into true / false
- Query Pending Session Data (Data table): get
- Check Pending Session Existence (If): checks a condition and branches into true / false
- Check User Confirmation (If): checks a condition and branches into true / false
- News Script Generator (AI Agent): runs an AI agent, with model: Generate Script with OpenAI
- Confirm Session Status (Data table): update
- Revise Script via Feedback (AI Agent): runs an AI agent, with model: Revise Script with OpenAI
- Store Draft Script (Data table): create or update
- Notify Script Generation Failure (Slack): uses Slack
…plus 16 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979) · Other HeyGen + OpenAI templates (16)
HTTP calls to: api.heygen.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Slack Trigger requires a signing secret on the Slack API credential (When Slack Message Received).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Slack Trigger
n8n-nodes-base.slackTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Data table
n8n-nodes-base.dataTable - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait
From the author
Quick overview Chat with a Slack bot to draft a script from any topic, revise it right in the thread, then approve to auto-generate a talking-avatar video with HeyGen — delivered straight back to you in Slack. No editing software required. How it works 1.…