In this cases, please share the links of “what you have seen” so it also makes it easier for others in the future. You may be referring to; Episode name in naming templates - #2 by fabiaserra
Anyway, this seems heavily tied to issue: AY-6910_Context Variables: Easy access to variables like episode, sequence, shot · Issue #533 · ynput/ayon-core · GitHub
It’s currently not possible out of the box and would still require customizations to ayon-core to support that. Fabia’s code could be used as reference, from which you’d need to update the code and create an addon package yourself.
However admittedly, I am a bit confused why in this case you couldn’t get by with just the parent hierarchy? I assume you are still adding sequences and shots under the episode for better organization? Or?
Could you provide the use case?