sf-service-voice-toolkit
Installation
SKILL.md
Voice Toolkit and Live Transcript Integration
Use This Skill When
- Designing custom LWC experiences that react to a live call transcript on the VoiceCall record page.
- Choosing between the Service Cloud Voice Toolkit API and ConversationEntry polling for transcript access.
- Building real-time agent assist, coaching, sentiment, compliance, or form-fill that depends on what is being said during the call.
- Standardizing how transcript fragments are sequenced, deduplicated, and surfaced to downstream consumers (UI, AI prompts, automation).
Quick Start (Code Patterns)
These four patterns cover ~90% of voice transcript integrations. Copy, adapt, ship. For full event payload shapes and edge cases, see reference.md.
1. Subscribe to the Voice Toolkit (LWC)
Drop a <lightning-service-cloud-voice-toolkit-api> element in the template, then wire it in renderedCallback and tear down in disconnectedCallback. Use renderedCallback (not connectedCallback) — the toolkit element doesn't exist until first render.