How can I automate editing subtitles from Youtube? - Capitalise first person "I", number paragraphs etc

I do a lot of captions/subtitles for online courses. To do this I:-

  1. Download the video from Google drive/Teams (depending on the project)
  2. Put it in iMovie to edit
  3. Upload to Youtube
  4. Wait a bit
  5. Edit the automatically created captions so that they’re accurate and appear in the right palce
  6. Add punctuation, capitalise all the first person Is
  7. Download the subtitles as a .vtt file
  8. Open the .vtt file in textedit
  9. Delete all the &nbsp tags
  10. Number each paragraph
  11. Save the file
  12. Upload the file to the LMS

So that I get from:-
WEBVTT
Kind: captions
Language: en

00:00:06.640 → 00:00:14.000
Assessment can have a strong effect on curriculum"&nbsp
design teaching practices and learning behaviors

00:00:15.840 → 00:00:19.360
impact of assessment can be"&nbsp
either negative or positive"&nbsp

To:-
WEBVTT
Kind: captions
Language: en

1
00:00:06.640 → 00:00:14.000
Assessment can have a strong effect on curriculum
design teaching practices and learning behaviors

2
00:00:15.840 → 00:00:19.360
impact of assessment can be
either negative or positive

The only bit I’ve worked out how to do is step 9, using “Replace text” in Shortcuts.

Are there any other bits of the sequence I could automate?

Any suggestions very gratefully received :slight_smile: