Extracts sentiments from datalake conversations only. Sentiments are stored in the sentiment table.
This action retrieves conversation IDs from the analytics_conversation table (datalake) within the specified date range, then downloads sentiment data for each conversation from Genesys using concurrent bulk requests for efficiency.
Note: This action works exclusively with conversations in the datalake. For real-time conversation sentiments, use sentiments_from_realtime() instead, which processes conversations queued by realtime processing.
Parameters
| Parameter | Description | |
|---|---|---|
| savepoint | Optional | The name of the savepoint to use |
| download_sentiments | Optional | Whether to download sentiments. Default true. |
| upsert_batch_size | Optional | The number of sentiments to upsert per batch. Default 500. |
| worker_count | Optional | The number of concurrent workers fetching sentiment data. Default 10. Increase for faster downloads, decrease if hitting rate limits. |
Tables Affected
Variables Set
| Variable | Type | Description |
|---|---|---|
| conversations_start_date | date/time | The earliest conversation start date |
| conversations_end_date | date/time | The latest conversation end date |
Permissions needed
- speechAndTextAnalytics:sentimentData:view or speechAndTextAnalytics:data:view or recording:recording:view or recording:recording:viewSensitiveData
Examples
- sentiments()
- sentiments(start_date=conversations_start_date, end_date=conversations_end_date, worker_count=20)
