Skip to content

Commit bbe2a17

Browse files
author
Alexey kondratenko
authored
Better: Add Intervention’s segments export. RD-27981 (#174)
1 parent 724edde commit bbe2a17

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

docs/digital/exports/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ When not using the `Export to zip file` option, the export_name variable is repl
7171
| Identities | identities |
7272
| Identity groups | identity_groups |
7373
| Intervention’s comments | interventions_comments |
74+
| Intervention’s segments | interventions_segments |
7475
| Interventions | interventions |
7576
| Audit Log | journal |
7677
| Messages | messages |

docs/digital/exports/main-export-fields.md

+37
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,43 @@ This export displays user permissions by source.
547547
| user_id | Agent Id | ObjectId | 51f241de7aa58dd360006706 | |
548548
| user_name | Agent Name | String | Jean Dupuis | |
549549

550+
## Interventions Segments(`Export::InterventionsSegments`)
551+
552+
- **Export name**: interventions_segments
553+
554+
- **Incremental availability**: Yes
555+
556+
- **Time filtering**: Creation time
557+
558+
| Column Name | Description | Type | Example | Comment |
559+
|-----------------------------|--------------------------------------------------------------------------------------------|----------|---------------------------------------------------------------------------------|---------|
560+
| created_at | Creation Date | Datetime | 23/08/2013 12:15 | |
561+
| updated_at | Update Date | Datetime | 23/08/2013 12:15 | |
562+
| id | Intervention Comment ID | ObjectId | 55dc83d677656254ca000a2e | |
563+
| intervention_id | Intervention ID | ObjectId | 55cdaade77656222d500061d | |
564+
| foreign_id | Foreign ID | ObjectId | 55dc83d677656254ca000a2e | |
565+
| user_id | Agent Id | ObjectId | 51f241de7aa58dd360006706 | |
566+
| user_name | Agent Name | String | Jean Dupuis | |
567+
| first_user_reply_in | First reply time (minutes or seconds according to configuration) | Integer | 4 | |
568+
| first_user_reply_in_bh | First reply time in business hours (minutes or seconds according to configuration) | Integer | 4 | |
569+
| user_reply_in_average | Average agent reply time (minutes or seconds according to configuration) | Integer | 3 | |
570+
| user_reply_in_average_bh | Average agent reply time in business hours (minutes or seconds according to configuration) | Integer | 2 | |
571+
| user_reply_in_average_count | Number of exchanges between Identity -> User (used to weight user_reply) | Integer | 3 | |
572+
| identity_id | Identity ID | ObjectId | 55cda9e6776562a644000001 | |
573+
| identity_name | Identity Name | String | Pierre Dupont | |
574+
| identity_foreign_id | Identity's Foreign ID | ObjectId | 55dc83d677656254ca000a2e | |
575+
| source_id | Source ID | ObjectId | 55cda687776562377900083d | |
576+
| source_name | Source Name | String | My Facebook Page | |
577+
| source_type | Source type | String | Facebook | |
578+
| thread_id | Thread ID | ObjectId | 55cda7bd7765622b58000735 | |
579+
| thread_foreign_id | Thread's foreign ID | ObjectId | 55dc83d677656254ca000a2e | |
580+
| auto_summary | Auto summary of the intervention segment | String | Client asks for help for his smart brewer as he couldn't do cappuccinos. | |
581+
| agent_summary | Agent's summary of the intervention segment | String | EDITED Client asks for help for his smart brewer as he couldn't do cappuccinos. | |
582+
| summary_edited | Indicates if the summary was edited by the agent | Boolean | true | |
583+
584+
!!!note
585+
Export is only available if the 'Enable AI summaries' feature flag is enabled or the domain is RCX.
586+
550587
## Presence Statuses(`Export::PresenceStatus`)
551588

552589
- **Export name**: presence_status

0 commit comments

Comments
 (0)