> For the complete documentation index, see [llms.txt](https://docs.botmanager.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botmanager.io/misc/ruleset-examples-for-automation/change-tp-dynamically.md).

# Change TP Dynamically

## Explanation

If a deal has done less than or equal 2 SO, then TP is set to 1%. If a deal has done more than 2 and less than 6 SO, then TP is set to 2.5%. If a deal has done 6 or more SO, then TP is set to 4%.

![](/files/-Mif51VqkxjkikRdl6xu)

##
