Ok, I’ve managed to find a solution.
Please see this screenshot. It seems you can select ‘Instanced foliage’ in the Get All Actors of Class node and after some conversions and casting you can get static mesh component reference.
The blueprint
The custom stencil