![](https://www.infallibletechie.com/wp-content/uploads/2024/04/Salesforce-BOT-to-BOT-Transfer-Check-1024x576.jpg)
System Context Variable ReferrerBotId can be used to check whether the BOT was invoked from BOT to BOT transfer.
To display the BOT Id, use this format {!$System.ReferrerBotId}.
ReferrerBotId will be null if the BOT was not invoked by other BOTs in the Org.
ReferrerBotId will contain a value if the BOT was invoked by another BOT in the Org.
BOT Builder Configuration:
![](https://www.infallibletechie.com/wp-content/uploads/2024/04/Salesforce-Einstein-BOT-to-BOT-Transfer-Referrer-Id.png)
Output:
![](https://www.infallibletechie.com/wp-content/uploads/2024/04/Salesforce-BOT-to-BOT-Transfer.png)