---
title: "Change the source URL of a Flow to a dynamic URL"
slug: "changing-the-source-url-of-a-flow-to-a-dynamic-url"
updated: 2026-02-06T12:01:12Z
published: 2026-02-06T12:01:12Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change the source URL of a Flow

Whatfix enables the reuse of Flows across different domains or versions of your application. For example, if you have development and production environments, change the URL or use the dynamic URL feature to ensure that your Flows work in both environments.

---

## Edit the URL of a Flow

1. On the Whatfix Guidance dashboard, click **Content**. ![ia_left_nav_content](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left_nav_content.png)
2. Click **Flows**. ![ia_left%20nav_flows](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left%20nav_flows.png)
3. Hover your cursor over the required Flow, and then click the **Edit** icon. ![image.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image-QSOJQNUO.png)

          Info

          

Whatfix Content and Widgets can be edited in the **Draft** and **Ready** Stages.

1. Click the **Details** tab. ![Image](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image-Q9H8O6N3.png)
2. Under the **URL** field, copy and paste the URL you want the Flow to run on. ![Image](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image-YOB9SSB9.png)
3. Click **Save**. ![Image](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image-5YEZFYCX.png)

---

## Set a dynamic URL

When creating a Flow, wrap the dynamic portion of the URL with curly braces, as shown below.

![Image](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/image-3XPYJCIM.png)

## Replace the dynamic portion using a script

When Whatfix Flows are used inside the application, you may already know this dynamic portion. Use the following script to inform Whatfix about the dynamic portion. Informing Whatfix enables avoiding the need for end users to type in an already known portion of the URL.

```
window._wfx_settings.dynamic = window.location.host;
```

Using the above script in your pages, the Whatfix Self Help widget (or any other embed options) replaces the dynamic portion in the URL with the current page host.

If multiple dynamic portions exist in the URL, separate them with a comma.

**Note:**

Whatfix business users can place this script in their admin/integration section. Application users are not required to change anything or manually provide the web address. Whatfix automatically picks the current URL.

## Related

- [Flow Failure Reason - Step not created](/flow-failure-reason-step-is-not-created-on-the-currently-opened-page.md)
