Automatically create daily list of todos in Todoist
Use case Automatically create todo items in Todoist every morning. This workflow has two flows At 5am, delete any uncompleted tasks every morning At 5:10 am, copy all template tasks into Inbox In each template task, set the due dates and days to add the task. You can do that like this days:mon,tues; due:8pm which will add the task every Monday and Tuesday and make it due at 8pm. How to setup Add Todoist creds Create a template list to copy from in Todoist. Add days and due times on each task as necessary. Set the projects to copy from and to write to in each Todoist node
Generate AI avatar videos from text with HeyGen and upload to YouTube
Create Video with HeyGen and Upload to YouTube Overview This workflow automates the process of creating an AI-generated avatar video using HeyGen and directly uploading it to YouTube. By sending text input via a webhook, the workflow generates a video with a chosen avatar and voice, waits for processing, downloads the completed file, and publishes it to your configured YouTube channel. This template is ideal for automating content creation pipelines, such as daily news updates, explainer videos, or narrated scripts, without manual intervention. --- Use Case Marketing teams: Automate explainer or promotional video creation from text input. Content creators: Generate AI-based avatar videos for YouTube directly from scripts. Organizations: Streamline video generation for announcements, product updates, or tutorials. Instead of recording and editing videos manually, this template allows you to feed text content into a webhook and have a ready-to-publish video on your YouTube channel within minutes. --- How It Works Webhook Trigger: The workflow starts when text content and a title are sent to the webhook endpoint. Code Node: Cleans and formats the input text by removing unnecessary newlines and returns it with the title. Set Node: Prepares HeyGen parameters, including API key, avatar ID, voice ID, title, and content. HeyGen API Call: Sends the request to generate a video with the provided avatar and voice. Wait Node: Pauses briefly to allow HeyGen to process the video. Video Status Check: Polls HeyGen to check whether the video has finished processing. Conditional Check: If the video is still processing, it loops back to wait. Once complete, it moves forward. Download Node: Retrieves the generated video file. YouTube Upload Node: Uploads the video to your YouTube channel with the provided title and default settings. --- Requirements HeyGen API Key: Required to authenticate with HeyGen’s video generation API. HeyGen Avatar & Voice IDs: Unique identifiers for the avatar and voice you want to use. YouTube OAuth2 Credentials: Connected account for video uploads. --- Setup Instructions Import the Workflow: Download and import this template JSON into your n8n instance. Configure the Webhook: Copy the webhook URL from n8n and use it to send requests with title and content. Example payload: json { "title": "Tech News Update", "content": "Today’s top story is about AI advancements in video generation..." } Add HeyGen Credentials: Insert your HeyGen API key in the Set Node under x-api-key. Provide your chosen avatarid and voiceid from HeyGen. To find your HeyGen avatarid and voiceid, first retrieve your API key from the HeyGen dashboard. With this key, you can use HeyGen’s API to look up available options: run a GET request to https://api.heygen.com/v2/avatars to see a list of avatars along with their avatarid, and then run a GET request to https://api.heygen.com/v2/voices to see a list of voices with their voiceid. Once you’ve identified the avatar and voice you want to use, copy their IDs and paste them into the Set HeyGen Parameters node in your n8n workflow. Set Up YouTube Credentials: Connect your YouTube account in n8n using OAuth2. Ensure proper permissions are granted for video uploads. To set up YouTube credentials in n8n, go to the Google Cloud Console, enable YouTube Data API v3, and create an OAuth Client ID (choose Web Application and add the redirect URI: https://<your-n8n-domain>/rest/oauth2-credential/callback). Copy the Client ID and Client Secret, then in n8n create new credentials for YouTube OAuth2 API. Enter the values, authenticate with your Google account to grant upload permissions, and test the connection. Once complete, the YouTube node will be ready to upload videos automatically. Activate the Workflow: Once configured, enable the workflow. Sending a POST request to the webhook with title and content will trigger the full process. --- Notes You can adjust video dimensions (default: 1280x720) in the HeyGen API request. Processing time may vary depending on script length. The workflow uses a wait-and-poll loop until the video is ready. Default YouTube upload category is Education (28) and region is US. These can be customized in the YouTube node. ---
Convert RSS feeds into LinkedIn & X posts with GPT-4o & AI images & approval
🚀 Overview Stop letting your valuable blog content collect dust! This automation is your 24/7 content repurposing engine. It monitors any blog or news feed you choose. The moment a new article goes live, it instantly creates engaging, platform-aware posts for LinkedIn and X (Twitter), generates a custom image with AI, and packages it all up for your review. You get the final say with a simple approval email, ensuring your brand voice stays perfectly on point. --- 😩 The Problem You've invested hours writing the perfect blog post. But the work isn't over. Now you have to manually copy, paste, and rewrite that content for different social platforms. You need a professional tone for LinkedIn, something short and snappy for X, and you have to find or create visuals for both. This tedious, repetitive task drains your creative energy and leads to your social media presence becoming stale or inconsistent. --- ✨ The Solution This workflow acts as your automated content marketing assistant, elegantly solving the problem. Here’s the magic in action: New Blog Post Detected: The workflow constantly watches a specific RSS feed (e.g., your company blog). AI Content Generation: When a new post appears, the AI (powered by OpenAI GPT-4o-mini) reads the article, performs a quick web search for context (via SerpAPI), and drafts optimized posts for LinkedIn and X. It also generates a brand-new image based on the article’s topic. Secure Image Hosting: The generated image is uploaded to your Imgbb account for a shareable link. Approval Workflow: A notification is sent directly to your email inbox with the generated text and image for review. One-Click Go-Live: If approved, the workflow automatically publishes the content to the correct social media profiles. --- ⚙️ Setup Instructions What You'll Need RSS Feed URL (e.g., https://yourwebsite.com/feed) OpenAI API key (for content + image generation) SerpAPI API key (optional, for extra context) Imgbb API key (for image hosting) Connected Accounts: Gmail, LinkedIn, and X (Twitter) Steps Upload: Import the JSON file into n8n. Connect: Link your credentials for Gmail, LinkedIn, X, OpenAI, SerpAPI, and add Imgbb with “Header Auth.” Configure: Add your RSS URL to the RSS Feed Trigger node. Update the “Send To” field in both Gmail User for Approval nodes with your own email. Activate: Switch on the workflow and let automation handle the heavy lifting. --- 🎨 Customizations Expand to More Networks: Duplicate an existing branch to add Facebook or Instagram. Add Smart Filters: Only generate posts for articles containing specific keywords (e.g., “AI” or “Case Study”).