how to take information from the header of the response in the scenario instead of body?
You can use the “Retrieve Headers” HTTP module, which is an iterator. You’ll need to create a filter for the header item you want.
Returns each header (name and value) from the specified HTTP module in a separate bundle.
For more information, see https://www.make.com/en/help/tools/http#retrieve-headers