making blueprint & material talking

Hi, i’m new to blueprint.
I’m interrested in reproducting a process i was using on 3d renderers, passing data from blueprint to modulate the shaders.

Example, an instance array in blueprint pass a special ID to the shader, so the shader can generate controlled variations.

Is it doable and do someone can point me in the right direction ?

Search Material Parameter Collection.