//// Copyright (c) Microsoft. All rights reserved. //using Microsoft.Agents.AI.Workflows; //namespace SingleAgent; ///// ///// Routes survey responses to appropriate teams based on rating and category. ///// //public sealed class ResponseRouterExecutor() : Executor("ResponseRouterExecutor") //{ // public override ValueTask HandleAsync(string message, IWorkflowContext context, CancellationToken cancellationToken = default) // { // if (message.Contains("billing", StringComparison.OrdinalIgnoreCase)) // { // return ValueTask.FromResult("Routed to Billing Team"); // } // else if (message.Contains("technical", StringComparison.OrdinalIgnoreCase)) // { // return ValueTask.FromResult("Routed to Technical Support Team"); // } // else // { // return ValueTask.FromResult("Routed to General Support Team"); // } // } //}