mise&lt;string&gt; {
    // Send notification
    return DEFAULT_ACTION;
  }
}

// Instantiate logging and notification nodes
const loggingNode = new LoggingNode();
const notificationNode = new NotificationNode();

// Connect shippingFlow to logging and notification
shippingFlow.addSuccessor(loggingNode, &quot;default&quot;);
loggingNode.addSuccessor(notificationNode, &quot;default&quot;);

// Update the master flow to include logging and notification
orderProcessingFlow.addSuccessor(loggingNode, &quot;defa