How can i persist saved data from requests scripts in collection variables between webhook triggered runs?

My question:
As the tittle reads. How can i save data from requests scripts in collection variables between webhook triggered runs? if it can’t be done what could be a work around.

Details (like screenshots)

How I found the problem:
I could’t get a known value in a collection variable that was set in a previous run of a webhook triggered collection. The webhook monitor has been running fine.

I’ve already tried:
I tried setting a value in a collection variable with:
pm.collectionVariables.set(“varKey”
, “this String”)
and getting the value with:
pm.collectionVariables.get(“varKey”)

the same thing happend with environment and global variables.

Any help would be appreciated , thanks.