> 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%.

![](https://2840206233-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MieWdIBRoT06HGdZDGB%2F-MierfBW9agtK7Vqyl1-%2F-Mif51VqkxjkikRdl6xu%2Frule%20set%20example.png?alt=media\&token=282df922-b646-414c-bd3a-7bccd1175a0d)

##
