![]() |
VOOZH | about |
dotnet add package NickSoftware.Switchboard --version 0.1.0-preview.68
NuGet\Install-Package NickSoftware.Switchboard -Version 0.1.0-preview.68
<PackageReference Include="NickSoftware.Switchboard" Version="0.1.0-preview.68" />
<PackageVersion Include="NickSoftware.Switchboard" Version="0.1.0-preview.68" />Directory.Packages.props
<PackageReference Include="NickSoftware.Switchboard" />Project file
paket add NickSoftware.Switchboard --version 0.1.0-preview.68
#r "nuget: NickSoftware.Switchboard, 0.1.0-preview.68"
#:package NickSoftware.Switchboard@0.1.0-preview.68
#addin nuget:?package=NickSoftware.Switchboard&version=0.1.0-preview.68&prereleaseInstall as a Cake Addin
#tool nuget:?package=NickSoftware.Switchboard&version=0.1.0-preview.68&prereleaseInstall as a Cake Tool
A code-first, type-safe .NET framework for building Amazon Connect contact centers using AWS CDK.
⚠️ PREVIEW RELEASE: APIs may change before stable release. Use with caution in production environments.
Switchboard provides a modern, fluent API for defining Amazon Connect resources as code. Built on .NET 10 and AWS CDK, it eliminates the need for manual console configuration and enables version-controlled, testable contact center infrastructure.
dotnet add package NickSoftware.Switchboard --prerelease
# Roslyn analyzers for compile-time validation
dotnet add package NickSoftware.Switchboard.Analyzers --prerelease
# Source generators for attribute-based flows
dotnet add package NickSoftware.Switchboard.SourceGenerators --prerelease
# Dependency injection extensions
dotnet add package NickSoftware.Switchboard.Extensions.DependencyInjection --prerelease
using Switchboard;
var app = new SwitchboardApp();
var stack = app.CreateStack("MyCallCenter", "MyConnectInstance");
// Create a contact flow
var flow = Flow.Create("MainFlow")
.PlayPrompt("Thank you for calling. How can I help you today?")
.GetCustomerInput("Press 1 for sales, 2 for support", input =>
{
input.MaxDigits = 1;
input.TimeoutSeconds = 5;
})
.OnPressed("1", b => b.TransferToQueue("Sales").Disconnect())
.OnPressed("2", b => b.TransferToQueue("Support").Disconnect())
.OnTimeout(b => b.PlayPrompt("We didn't receive your input.").Disconnect())
.OnDefault(b => b.PlayPrompt("Invalid option.").Disconnect())
.Disconnect()
.Build();
stack.AddFlow(flow);
app.Synth();
PlayPrompt() - Play text, SSML, or audio promptsGetCustomerInput() - Collect DTMF or voice inputStoreCustomerInput() - Securely store sensitive inputInvokeLambda() - Call AWS Lambda functionsTransferToFlow() - Transfer to another contact flowSetContactAttributes() - Set custom contact attributesSetRecordingBehavior() - Enable/disable call recordingSetLoggingBehavior() - Configure flow loggingSetWorkingQueue() - Set the working queueSetWhisperFlow() - Configure whisper flowsCheckHoursOfOperation() - Branch based on business hoursCheckStaffing() - Check agent availabilityCheckContactAttribute() - Conditional routing based on attributesLoop() - Retry logic with configurable attemptsTransferToQueue() - Transfer to a queueDisconnect() - End the contactEndFlowExecution() - End flow executionbuilder.InvokeLambda(myLambda.FunctionArn, "CustomerLookup")
.OnSuccess(b => b
.SetContactAttributes(attrs => attrs["CustomerTier"] = "$.External.tier"))
.OnError(b => b
.PlayPrompt("We're experiencing technical difficulties.")
.TransferToQueue("Support"));
builder.CheckHoursOfOperation("BusinessHours")
.WhenInHours(b => b.TransferToQueue("Sales"))
.WhenOutOfHours(b => b
.PlayPrompt("We're currently closed. Please call back during business hours.")
.Disconnect());
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddSwitchboard(options =>
{
options.InstanceName = "MyCallCenter";
})
.UseMiddleware<LoggingMiddleware>()
.UseMiddleware<ValidationMiddleware>()
.AddAssemblyScanning(typeof(Program).Assembly);
Switchboard supports all Amazon Connect flow types:
npm install -g aws-cdk)See LICENSE for details.
Built with ❤️ for Amazon Connect developers
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on NickSoftware.Switchboard:
| Package | Downloads |
|---|---|
|
NickSoftware.Switchboard.Extensions.DependencyInjection
Dependency injection and IoC container extensions for the Switchboard framework. Provides automatic assembly scanning, service registration, and configuration binding. Part of Switchboard preview release. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.68 | 48 | 5/5/2026 |
| 0.1.0-preview.62 | 49 | 3/26/2026 |
| 0.1.0-preview.61 | 49 | 3/25/2026 |
| 0.1.0-preview.60 | 45 | 3/20/2026 |
| 0.1.0-preview.59 | 42 | 3/8/2026 |
| 0.1.0-preview.58 | 43 | 3/7/2026 |
| 0.1.0-preview.56 | 57 | 1/25/2026 |
| 0.1.0-preview.55 | 45 | 1/25/2026 |
| 0.1.0-preview.54 | 47 | 1/25/2026 |
| 0.1.0-preview.53 | 48 | 1/25/2026 |
| 0.1.0-preview.52 | 79 | 12/3/2025 |
| 0.1.0-preview.51 | 65 | 12/2/2025 |
| 0.1.0-preview.48 | 61 | 12/2/2025 |
| 0.1.0-preview.47 | 73 | 12/1/2025 |
| 0.1.0-preview.46 | 70 | 12/1/2025 |
| 0.1.0-preview.45 | 70 | 11/30/2025 |
| 0.1.0-preview.44 | 79 | 11/30/2025 |
| 0.1.0-preview.43 | 71 | 11/30/2025 |
| 0.1.0-preview.42 | 79 | 11/30/2025 |
| 0.1.0-preview.41 | 68 | 11/30/2025 |
Preview release - APIs may change. See documentation at https://nicksoftware.github.io/switchboard-docs/