Turns long-form YouTube videos into short vertical clips with Klap AI and publishes them to Instagram through the Facebook Graph API. No manual editing and no manual uploading, a podcast episode becomes published Shorts on its own.




Clipping a podcast into Shorts is repetitive work with no judgement in it: find the good minute, crop it vertical, caption it, upload it, remember which episodes are done. Every one of those steps has an API, so the only real work is sequencing them and handling the waiting.
The awkward part is that clip generation is slow and asynchronous. The workflow submits the video to Klap's video-to-shorts task and then polls the task status, waiting and re-checking until it is genuinely finished, rather than sleeping for a guessed duration and hoping. Instagram publishing has the same shape: create a media container, wait until it reports ready, then call media_publish.
A Google Sheet is both the queue and the state. Pending YouTube links go in, and the row is updated on completion, so a video is never processed or published a second time no matter how often the schedule fires.