You could start with checking macrodroid's wiki and videos about array/dictionary variables.
macrodroidforum.com
Basically you can use integer variable +1 each time macro is fired.
And use that variable when defining key of array/dictionary to store something in next key every time.
Lets say notification received - integer variable +1 - set variable - array - key (integer variable from 2nd step - save notification text.
This way you will save each notification received in an array with keys being 1,2,3,4,...,11,12....
There is also useful action called iterate dictionary/array.
Its basically a loop that goes through each element of array/dictionary where iterator index is a key and iterator's value is what is saved under a key.
Lets say you have an array with links to youtube videos, you could use this loop as shown on screenshots to open all videos from an array - starting with the first one, waiting 3s to open the second one, waiting 3s and then opening 3rd video and so on...