Triage / decision tree / simple guided entry / expert system for Drupal 8?
This is not a common need of most websites. But, the building blocks exist within the Drupal API to create such business logic at the end of a webform or custom form.