n8n

How to Automate YouTube Description Updates?

Keep your YouTube channel consistent without editing each video by hand. This setup inserts a new line of text between two existing lines in multiple video descriptions at once. It is made for creators and marketing teams who need to add a sponsor link, a campaign message, or a disclaimer across recent uploads.

Here is how it runs end to end. You start it manually. A Set node holds three values called rowBefore, rowToInsert, and rowAfter. The YouTube Get All Videos node pulls your latest videos in date order with a set limit. Split In Batches feeds each video to YouTube Get Specific Video to load full details. A Code node builds a new description by placing the new line after rowBefore and before rowAfter. The YouTube Update Video Description node writes the change while keeping title, category, and tags the same. The loop repeats until the batch is done.

You only need a YouTube connection with write access and the three lines you want to match. Start with a small limit to test and check the updatedDescription output before pushing changes. Expect time savings and consistent placement of links or notes across your selected videos. Great for sponsor links, affiliate URLs, and policy notices.

What are the key features?

  • Manual start so you control when updates run
  • Set node to define rowBefore, rowToInsert, and rowAfter
  • YouTube Get All Videos pulls the latest videos in date order with a limit
  • Split In Batches processes each video one by one
  • YouTube Get Specific Video loads full details like title, tags, and description
  • Code node builds updatedDescription by inserting text between two matching lines
  • YouTube Update Video Description writes the new description and preserves metadata
  • Loop continues until all videos in the batch are updated

What are the benefits?

  • Reduce manual edits from 60 minutes to 5 minutes for a small batch of videos
  • Place new links in the same spot every time for consistent branding
  • Cut placement errors by using exact line matches
  • Keep titles, categories, and tags unchanged while updating descriptions
  • Scale to more videos by raising the batch limit when needed

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with YouTube. See the Tools Required section above for links to create accounts with these services.
  3. Open any YouTube node in the workflow and in the Credential to connect with menu click Create new credential. Follow the on screen steps to sign in to your channel and grant the required permissions. Give the credential a clear name.
  4. Select this YouTube credential on all YouTube nodes so they use the same connection.
  5. Open the Set String to Insert node and set exact values for rowBefore, rowToInsert, and rowAfter. Copy the exact lines as they appear in your current descriptions.
  6. Open the Get All Videos node and confirm the limit and order values. Start with a small limit to test safely.
  7. Review the Update Video Description node. Confirm that description is set to the updatedDescription field and that title, category, and tags pull from Get Specific Video.
  8. Click Execute test. Watch the Loop Over Videos node to see items move through the batch.
  9. Open the output of the Code node and check the updatedDescription preview to confirm the line was inserted in the right place.
  10. After the run finishes, verify the changes in YouTube Studio on the same videos.
  11. If nothing changes, check that rowBefore and rowAfter exist exactly in each description, confirm your YouTube credential has write access, and make sure your API quota is available. Adjust the limit to include more videos if needed.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

YouTube

Sign up

Free: $0, default quota 10,000 units/day

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.