Pitchlane — Time Pages to Pitch Transcript
Sync background page switches to spoken moments in a Pitchlane pitch video, or nudge an existing switch by +/- seconds.
Steps
- Read campaign: Call
get_campaign(orlist_campaignsif the user only gave a name) to get currentpagesandpitchVideo.mediaId. - Fetch transcript: Call
get_pitch_transcriptwith word timestamps. If unavailable, ask the user for the target timestamp in seconds. - Compute switch time: Find
startSecondsfor the exact spoken phrase the user named. Updateduration_secondson the preceding page(s) without altering existing page types, templates, or URLs. - Apply: Call
update_campaignwith the updatedpagesarray and report the matched phrase + exact timestamp. - Quick nudges: For follow-ups like "give their site 2 more seconds", adjust the current
duration_secondsby+2and callupdate_campaign.