# How to get the current org's domain in a flow

![](https://wiki.sfxd.org/uploads/images/gallery/2019-11/scaled-1680-/image-1574783759008.png)

<div id="bkmrk-left%28%24api.partner_se"><div aria-posinset="26" aria-setsize="51" data-ref-id="messages-25"><div><div>```
LEFT($Api.Partner_Server_URL_470, FIND( '/services', $Api.Partner_Server_URL_470))
```

</div></div><div><div aria-label="Message Actions"><div><div aria-controls="popout_16987" aria-expanded="false" aria-label="Add Reaction"><svg aria-hidden="false" class="icon-3Gkjwa" height="24" viewbox="0 0 24 24" width="24"></svg></div><div aria-controls="popout_16988" aria-expanded="false" aria-label="More"><svg aria-hidden="false" class="icon-3Gkjwa" height="24" viewbox="0 0 24 24" width="24"></svg></div></div></div></div></div></div><div aria-posinset="27" aria-setsize="51" data-ref-id="messages-26" id="bkmrk-%5B9%3A41-pm%5D-that-gives"><div><span class="latin24CompactTimeStamp-2V7XIQ timestamp-3ZCmNB timestampVisibleOnHover-2bQeI4 alt-1uNpEt" style="margin: 0px 0.25rem; padding: 0px; border: 0px; font-weight: 500; font-style: inherit; font-family: inherit; font-size: 0.6875rem; vertical-align: baseline; outline: 0px; display: inline-block; height: 1.375rem; cursor: default; pointer-events: auto; opacity: 0; width: 56px; line-height: 1.375rem; color: var(--text-muted); text-align: right; text-indent: 0px; position: absolute; left: 0px; user-select: none;"><span aria-label="9:41 PM" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; font-size: 11px; vertical-align: baseline; outline: 0px;">*\[*9:41 PM*\]*</span></span><div>that gives me a nice `https://customer-customization-9925.cs2.my.salesforce.com/` URL</div></div><div><div aria-label="Message Actions"><div><div aria-controls="popout_16989" aria-expanded="false" aria-label="Add Reaction"><svg aria-hidden="false" class="icon-3Gkjwa" height="24" viewbox="0 0 24 24" width="24"></svg></div><div aria-controls="popout_16990" aria-expanded="false" aria-label="More"><svg aria-hidden="false" class="icon-3Gkjwa" height="24" viewbox="0 0 24 24" width="24"></svg></div></div></div></div></div><div aria-posinset="28" aria-setsize="51" data-ref-id="messages-27" id="bkmrk-%5B9%3A41-pm%5D-i-think-yo"><div><span class="latin24CompactTimeStamp-2V7XIQ timestamp-3ZCmNB timestampVisibleOnHover-2bQeI4 alt-1uNpEt" style="margin: 0px 0.25rem; padding: 0px; border: 0px; font-weight: 500; font-style: inherit; font-family: inherit; font-size: 0.6875rem; vertical-align: baseline; outline: 0px; display: inline-block; height: 1.375rem; cursor: default; pointer-events: auto; opacity: 0; width: 56px; line-height: 1.375rem; color: var(--text-muted); text-align: right; text-indent: 0px; position: absolute; left: 0px; user-select: none;"><span aria-label="9:41 PM" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit; font-size: 11px; vertical-align: baseline; outline: 0px;">*\[*9:41 PM*\]*</span></span><div>I think you can create a formula variable in your flow and use it</div></div></div>