Bots are a specialized kind of App that react to events from your Books.
Bots run on behalf of the user who installed it, and the agents are identified in the transactions and activities list:
The bot responses are registered in the activity which started the bot call and can be viewed and replayed by clicking on the response at the bottom of the activity:
Bot execution are usually idempotent and is tried up to 5x with a small delay between calls. If, for some uncontrolled reason, the bot returns an error, the response is registered with an error flag, and is presented in red:
You can replay the bot execution anytime by clicking in the top right icon.
Transaction with bot errors can be filtered by running the query:
The bots work by reading the book and accounts properties in your book.