Task: Check domain redirection

n8n workflow JSON:
{"meta":{"instanceId":"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5"},"nodes":[{"id":"6f89527a-3fa0-4b60-bfc0-6a701b77fbf0","name":"When clicking \"Execute Workflow\"","type":"n8n-nodes-base.manualTrigger","position":[120,580],"parameters":{},"typeVersion":1},{"id":"5a5faad0-5328-4b40-87fb-4ff80cccc48a","name":"HTTP Request","type":"n8n-nodes-base.httpRequest","position":[540,580],"parameters":{"url":"=http://{{ $json.domain }}","options":{"redirect":{"redirect":{}},"response":{"response":{"fullResponse":true}}}},"typeVersion":4.1},{"id":"131d8b30-7406-4bcf-88ed-687d3f1c786b","name":"HTML redirect location","type":"n8n-nodes-base.html","position":[740,580],"parameters":{"options":{},"operation":"extractHtmlContent","extractionValues":{"values":[{"key":"data-wf-domain","attribute":"data-wf-domain","cssSelector":"html","returnValue":"attribute"}]}},"typeVersion":1},{"id":"1f9632fa-ef4b-4a43-9cdd-887d8a2f00ec","name":"IF","type":"n8n-nodes-base.if","position":[960,580],"parameters":{"conditions":{"string":[{"value1":"={{ $json['data-wf-domain'].replace(/^(https?:\\/\\/)?(www\\.)?/, '') }}","value2":"={{ $('domain to check').item.json.domain }}","operation":"notEqual"},{"value1":"={{ $json['data-wf-domain'] }}","operation":"isNotEmpty"}]}},"typeVersion":1},{"id":"31b15755-caa3-454b-98fc-86ad4f30f372","name":"Redirection","type":"n8n-nodes-base.set","position":[1200,400],"parameters":{"values":{"boolean":[{"name":"redirection","value":true}]},"options":{}},"typeVersion":2},{"id":"7e030ee8-ab12-4269-aa42-75763e4245ce","name":"domain to check","type":"n8n-nodes-base.set","position":[320,580],"parameters":{"values":{"string":[{"name":"domain","value":"lemlist.co"}]},"options":{}},"typeVersion":2}],"connections":{"IF":{"main":[[{"node":"Redirection","type":"main","index":0}]]},"HTTP Request":{"main":[[{"node":"HTML redirect location","type":"main","index":0}]]},"domain to check":{"main":[[{"node":"HTTP Request","type":"main","index":0}]]},"HTML redirect location":{"main":[[{"node":"IF","type":"main","index":0}]]},"When clicking \"Execute Workflow\"":{"main":[[{"node":"domain to check","type":"main","index":0}]]}}}