July 11, 2020

How to handle multiple records from Flow for Einstein Bot in Salesforce?

1. Create a Collection variable in Einstein Bot builder. Use [System]Object and make sure to select Contains List.
2. Add Question in the Dialog and use Dynamic choice with input from the Collection Variable.
3. Create an Output variable in Flow as List of object.
4. Create an Input variable in Flow as text for a message to send it to the Bot from flow.
5. Create an Input variable in flow as text to get input from Bot in Flow.

Flow Configuration:

Bot Configuration:



  1. This is working for me except it's returning all my values as < object >. Can you help?

    1. That is expected as BOT captures it as list of object.