Host value in transforms

Sometimes it's necessary to access the hostname portion of the configured webhook URL to present a Host header.

Transforms make this access possible only when the hostname value of all URLs in the configured webhook is consistent. For example,
{
...
"urls": ["https://host.com/a", "https://host.com/b"],
...
}
When this criteria is satisfied, the host variable is populated in the outgoing transform, which can be used. In the following example, the host value is added to the request body in an outgoing transform.
{
...
"body": body.put("host", host),
...
}