Hello Community,
Has anyone here implemented or knows how to send a chat reply via a business process in Creatio?
We have a use case where, during an ongoing chat session with a customer, an agent triggers a business process. Within that process, we need to automatically send a chat message back to the customer.
Currently, we’re able to send WhatsApp messages using a Script Task and API call, However, messages sent this way are not automatically tracked in the Creatio chats object.
Is there a way to send a message via a Script Task using out-of-the-box (OOTB) functionality in Creatio, so that the message is automatically tracked and populated in the chats object?
Any guidance or examples would be greatly appreciated.
Thanks!
Like
Hello,
The problem is that chat messages are stored in the OmnichannelMessages table, which does not have an object in the configuration.
Unfortunately, it is impossible to implement such functionality in our application with basic tools. However, we have already registered this idea for our R&D team and passed it on for implementation in future releases.
Best regards,
Malika
Hi Malika,
Thanks! This table is exactly what I was looking for.
I have a few questions about some columns:
- Source: In the demo data, the value is 0, but when I insert data, it autopopulates to 3.
- Message Type: Most of the time, the value is 0, but it autopopulates to 5 when the chat is completed.
- Message Macros Details ID: Most of the data here is null, but I notice it gets populated with a GUID once the chat is completed.
- Is Stand By: In my data, all value is false.
Did you have info or references that explain what each of these values means and what the numbers represent?
Likewise, there’s a table called ChatMessages — what is it used for specifically? How is it different from the OmnichannelMessages table? They seem quite similar at a glance, so I’d like to understand the distinction.
Thanks in advance!