How to CMS Dynamic Interactions

I must create dynamic CMS interactions per CMS post.

I have the following.

  1. Collection with lots of collection pages with dynamic content.
  2. Static interaction for all CMS Collection pages
  3. CMS collection contains field called ms timer with number representing milliseconds.

I must bind MS timer to the folloing variables on CMS pages:
{$merge:{delay:0,duration:0}
{“delay”:0,“easing”:“”,“duration”:0}

Where Page A shows
{$merge:{delay:20000,duration:0}
{“delay”:20000,“easing”:“”,“duration”:0}

and where Page B shows
{$merge:{delay:25000,duration:0}
{“delay”:25000,“easing”:“”,“duration”:0}

I’m currently doing this to static pages, and I’m at my 100 page limit so I must get this to work on CMS.

OR

How to assign different interactions for the same CMS collection on multiple pages?

How to assign MS to the interaction from a CMS collection field?

CMS Page A: assign 2000ms
CMS Page B: Assign 3000ms