Greetings. We need to implement the script:
When creating a chat in HelpCrunch, check if there is a client (contact) in Piperdrive. If the client is not found, create a client, then create and attach a deal to it (THIS IS IMPLEMENTED).
1. But there is no chat itself (correspondence with the client).
2. When updating or closing a chat (adding messages) - this data is not transferred to Pipedrive.
How can I transfer the correspondence with the client (chat)?