@suyash,
Good Day!
For now the template literal like https://<%= iparam.subdomain %>.freshdesk.com
won’t work in Iparams (settings) page (likely there is a bug in our platform)
kindly use https://*.freshdesk.com
in the whitelisted domain to proceed further for now.
We will keep you posted once it is corrected
Thanks