{"product_id":"slack-to-heygen-news-anchor-videos-with-openai-n8n-workflow","title":"Slack to HeyGen News Anchor Videos with OpenAI | n8n Workflow","description":"\u003ch3\u003eTurn Slack news ideas into HeyGen “news anchor” avatar videos—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for prompts in \u003cstrong\u003eSlack\u003c\/strong\u003e, uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to draft and revise a short broadcast script in-thread, then triggers \u003cstrong\u003eHeyGen\u003c\/strong\u003e to generate a talking-avatar video and posts the finished video link right back to Slack. No editing tools required.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStarts on Slack messages\u003c\/strong\u003e: Triggers on new messages in your configured Slack channel(s) or DMs, extracting the sender, channel ID, and message text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents accidental loops\u003c\/strong\u003e: Ignores bot messages, edited events, and empty messages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eManages a review session per channel\u003c\/strong\u003e: Checks an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e for any pending session awaiting confirmation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDrafts a script with OpenAI\u003c\/strong\u003e (no pending session): Sends the user’s news bullets to OpenAI to generate a \u003cstrong\u003e30-second\u003c\/strong\u003e broadcast script (about \u003cstrong\u003e75–85 words\u003c\/strong\u003e), saves it as a draft in the Data Table, and posts it to Slack for review.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRevises in the thread\u003c\/strong\u003e (pending session exists): Treats the next message as confirmation or feedback; when feedback is provided, uses OpenAI to revise the draft and posts the updated script back to Slack.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates the HeyGen video\u003c\/strong\u003e (on confirmation): Calls the \u003cstrong\u003eHeyGen API\u003c\/strong\u003e to start avatar generation, stores the \u003cstrong\u003eHeyGen job ID\u003c\/strong\u003e, and polls every \u003cstrong\u003e15 seconds\u003c\/strong\u003e until the video completes (or fails\/times out).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDelivers the result\u003c\/strong\u003e: Posts the HeyGen video URL to Slack on success and marks the session completed; otherwise sends a failure notice and marks the session failed.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eNewsrooms and SaaS teams drafting daily updates: share bullet points in Slack, get a ready-to-publish anchor-style video.\u003c\/li\u003e\n  \u003cli\u003eMarketing operators iterating scripts quickly with in-thread feedback before generating the avatar video via HeyGen.\u003c\/li\u003e\n  \u003cli\u003eInternal comms: turn announcements into consistent short broadcasts without manual editing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\u003c\/strong\u003e: Slack (Event Subscriptions), \u003cstrong\u003eOpenAI\u003c\/strong\u003e, \u003cstrong\u003eHeyGen API\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ building blocks\u003c\/strong\u003e: \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eno op\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eData Table\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup\u003c\/strong\u003e: Create a Slack app with Event Subscriptions for message events (channels and\/or DMs) and configure n8n Slack credentials using the \u003cstrong\u003eSigning Secret\u003c\/strong\u003e and \u003cstrong\u003eBot Token\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45895380631731,"sku":"N8N-18634","price":62.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/OEuJRXBV8UiEBFjQfIk9d_zznCNLZE.png?v=1787649537","url":"https:\/\/buyflowscripts.com\/products\/slack-to-heygen-news-anchor-videos-with-openai-n8n-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}