Hi,
I have the following use case: We need to be able to send custom attributes between Genesys Cloud and our webhook for keeping session state (with third party bot). The idea is like this:
- Botconnector sends the initial customer question to the webhook with for example two parameters that are initially empty (for example chatId and sessiondata).
- The webhook receives the request and passes on the customer question to the third party bot.
- The webhook receives the answer from the external bot, along with say for example two custom attributes, that needs to be included in any subsequent call to the bot.
- The webHook replies back to the botconnector, with the customer answer and the two custom attributes.
- The botconnector picks up the custom attributes and assign them to the parameters (chatId/sessiondata)
- Any subsequent call to the webhook will pass on these values in the two parameters (chatID and sessiondata)
Is there a way to accomplish this, and if so, how can you accomplish it? If it´s not possible, any idea on how one can solve this outside of GC? The webhook is written in C#.
Thanks!