Mapping Variables Dynamically through naming

Hey there,

I have created a scenario where I am extracting a ChatGPT output text from a google doc which I then convert into a JSON file in order to Parse the JSON file and obtain the right key:value pairs to map my 101 variables. This is due to the fact I need this data to fill the content of a google slide’s presentation which has the same placeholders (case sensitive and all).

My issue is that with every new run the mapping I create is cleared and becomes useless as the variables are no longer identified leaving the template blank. I was wondering if there is a way to dynamically map the variables by their names from the json key value pairs to the placeholders in the google slides presentation?

Thanks for the help!