@page "/customer-service" @using EventDriven.Front.Data @inject RequestService RequestService @inject CustomerInteractionService CustomerInteractionService Event Driven Review Engine

Customer Service Workflow

@if (customerServiceMessage != null) {

New negative review from @customerServiceMessage.Payload.EmailAddress saying '@customerServiceMessage.Payload.ReviewContent'

}
@code { private string queueUrl; private SqsMessage customerServiceMessage; private string customerServiceAgentName; protected override async Task OnInitializedAsync() { } public async Task ClaimCustomerServiceItem() { customerServiceMessage = await this.CustomerInteractionService.ClaimCustomerServiceItem(); } public async Task SubmitCustomerServiceResponse() { await this.CustomerInteractionService.SubmitCustomerServiceResponse(customerServiceMessage, customerServiceAgentName); customerServiceMessage = null; } }