> For the complete documentation index, see [llms.txt](https://help.recart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.recart.com/sms/writing-messages/add-links-to-sms-flows.md).

# Add Links to SMS Flows

Explains how to add links, including discount-code links, to your Recart SMS flows and campaigns.

Learn how to add links to your Recart SMS flows

You can add links to your Recart text messages. This feature allows you to redirect your subscribers to a specific destination eg. your home page or product page, Instagram account ect. Depending on your flow you will have different options to choose from.

Furthermore, you can add discount codes to the links.

We recommend keeping both the code and the shortened link in the text message, but you have the option to remove the discount code if you would like to. The discount code will be automatically applied on the checkout page from the URL click.

### How to add a link to Recart text flows?

Open up your flow editor by clicking on the flow item and look for the *link 🔗 icon.*

![](https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FYX5FhVmbPWNkr869TInV%2Fadd-links-to-sms-flows-1.png?alt=media)

There are a few link types available for you to choose from depending on the flow you are editing

Custom links

* You can choose any link you wish to. In this case you need to add the specific URL you want your subscribers to be redirected to. This can be your home page, or Instagram account, TikTok account etc.

Pre-defined links:&#x20;

* These are specific URLs that Recart is generating. For example in the Site link, Abandoned Cart flow the URL of the last viewed product, the fulfillment tracking link for the fulfillment flow or the order status link for your receipt flow.

{% hint style="info" %}
Do not forget to add a **discount code** to your URLs. You will be able to choose from discount codes that already exist. You cannot create new discount codes with links.
{% endhint %}

Learn more about creating and importing discount codes in this[ help article here.](/discounts/create-discount-codes-in-recart.md)

If you have any questions, do not hesitate to [contact the Recart Support team.](/contact-recart-support.md)  We'd be happy to help!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.recart.com/sms/writing-messages/add-links-to-sms-flows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
