By exploring the phenomenon of water diffusion induced self-assembly of silica particle in microfluidic channels, we show that both the geometric confinement experienced by the droplet and the local Peclet number are responsible for the final particle shape. This study will facilitate the understanding and ultimately control of self assembly at fluid interfaces.