You need to sign in to do that
Don't have an account?
Philippe Uyttendaele
Einstein Bot sendCustomEvent
Hello,
We are setting up a custom liveChat throught the rest API documentation.
--> from here : REST API LiveAgent (https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/live_agent_rest_understanding_resources.htm)
We are have used the possibility for our agents to upload specific documents and have them correctly integrated using costomEvents
--> from here : Send Custom Events (https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_sendCustomEvent.htm)
Now we are looking into automate this process with the help of Einstein Bots.
We have read the cookbook carefully
--> from here : Einstein Cookbook (https://developer.salesforce.com/docs/atlas.en-us.bot_cookbook.meta/bot_cookbook/bot_cookbook_overview.htm)
But i still cannot figure IF/HOW to have Einstein bots trigger these custom events as they are currently javascript based...
I guess i would need to have Einstein call an Invocable APEX but ... that would require the appropriate APEX commands which i am looking for.
Anyone has information on this ?
thanks very much !
We are setting up a custom liveChat throught the rest API documentation.
--> from here : REST API LiveAgent (https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/live_agent_rest_understanding_resources.htm)
We are have used the possibility for our agents to upload specific documents and have them correctly integrated using costomEvents
--> from here : Send Custom Events (https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_sendCustomEvent.htm)
Now we are looking into automate this process with the help of Einstein Bots.
We have read the cookbook carefully
--> from here : Einstein Cookbook (https://developer.salesforce.com/docs/atlas.en-us.bot_cookbook.meta/bot_cookbook/bot_cookbook_overview.htm)
But i still cannot figure IF/HOW to have Einstein bots trigger these custom events as they are currently javascript based...
I guess i would need to have Einstein call an Invocable APEX but ... that would require the appropriate APEX commands which i am looking for.
Anyone has information on this ?
thanks very much !
Please feel to reach out to the accelerator team who can give you the idea of how you can implement according to your business requirement if you have the premier success plan.
Please find the details on how to request for an accelerator:https://help.salesforce.com/articleView?id=000337601&type=1&mode=1
Otherwise, I would request you to reach out to your Account Executive If you wish to upgrade to Premier Support please contact your Account Executive.
Thanks.
i reached out to salesforce and they directed me here.
When i read the documentation about accelerator, they intend to setup a 'simple' bot and have a step by step element to do a bot.
The integration through API and handling of custom events does not seems to be covered...
Philippe
I 'just' need to know what APEX method / function i need to use to send CustomEvents
Thanks !