Here's a recipe for a bot used at Teamvvork to show who is in the space. (1/2)
This Trigger fires every time you exit an area you specify.
This Action will post a message to the channel you choose in Slack.