Unable to call an Action from Salesforce Einstein Bot

2.8k Views Asked by At

I am working on my first Salesforce Einstein Bot in a sandbox. The bot works well and navigates through multiple dialogs as intended until I try to call an Action. If I try to call any action, no matter how simple, the bot automatically ends the chat even though there are more steps in the dialog after the action call. I have even dumbed-down the invocable method to simply accept a string list and return nothing. The method literally does nothing and I can call it without issue from a Process Builder. For some reason in the bot it crashes the chat. I have deleted and rebuilt the bot from scratch with the same result.

Any thoughts or advice on what I might be missing? Suggestions on what else I can check?

1

There are 1 best solutions below

1
Mike Bodily On BEST ANSWER

Make sure to give your bot access to the apex class through permission sets. The bot has its own set of permissions name something like sfdc.chatbot.service.permset.