How to capture a response string return in order to change to next request

I have a POST which gets a simple string value in the response. I need to use the string value for my next request which is a GET. I do not see how this is handled as a variable since the string response is not tied to a json response.

How do I capture this value and use in the next chain which is the GET?


const response = pm.response.text()

To use it in the next request, can I suggest you go through the Postman Learning Center, as this is covered in the courses there.

@michaelderekjones This worked for me but similar to your suggestion. Thanks for the help.
pm.environment.set(β€œtestId”, pm.response.text())