Is it possible from a POST to put the value of a returned object into a variable to be used in a global variable in a later test

I am creating a record in a postman test that returns values. I’d like to take the value
“{
“userId”: 103345,…”
for userid and put it into a global variable so that I am able to use it in later tests.
I have a pre-request script that I am running as well and have tried to understand how to do this for a post request from Save JSON as variable an pass to body later

If there is an old article on information that I missed that might help with a solution please point me to this.
Thanks

I think you might want to look at this page: https://www.getpostman.com/docs/v6/postman/environments_and_globals/variables

Hopefully that answers your question!