About alternative API for customAttributes

Hello,

Our customers are using GenesysEngage's Bot service and change to GenesysCloud Web Messenger.
When changing from Bots to Web Messengers, our customers want their Bots service messages to appear in the Agent UI of GenesysCloud.
We sent a message from a web page using customAttributes in "Database.set" and displayed it in the agent's script, but it can only send a maximum of 2KB.
We know customAttributes are not extensible. Therefore, we are considering using the following API instead of customAttributes:

Genesys("command", "MessagingService.sendMessage", {
message: String
});

The number of characters that can be sent at one time is 4096 characters, so if it exceeds 4096 characters, the message is divided and sent.
We understand that, unlike customAttributes, it goes through the Web Messenger UI, so it looks as if the visitor has sent a message.
Are there any concerns or caveats when using this API?

Best regards,
Hirofumi Enotani

Hi @enotani
Sounds like you're trying to integrate with existing Bot: I would recommend exploring GC Bot Connector integration, rather than client-side

In parallel, we are exploring to allow for larger size on Custom Attributes, via configurable limits.

Hello,

Sorry for the late reply. Thank you for your answer.
We will also consider the Bot connector.

Sorry for my poor explanation.
Messages we wish to send to GenesysCloud agents are stored in the visitor's browser storage.
I just want to send this message, so I plan to use "MessagingService.sendMessage", but I would like to know if there are any precautions when using this API.
Is it correct to understand that there are no particular concerns?

Best regards,
Hirofumi Enotani

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.