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

# Redirect to URL

Use the **Redirect to URL** action to send respondents to a specific webpage when a defined condition is met.

This is useful when you want to send customers to a relevant page based on their survey responses - such as a product page, thank-you page, external resource, or another destination.

For example:

> **IF** Question 1 is equal to **"Yes"**\
> **THEN** Redirect to URL → [https://yourstore.com/products/example](https://yourstore.com/products/example)

## Set Up a URL Redirect

**1. Step 1: Open Survey Branching**

Open the survey you want to configure.

![All Surveys Page](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=933ba70c3de0ae53e56015629d1f2cb7)

From the survey editor, click **Survey Branching.**

![Branching Survey Button](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-survey-button.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=8b19db0457a52662a7c0ab9760e84c3f)

**2. Step 2: Select the question**

Click the question block that contains the answer you want to use as the condition.

![Branching Logic Survey 1](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-logic-survey-1.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=3eb0814d16a0a51babd9e3f7e3811b1f)

**3. Step 3: Create your condition**

Click **Add Rule** and configure the **IF** condition.

Select the question, operator, and value that should trigger the redirect.

For example:

**IF** Question 1 → **Is equal to** → **"Yes"**

![Survey Rule Page](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/survey-rule-page.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=23f649f4412a2a4c3f5ee39bf6fcff0c)

**4. Step 4: Choose Redirect to URL**

Under **THEN**, select **Redirect to URL.**

Enter the URL where you want respondents to be redirected.

For example:

**THEN** → **Redirect to URL** → [https://yourstore.com/products/example](https://yourstore.com/products/example)

![Redirection To Url](https://mintcdn.com/apricot-survey/9PJBlmIfLLkWNGpQ/images/redirection-to-url.png?fit=max\&auto=format\&n=9PJBlmIfLLkWNGpQ\&q=85\&s=b43241686c17871d31375260d2c19751)

Save the rule to apply the redirect.

When a respondent meets the specified condition, Apricot will redirect them to the URL you provided.

## Example

Imagine you're asking customers whether they want to learn more about a product.

**Question**: Would you like to learn more about this product?\
\- Yes\
\- No

You could create a rule such as:

> **IF** Answer is equal to "Yes"\
> **THEN** Redirect to URL → Your product page

This lets you turn a survey response into a direct next step for the customer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.