# Use-case

Automations on DeFi Saver allow you to automatically manage your position based on specific inputs.

In this article, we'll cover all of the automation strategies that you can utilize within your position.

{% hint style="warning" %}
*Please note that compatibility plays a role in automation availability. Depending on the protocol and chain you have selected, certain strategies may not be available.*\
\
*For a full overview of automation compatibility, please visit our* [*Compatibility*](https://help.defisaver.com/features/automation/compatibility) *article.*
{% endhint %}

<details>

<summary>Automated Leverage Management</summary>

Our oldest and still most popular option, automated leverage management allows anyone to configure:

* Partial unwinding (auto-repay) of their position in case it drops below a certain threshold,
* Automated leveraging up (auto-boost) in case it goes above a user configured threshold,&#x20;

This option is typically used as liquidation protection, or as a way to maintain a constant leverage position.

For a better understanding how the Boost and Repay features work, please visit our [Use-Case article.](https://help.defisaver.com/features/boost-and-repay/use-case)

To activate Automated Leverage Management, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FT0I19AHqoNmfvrIv3Jkg%2FScreenshot%202025-10-31%20151958.png?alt=media&#x26;token=04f4abfb-caac-4da1-bb4d-e7de52966b6a" alt=""><figcaption></figcaption></figure>

2. Choose "Automated Leverage Management"
3. Input the ratio that you'd like to keep your position at.

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2F37OnJnYqQS4hRSJhGxZH%2FScreenshot%202025-10-31%20152031.png?alt=media&#x26;token=cbfbe66b-b7ee-4e1b-bb20-96f52e76e981" alt=""><figcaption></figcaption></figure>

4. You can also click "Advanced", which will let you specify at which ratio Repay/Boost should trigger at, and to which Safety Ratio it should Repay/Boost the position to:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2F3cHrQwm7Gmz3JwpyRwFX%2FScreenshot%202025-10-31%20152130.png?alt=media&#x26;token=282d41de-09eb-49cb-8f7c-2e5f56003815" alt=""><figcaption></figcaption></figure>

5. Once everything looks good, press "Enable"

</details>

<details>

<summary>Boost / Repay on Target Price</summary>

Similar in functionality to Automated Leverage Management. The main difference is that, instead of a specific ratio that's being maintained, this feature automatically executes Boost or Repay when the price you input is reached.

These are typically used to partially lock in profits when you target price is reached, or to leverage more when market crashes below a level you recognized as a potential support point.

To activate Boost / Repay on Target Price, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FMcuQHSHTKO4ZfzLGXgD8%2FScreenshot%202025-10-31%20151958.png?alt=media&#x26;token=da19cba2-5b8c-4e92-9d47-56d3d5c9873b" alt=""><figcaption></figcaption></figure>

2. Choose "Boost on Target Price" or "Repay on Target Price"
3. Under "When price goes" - you can specify if your automation will trigger when the price of your collateral goes over or under the specified price point:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FqYeaPqBCFeZuKXwPwe8N%2FScreenshot%202025-10-31%20152310.png?alt=media&#x26;token=ae5f941a-9ccf-4621-b0fc-6c12011a0796" alt=""><figcaption></figcaption></figure>

4. You also need to add the price point at which the automation will trigger, and what Safety Ratio it should Boost/Repay it to:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FpZlBJHH4FwmdEYoEQrtS%2FScreenshot%202025-10-31%20152511.png?alt=media&#x26;token=67d4fd78-1b4e-4a08-9adb-22571e888505" alt=""><figcaption></figcaption></figure>

5. Click "Enable"

</details>

<details>

<summary>Take Profit / Stop Loss</summary>

A classic combo, the Take Profit and Stop Loss options allow you to configure target price points at which your position would be fully closed, with your position's whole current debt cleared using collateral.

These options are typically used as liquidation protection and a way to limit and minimize losses or maximize gains.

To activate Take Profit / Stop Loss, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FH4YNgrLncpgoUabO9IQC%2FScreenshot%202025-10-31%20151958.png?alt=media&#x26;token=65f11ae2-2ab1-44ba-87ed-acf8aaaef263" alt=""><figcaption></figcaption></figure>

2. Choose "Take Profit" or "Stop Loss"
3. Input what amount the collateral asset should be under (for Stop Loss) or over (for Take Profit), and whether you want to close to collateral or debt.

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FJ49kVniQIciz14MsufpN%2FScreenshot%202025-10-31%20152713.png?alt=media&#x26;token=8c83ed9f-6d28-4fd3-a45b-67e0346c9348" alt=""><figcaption></figcaption></figure>

4. Press "Enable"

{% hint style="info" %}
*The "Close (to X)" represents which asset will be withdrawn to your EOA wallet once the position is fully closed.*\
\
*To understand this in more detail, let's look at how the "Close" tool works in the background:*

* *First, it flash loans the debt asset*
* *It uses the flash loaned funds to pay back all of the debt*
* *Now that your collateral is freed up, it's withdrawn*
* *The collateral is then swapped to the debt asset*&#x20;
* *This is used to pay back the flash loan*
* *The remaining funds are withdrawn to your EOA*

\
*Now, if you choose "Close to Collateral", this means that it will only swap enough of your collateral to cover the flash loan, but it will withdraw the rest in the collateral token.*\
\
*If you choose "Close to Debt", it's going to swap all of your collateral to the debt asset, pay back the flash loan, and the rest will be withdrawn in the debt token.*
{% endhint %}

</details>

<details>

<summary>Collateral Switch</summary>

This automation lets you set a price threshold at which your collateral asset will be switched into a different asset. Essentially, you'll be able to maneuver around price drops without having to close or unwind your position.\
\
Likewise, you'll be able to switch back into the collateral asset at a lower price once it reaches your target price:

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FiYdRBUI49fh280rEUku3%2FScreenshot%202025-11-25%20172711.png?alt=media&#x26;token=cce470de-5de2-49ae-84db-7f70ce9a1df9" alt=""><figcaption></figcaption></figure>

2. Choose "Collateral Switch":

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FWXtZJDA4NFWwkshaypyK%2FScreenshot%202025-11-25%20173209.png?alt=media&#x26;token=8494a9e6-785d-4afd-96ef-c39d3c640b43" alt=""><figcaption></figcaption></figure>

3. First, choose whether your trigger will be the price going "Over" or "Under" a price threshold
4. Input the price threshold.
5. You can choose whether you'd like to switch the whole amount of your collateral or only part of it (and set what the partial amount of the switch is)
6. Select the new collateral asset
7. Press "Enable"

Users are also able to set up multiple instances of this automation, so that you can, for example:

* Have one collateral switch automation for when your collateral's price drops&#x20;
* Have another one for switching it back to the original asset once the price recovers to a certain point

On the other hand, you can also set multiple instances with different price thresholds so you incrementally switch part of your collateral to a stablecoin.

{% hint style="info" %}
For this automation, either the collateral asset, or the asset that's being switched to must be one of the following assets:

* USDT
* USDC
* USDe
* RLUSD
* PYUSD
* GHO
* DAI
* USDTb
* EURC
  {% endhint %}

To ensure this automation can trigger successfully and reliably, we've implemented a minimum switch amount of at least $10 in collateral for Arbitrum, Optimism, and Base - while it's $1,000 on Mainnet.

Additionally, there is a maximum threshold of $500,000 in collateral value - as values larger than this might lead to trade size impact that is too significant to make it execute reliably.

</details>

<details>

<summary>Trailing Stop</summary>

Compared to a standard Stop Loss which lets you set a fixed price threshold, a trailing stop is a dynamic option that lets you configure a percentage drop from peak reached price which, when breached, would trigger full closing of your position.

This option is typically used as an alternative way to limit losses and ensure gains.

To activate Trailing Stop, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FaFmyIyVZCbX3B4sAP6Hq%2FScreenshot%202025-10-31%20153057.png?alt=media&#x26;token=1c64d7b8-5220-4b07-805f-c815bc275934" alt=""><figcaption></figcaption></figure>

2. Choose "Trailing Stop".
3. Input the % by which the collateral's price can dip from its previous peak, and whether you'd like to keep the remaining balance in your collateral or debt asset.

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FvarqaZMBuxaFvYGXXMTx%2FScreenshot%202025-10-31%20153303.png?alt=media&#x26;token=7bb574f4-13d9-4307-bca2-3e3cab7f084f" alt=""><figcaption></figcaption></figure>

4. Press "Enable"

</details>

<details>

<summary>Savings Liquidation Protection (Maker exclusive)</summary>

The Savings Liquidation Protection is a unique automation option that connects Maker Vault (CDP) owners with our Smart savings integrations, allowing anyone to borrow DAI and deposit it into supported yield earning protocols, while eliminating liquidation concerns. \
\
In case your Vault's (CDP's) ratio falls below the configured threshold, the DAI deposited into Smart Savings would be used to pay back debt.

This option is typically used as a way to earn yield on DAI while keeping your Vault (CDP) protected against liquidation.

To activate Savings Liquidation Protection, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FgoGrCRvIX7tcIhgbGUfa%2FScreenshot%202025-10-31%20153057.png?alt=media&#x26;token=ce5bfe4c-7022-4a4b-8690-4b2278d43769" alt=""><figcaption></figcaption></figure>

2. Choose "Savings Liquidation Protection".
3. Input the threshold that will trigger a repayment to the ratio of your choosing, and the Smart Savings protocol you'll be repaying from:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FRQqFA52iXM1dNqZofR46%2FScreenshot%202025-10-31%20153436.png?alt=media&#x26;token=e9140d2f-3643-4240-973b-ae5feff43879" alt=""><figcaption></figcaption></figure>

4. Press "Enable"

</details>

<details>

<summary>Redemption Protection (Liquity V1 Exclusive)</summary>

Redemptions are a risk factor unique to the Liquity protocol, where the riskiest CDP's (Troves) get redeemed against. This means that the risky Trove's debt will be cleared off if it's deemed too risky by the protocol's parameters.

In this case, the Trove owner loses exposure to their collateral asset.

DeFi Saver's Redemption Protection tool ensures that debt can be automatically repaid to keep a Trove away from the redemption threshold.

To activate Redemption Protection, please follow these steps:<br>

1. Open up your position and navigate to the "Automate" tab:
2. Choose "Redemption Protection".
3. Input the Debt in front value as the trigger, and the % by which your Trove's ratio will increase.
4. Press "Enable"

</details>

<details>

<summary>Stability Pool Liquidation Protection (Liquity V2 Exclusive)</summary>

This automation lets you protect your position from liquidation with automated debt payback using BOLD deposited into Liquity V2's Stability Pool:

1. Navigate to the Liquity V2 dashboard and click on the "Automate" tab:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FBuWodUJRBpmOBE4sorZU%2FScreenshot%202025-10-31%20155006.png?alt=media&#x26;token=5bac413f-7ff1-4ad9-afe6-314aaf17c683" alt=""><figcaption></figcaption></figure>

2. Click on "Stability Pool Liquidation Protection"
3. Set up to what threshold your Safety Ratio can fall to, and the Safety Ratio it should be repaid to using funds from your Stability Pool deposit:

<figure><img src="https://2276946674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo1t7pGS5d15WeQzoQ3Fe%2Fuploads%2FgJq41zJt4ZrwfkAEHz30%2FScreenshot%202025-10-31%20155001.png?alt=media&#x26;token=ba1b21c2-582c-4844-b39b-50e3f75827b9" alt=""><figcaption></figcaption></figure>

4. Click "Enable"

</details>

***

## Related Articles:

* [Automation](https://help.defisaver.com/features/automation)
* [Fees](https://help.defisaver.com/features/automation/fees)
* [Compatibility](https://help.defisaver.com/features/automation/compatibility)
* [Requirements for using Automation](https://help.defisaver.com/features/automation/requirements-for-using-automation)


---

# 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://help.defisaver.com/features/automation/use-case.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.
