MQTT with Call Flow Control

If I was doing this, I would use the node red AMI connector to update an AstDB familiy/key and then use Dynamic routes to branch the call flow based on the value in the AstDB as shown here: Using Dynamic Routes for Call Flow Control