Skip to content

[Example] 020 — Twilio Media Streams Real-Time Call Transcription - #1

Merged
github-actions[bot] merged 1 commit into
mainfrom
example/twilio-media-streams-node
Mar 29, 2026
Merged

[Example] 020 — Twilio Media Streams Real-Time Call Transcription#1
github-actions[bot] merged 1 commit into
mainfrom
example/twilio-media-streams-node

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

New example: Twilio Media Streams — Real-Time Call Transcription

Integration: Twilio Media Streams
Language: Node.js
Products: Speech-to-Text (live streaming)

What this example shows

Transcribe live phone calls in real-time by connecting Twilio Media Streams to Deepgram's streaming STT API. An Express server receives μ-law audio from Twilio over WebSocket, decodes it, and forwards it to Deepgram for instant transcription with interim and final results.

Files added

  • examples/020-twilio-media-streams-node/README.md
  • examples/020-twilio-media-streams-node/.env.example
  • examples/020-twilio-media-streams-node/src/index.js — Express server with WebSocket relay
  • examples/020-twilio-media-streams-node/tests/test.js — Integration test

Required secrets

  • DEEPGRAM_API_KEY (already configured)
  • TWILIO_ACCOUNT_SID — Twilio account SID
  • TWILIO_AUTH_TOKEN — Twilio auth token
  • TWILIO_PHONE_NUMBER — Twilio phone number with Voice capability

Raised by create-example agent on 2026-03-29

…iption

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added type:example New example app language:node Language: Node.js / TypeScript integration:twilio-media-streams Integration: Twilio Media Streams labels Mar 29, 2026
@github-actions
github-actions Bot merged commit 6365d6c into main Mar 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

@github-copilot please review this PR

lukeocodes added a commit that referenced this pull request Mar 29, 2026
Root cause: agent merged PRs #1 and #2 with zero test checks run,
because it misread empty statusCheckRollup as 'no failures = safe to merge'.

Fix: split into two jobs:
- test-prs (native CI): checks out each PR branch, runs npm/pytest/go test
  directly, labels PRs (fix-needed/needs-credentials), records results
- agent: receives explicit PASS/FAIL/MISSING_CREDS/SKIP per PR from Phase 1;
  CRITICAL MERGE RULE in prompt: only merge PRs where Phase 1 returned PASS

The merge decision is no longer based on the agent reading GitHub API check
state — it's based on actual test execution in this same workflow run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:twilio-media-streams Integration: Twilio Media Streams language:node Language: Node.js / TypeScript type:example New example app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants