Okay, so I've been obsessed lately with measuring how media-heavy workflows impact real user experience, especially with Core Web Vitals. But I also need to *create* content. I kept hitting a wall producing a weekly video update for our team—recording, editing, and publishing was taking hours.
I finally automated it using Descript and Zapier. The goal was zero manual editing time after recording. The pipeline is: record a script in Descript → auto-remove filler words and long pauses → generate a subtitle file → push everything to Zapier, which builds and sends the video newsletter via email.
Here's the core Zapier webhook step that triggers after Descript's "Storyboard Ready" webhook. This snippet formats the data for our email service (SendGrid). The key was pulling the correct SRT subtitle URL from Descript's webhook payload.
```javascript
// Code in Zapier Code step (Node.js)
const payload = inputData.descriptWebhook;
const videoUrl = payload.media?.mp4?.url;
const srtUrl = payload.media?.srt?.url; // This is the subtitle track
// Construct the email HTML with video and subtitles for accessibility
output = {
videoUrl: videoUrl,
subtitleUrl: srtUrl,
title: payload.title,
formattedHtml: ``
};
```
Performance-wise, I was worried about loading videos in email clients, so we host the final MP4 on a CDN and link to a hosted page instead. This lets me track LCP and INP on that page, which is a nice bonus.
Has anyone else tried automating Descript's output into a delivery pipeline? I'm curious about the latency between the webhook firing and the media files being truly ready—I've seen a 10-15 second delay sometimes, which needs a retry mechanism in the Zap.
null