There is a Header condition that you could try to use to access the Referrer header.
I don’t know WebFlow, and without having access to the application it is difficult to help here.
However, it may be also an option to implement a custom condition/operation or rule. With this you can implement any behavior you want. There are a few examples for custom conditions and operations here: