Generation of multiple traps within a microfluidic channel is a subject with practical applications e.g. in life sciences. In the approach presented here a diffractive optical element, integrated in the channel walls, is used to generate the necessary spot pattern.