Fetch the call transcript (phone path, step 2 of 2)
fetch_transcriptWaits for a placed call to end, retrieves its transcript from ElevenLabs, verifies consent, and stores the timestamped turns against the brief.
Instructions
Step 2 of the phone path. Waits for the placed call to end (up to about three minutes per call), then fetches the transcript from ElevenLabs, normalizes it to timestamped turns, runs the consent check (AI disclosure, permission to record, the subject's yes), and stores it against the brief. If the call is still running it answers STILL IN PROGRESS: call it again, as many times as needed, until it answers TRANSCRIPT STORED. A ten-minute interview needs about four calls. Then: draft_piece.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief_id | Yes | The brief whose call was placed with place_call. | |
| wait_secs | No | Seconds to wait for the call to end before answering "still in progress". Default 170. A ten-minute interview needs about four calls at the default. Leave it alone unless you know the host's timeout. |