Preview unavailableThe idea behind the sample
Choice Relay is a compact teaching sample with two SharePoint Framework Copilot Components. Copilot generates typed arguments for an interactive choice component, the user selects one option locally, and the component sends that selection back as a readable user turn.
Copilot can then select a second tool and render one grounded next action. The sample also demonstrates revisions initiated from either the SPFx component or the normal Copilot composer, with a collapsed inspector that makes tool input, host context, and outbound messages visible.
Make it your own
Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.
Read the source documentationA closer look
Preview unavailable
Preview unavailable
Preview unavailableKeep exploring
- Overview of SharePoint Copilot Apps — Extend Microsoft Copilot with interactive experiences built with the SharePoint Framework.
- Build your first SharePoint Copilot App — Create, test, package, and deploy a SharePoint Copilot App.
- Fluent UI React v9 — Build accessible React experiences with Fluent UI components and design tokens.
