Find and Create Records Deployment API Code Sample
Test and preview how automatically creating records can work with your Chat deployments using this code sample.
The following code searches for and creates records when an agent begins a chat with a customer using the following methods:
- addCustomDetail
- findOrCreate
- findOrCreate.map
- findOrCreate.saveToTranscript
- findOrCreate.linkToEntity
- findOrCreate.showOnCreate