Segment based on session steps
We wanted to segment users based on a series of steps followed in a single session.
For example, a segment of people who visit page A and then on Page B in a single session in the last 30 days.
What is the best approach to find this out? Any particular condition that will help?