Programmatic Video Selection Based on Variables
A
Abe Dearmer
Hi Jack, thanks for the request. This makes sense for running segmented campaigns while still keeping everything inside Sendspark.
To make sure we scope this correctly, can you share a bit more about how you want the selection to work?
1) Where is the variable coming from?
- Your CRM (HubSpot, Salesforce, etc)
- A marketing tool (Customer.io, Marketo, etc)
- Your own app via API
- A CSV upload
2) What does “programmatically select” mean in your workflow?
- When generating a share link
- When sending an email via an integration
- When embedding on a landing page
- When creating videos in bulk
3) How do you want to map variables to videos?
- Simple lookup table (segment_type = SMB, Mid-Market, Enterprise)
- Rules based (if segment_type = X and lifecycle_stage = Y)
- Fallback behavior if no match is found
4) How many videos and segments are we talking about?
- Rough count of videos in the library
- Number of segment values you would route on
5) Do you need personalization on top of the selected video?
- Just choose the right pre-recorded video
- Also personalize name, company, dynamic thumbnail, or CTAs
If you can answer those, we can recommend the best approach and confirm what an initial version should support (for example, a variable to video mapping with a default fallback).