Hi @RhanjhaniP: Is there any specific requirement to make use of the smart shape in a flow? In this use-case, loop components in Flow is limited to OOTB split for each. When you use split for each, and if your pages iterated through is in data class, then you cannot make use of the smart shape. Even if you are planning to iterate through a embedded page in work class, it may not work because the smart shape is designed to work on case level.
Alternatively you may design your own loop in the flow, prepare a temp / additional embedded page with data of each iteration and call the smart shape in the case context. I would prefer to handle this in a utility rather than embedding complex logic in the flow.