How to update the XSRF-TOKEN header on REST API?

Hi, I have started using this for automating the Api testing for my project. This really looked interesting at the first look until I faced this. My web-app is secured through xsrf-token and authentication cookie. The basic concept is that my server sends the xsrf token in response cookies, which I can use to validate the next request. So, In short I need to read from response cookies, save it to some variable and use it in header for other requests.

In Jmeter I can see something like this - which supports my scenario. Is there anything in Katalon Studio that I can leverage to achieve the same?

Thanks in advance for any help!