# URL Shortener - Strategy for Sending Dynamic Links in Message Cadences

<figure><img src="/files/2408bc950b8a609f1360a02e73b5bdc3383b95bf" alt=""><figcaption></figcaption></figure>

Sending dynamic or frequently changed links can be challenging when setting up cadences or message templates. However, with Sprinthub, you can simplify this process using the built-in link shortener and an organized structure for automated messages.

### Why send dynamic links?

Links that change monthly, daily, or annually are useful in scenarios such as:

* **Payment slips**: A specific link for each month's payment slip.
* **Events**: Invitations or accesses to virtual meetings that change frequently.
* **Periodic reports and documents**: Such as financial reports or seasonal newsletters.

### Strategy Structure in Sprinthub

#### 1. **Link Shortener Setup**

<figure><img src="/files/e934ef1437a1e94dbf0470907d7bbdba1d00f9bc" alt=""><figcaption></figcaption></figure>

Sprinthub's shortener allows you to create customized, reusable links that can be updated as needed without changing the base message structure. See how:

1. Go to the **Link Shortener**.
2. Create a unique link with a meaningful alias. For example:
   * Name: `assembly-january`.
   * Alias: `assembly-canopus`.
3. Enter the corresponding original URL, such as the page or file for the current month.
4. Whenever the link is updated (monthly, for example), simply change the original URL without modifying the alias or overall structure.

{% hint style="info" %}
The following example is based on the WhatsApp API; you can also use it for WhatsApp Web accounts, Instagram, Messenger, email, etc.
{% endhint %}

#### 2. **Creating Message Templates**

After creating the shortened link, set up the template in Sprinthub to automate sending. Follow these steps:

<figure><img src="/files/3d1c958cc72f5b4fffe8cfd618373607a618a0b9" alt=""><figcaption></figcaption></figure>

1. Go to the **Message Templates** section and click **Create Template**.
2. Define:
   * A descriptive name such as `monthly-assembly`.
   * Category: Choose a relevant category, such as "Marketing" or "Communication."
   * Message body: Include the main text and insert the short URL as a call to action (CTA). For example:

     ```
     Hello! This is the link to access your assembly for this month: [Access here](https://.../assembleia-canopus).
     ```
3. Save the template to reuse in future cadences.

#### 3. **Creating Message Cadences**

<figure><img src="/files/144dd589b00005a1ddf1fa5ab20d6ddce761a03b" alt=""><figcaption></figcaption></figure>

Cadences allow scheduling automatic message sending at defined periods. See how to apply:

1. In the **Cadences**, create a specific queue, such as `Monthly Payment Slips` or `Recurring Events`.
2. Add the messages configured in the template, adjusting the send dates. For example:
   * **10th of each month**: Sending the payment slip link.
   * **1 day before the due date**: Reminder with the updated link.

<figure><img src="/files/a5d30e8761a66676df8e8c5843b62f0632626416" alt=""><figcaption></figcaption></figure>

Monitor the queue to ensure the links are correct before sending.

#### 4. **Updating Dynamic Links**

Thanks to the shortener, any change to the link destination can be made directly in the original URL, without needing to reconfigure templates or cadences. This saves time and maintains communication consistency.

### Usage Example

#### Case: Sending Monthly Payment Slips

1. **Shortener**:
   * Original URL: Link to the January payment slip.
   * Alias: `payment-slip`.
2. **Template**:
   * Message: "Your payment slip is now available! Click the link to access: Payment Slip."
3. **Cadence**:
   * Send every 10th with a reminder on the 20th.

#### Case: Invitations to Virtual Assemblies

1. **Shortener**:
   * Original URL: Link to the virtual meeting.
   * Alias: `assembly-canopus`.
2. **Template**:
   * Message: "Access this month's assembly by clicking the link: Join."
3. **Cadence**:
   * Send 3 days before the event and on the day of the event.

### Benefits of the Strategy

* **Centralization**: Links remain consistent in templates and cadences.
* **Flexibility**: Update the original URL without modifying the message structure.
* **Efficiency**: Reduce rework and increase team productivity.

With this strategy, Sprinthub simplifies sending dynamic messages, allowing you to keep your audience well informed and with easy access to the latest content.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinthub.com/en/topics/convert/url-shorteners/url-shortener-strategy-for-sending-dynamic-links-in-message-sequences.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
