Personalized video generator
A workflow that runs every five minutes, takes the leads with the highest pain score, writes each one a short video script with Claude and has Visla render a presenter video. The sales team opens the lead and the video is already there.
- Trigger
- every 5 minutes
- Script
- 45 seconds
- Render check
- every 30 s
- Manual steps
- none
Why it exists
Video gets replies, but recording one per prospect takes hours. So teams either skip it or send one generic video to everyone, which defeats the point.
How it runs
Pick the leads
Every five minutes the workflow pulls leads from Supabase that are marked high priority and don't have a video yet. Each one carries company context, pain signals and contact details.
Write the script
Claude writes a 45 second script that refers to the lead's specific pain point and keeps the tone conversational.
Sign the request
Visla wants HMAC signed requests, so the workflow builds the signature fresh before every call.
Render
Visla generates the presenter video from the script.
Wait
The workflow polls Visla every 30 seconds until the render is done, so slow renders don't break anything.
Save
The video URL goes back on the lead record in Supabase for the sales team.
What came out of it
From lead to video link is about five minutes plus render time, with nobody touching it.
Notes
Render time varies a lot, so the polling loop is what makes this reliable. The HMAC step was the fiddly part. The signature has to be rebuilt for every request or Visla rejects it.
Stack
- n8n
- Claude API
- Visla API
- Supabase
- HMAC auth
Want something like this built?
Tell me what you're trying to automate. Most things can be built in a week or two.