Process Audio Note
AnyCard
Process Audio Note
Transcribe + summarize an uploaded audio note + attach to the lead.
Pipeline:
- Download the audio bytes from S3 (synchronous boto3 in a thread).
- Whisper transcribes → text.
- Claude summarizes → structured JSON.
- PATCH the lead row: leads.notes = summary (prepended; prior notes preserved as a second paragraph) leads.capture_payload.notetaker[] = appended entry with transcript / summary / key_points / action_items / prospect_signals / s3_key / processed_at / duration_seconds
Returns the full result so the UI can render the transcript + summary inline. The audio bytes themselves stay in S3 — the rep can replay or re-process later if needed.
POST
Process Audio Note
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Successful Response
The response is of type Response Process Audio Note Route Cards Captures Lead Id Audio Note Process Post · object.