Salesforce Auto-Launched flow can be used to retrieve field values from Salesforce Einstein BOT Object Search.
Unfortunately, using Set Variable element in the Einstein BOT Builder, we cannot set Object’s field values to the custom variables. So, we can pass the record to the Auto-Launched Flow and from the Flow, we can use Assignment element to assign values from Object record. The Flow variables should be Output so that the BOT can read the values after the Flow execution.
1. Setup Salesforce Einstein BOT Object Search. Please check the following for reference.
2. Create an Auto-Launched Flow to invoke from the BOT.
3. Call the Auto-Launched Flow from the BOT.
Output: