The tables below provide detailed information regarding the schema for exported data files that we can make available to you for ASAPP Messaging.

Table: admin_activity

The admin_activity table tracks ONLINE/OFFLINE statuses and logged in time in seconds for agents who use Admin.

Sync Time: 1h

Unique Condition: company_id, rep_id, status_description, status_start_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082020-11-10 00:00:002020-11-10 00:00:00no
rep_namevarchar(191)Name of agentJohn2020-11-10 00:00:002020-11-10 00:00:00no
status_descriptionvarcharIndicates status of the agent.ONLINE2020-11-10 00:00:002020-11-10 00:00:00no
status_start_tsdatetimeTimestamp at which this agent entered that status.2018-06-10 14:23:002020-11-10 00:00:002020-11-10 00:00:00no
status_end_tsdatetimeTimestamp at which this agent exited that status.2018-06-10 14:23:002020-11-10 00:00:002020-11-10 00:00:00no
status_time_secondsdoubleTime in seconds that the agents spent in that status.2353.232020-11-10 00:00:002020-11-10 00:00:00no

Table: agent_journey_rep_event_frequency

Aggregated counts of various agent journey event types partitioned by rep_id

Sync Time: 1d

Unique Condition: primary-key: rep_id, event_type, company_marker, instance_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002022-01-31 00:00:002022-01-31 00:00:00no
company_markervarchar(191)The ASAPP company marker.spear, aa2022-01-31 00:00:002022-01-31 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082022-01-31 00:00:002022-01-31 00:00:00no
event_typevarchar(191)agent journey event type on recordCUSTOMER_TIMEOUT, TEXT_MESSAGE2022-01-31 00:00:002022-01-31 00:00:00no
event_countbigintcount of the agent journey event type on record2022-01-31 00:00:002022-01-31 00:00:00no
disconnected_countbigintnumber of times that a rep disconnected for less than 1 hour2022-01-31 00:00:002022-01-31 00:00:00no
disconnected_secondsbigintcumulative number of seconds that a rep disconnected for less than 1 hour2022-01-31 00:00:002022-01-31 00:00:00no

Table: autopilot_flow

This table contains factual data about autopilot flow.

Sync Time: 1h

Unique Condition: company_marker, issue_id, form_start_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002022-03-09 00:00:002022-03-09 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012022-03-09 00:00:002022-03-09 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522022-03-09 00:00:002022-03-09 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082022-03-09 00:00:002022-03-09 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082022-03-09 00:00:002022-03-09 00:00:00no
rep_assigned_tstimestamp without time zone2022-03-09 00:00:002022-03-09 00:00:00no
form_start_tstimestamp without time zoneTimestamp of autopilot form/flow being recommended by MLE or timestamp of flow sent from quick send. issue_id + form_recommended_event_ts should be unique2022-03-09 00:00:002022-03-09 00:00:00no
form_dismissed_event_tstimestamp without time zoneTimestamp of recommended autopilot form being dismissed.2022-03-09 00:00:002022-03-09 00:00:00no
form_presented_event_tstimestamp without time zoneTimestamp the autopilot form being presented to end user.2022-03-09 00:00:002022-03-09 00:00:00no
form_submitted_event_tstimestamp without time zoneTimestamp the autopilot form being submitted by end user2022-03-09 00:00:002022-03-09 00:00:00no
flow_idvarchar(255)An ASAPP identifier assigned to a particular flow executed during a customer event or request.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2022-03-09 00:00:002022-03-09 00:00:00no
flow_namevarchar(255)The ASAPP text name for a given flow which was executed during a customer event or request.FirstChatMessage, AccountNumberFlow2022-03-09 00:00:002022-03-09 00:00:00no
form_start_fromcharacter varying(191)How the flow is being sent by the agent. manual: sent manually from the quick send dropdown in desk accept: sent by accept recommendation by ML server2022-03-09 00:00:002022-03-09 00:00:00no
is_secure_formbooleanIs this a secure form flow.false2022-03-09 00:00:002022-03-09 00:00:00no
queue_idintegerThe ASAPP queue identifier which the issue was placed.2100012022-03-09 00:00:002022-03-09 00:00:00no
asapp_modevarchar(191)Mode of the desktop that the rep is logged into (CHAT or VOICE).CHAT, VOICE2022-03-09 00:00:002022-03-09 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2022-03-09 00:00:002022-03-09 00:00:00no

Table: convos_intents

The convos_intents table lists the current state for intent and utterance information associated with a conversation/issue that had events within the identified 15 minute time window. This table will include unended conversations.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
conversation_idbigintdeprecated: 2019-09-25213523522018-11-07 00:00:002018-11-07 00:00:00no
first_agent_idvarchar(191)deprecated: 2019-09-251230082018-11-07 00:00:002018-11-07 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-07 00:00:002018-11-07 00:00:00no
first_utterance_tsvarchar(255)The timestamp of the first customer utterance for an issue.2018-09-05 19:58:062018-11-07 00:00:002018-11-07 00:00:00no
first_utterance_textvarchar(255)Time of the first customer message in the conversation.‘Pay my bill’, ‘Check service availability’2018-11-07 00:00:002018-11-07 00:00:00no
first_intent_codevarchar(255)Code name which are used for classifying customer queries in first interaction.PAYBILL, COVERAGE2018-11-07 00:00:002018-11-07 00:00:00no
first_intent_code_altvarchar(255)Alternative second best code name which are used for classifying customer queries in first interaction.PAYBILL, COVERAGE2018-11-07 00:00:002018-11-07 00:00:00no
final_intent_codevarchar(255)The final code name classifying the customer’s query, based on the flow navigated; defaults to the first interaction code if no flow was followed.PAYBILL, COVERAGE2018-11-07 00:00:002018-11-07 00:00:00no
intent_pathvarchar(255)A comma-separated list of all intent codes from the customer’s flow navigation. If no flow was navigated, this will match the first intent code.OUTAGE,CANT_CONNECT2018-11-07 00:00:002018-11-07 00:00:00no
disambig_countbigintThe number of times a disambiguation event was presented for an issue.22018-11-07 00:00:002018-11-07 00:00:00no
ftd_visitbooleanIndicates whether free-text disambiguation was used to help the customer present a clearer intent, based on the number of texts sent to AI.true, false2018-11-07 00:00:002018-11-07 00:00:00no
faq_idvarchar(255)The last FAQ identifier presented for an issue.FORGOT_LOGIN_faq2018-11-07 00:00:002018-11-07 00:00:00no
final_action_destinationvarchar(255)The last deep-link URL clicked during the issue resolution process.asapp-pil://acme/JSONataDeepLink2018-11-07 00:00:002018-11-07 00:00:00no
is_first_intent_correctbooleanIndicates whether the initial intent associated with the chat was correct, based on feedback from the agent.true, false2018-11-07 00:00:002018-11-07 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
first_rep_idvarchar(191)The first ASAPP rep/agent identifier found in a window of time.1230082019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: convos_intents_ended

The convos_intents_ended table lists the current state for intent and utterance information associated with a conversation/issue that have had events within the identified 15 minute time window. This table will filter out unended conversations.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
conversation_idbigintdeprecated: 2019-09-25213523522018-11-07 00:00:002019-01-11 00:00:00no
first_agent_idvarchar(191)deprecated: 2019-09-251230082018-11-07 00:00:002019-01-11 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-07 00:00:002018-11-07 00:00:00no
first_utterance_tsvarchar(255)Timestamp of the first customer message in the conversation.2018-09-05 19:58:06T00:01:16.203000+00:002018-11-07 00:00:002018-11-07 00:00:00no
first_utterance_textvarchar(255)First message from the customer.I need to pay my bill.2018-11-07 00:00:002018-11-07 00:00:00no
first_intent_codevarchar(255)Code name which are used for classifying customer queries in first interactionPAYBILL2018-11-07 00:00:002018-11-07 00:00:00no
first_intent_code_altvarchar(255)alternative second best code name which are used for classifying customer queries in first interaction.PAYBILL2018-11-07 00:00:002018-11-07 00:00:00no
final_intent_codevarchar(255)The final code name classifying the customer’s query, based on the flow navigated; defaults to the first interaction code if no flow was followed.PAYBILL2018-11-07 00:00:002018-11-07 00:00:00no
intent_pathvarchar(255)A comma-separated list of all intent codes from the customer’s flow navigation. If no flow was navigated, this will match the first intent code.OUTAGE, CANT_CONNECT2018-11-07 00:00:002018-11-07 00:00:00no
disambig_countbigintThe number of times a disambiguation event was presented for an issue.22018-11-07 00:00:002018-11-07 00:00:00no
ftd_visitbooleanIndicates whether free-text disambiguation was used to help the customer present a clearer intent, based on the number of texts sent to AI.false, true2018-11-07 00:00:002018-11-07 00:00:00no
faq_idvarchar(255)The last faq-id presented for an issue.FORGOT_LOGIN_faq2018-11-07 00:00:002018-11-07 00:00:00no
final_action_destinationvarchar(255)The last deep-link URL clicked during the issue resolution process.asapp-pil://acme-mobile/protection-plan-features2018-11-07 00:00:002018-11-07 00:00:00no
is_first_intent_correctbooleanIndicates whether the initial intent associated with the chat was correct, based on feedback from the agent.true, false2018-11-07 00:00:002018-11-07 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522018-11-07 00:00:002018-11-07 00:00:00no
first_rep_idvarchar(191)The first ASAPP rep/agent identifier found in a window of time.1230082018-11-07 00:00:002018-11-07 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: convos_metadata

This convos_metadata table contains data associated with a conversation/ issue during a specific 15 minute window. This table will include data from unended conversations. Expect to see columns containing the app_version, the conversation_end timestamp and whether it was escalated to chat or not.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_idbigintDEPRECATED 2024-03-25100012018-11-26 00:00:002018-11-26 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-26 00:00:002018-11-26 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-26 00:00:002018-11-26 00:00:00no
first_utterance_tstimestampTimestamp of the first customer message in the conversation.2018-09-05 19:58:062018-11-26 00:00:002018-11-26 00:00:00no
first_utterance_textvarchar(255)First message content from the customer.”Hello, please assist me”2019-01-11 00:00:002019-01-11 00:00:00no
issue_created_tstimestampTimestamp of the “NEW_ISSUE” event for an issue.2018-09-05 19:58:062019-10-15 00:00:002019-10-15 00:00:00no
last_event_tstimestampThe timestamp of the last event for an issue.2018-09-05 19:58:062019-09-16 00:00:002019-09-16 00:00:00no
last_srs_event_tstimestamp without time zoneTimestamp of the last bot assisted event.2018-09-05 19:58:062018-11-26 00:00:002018-11-26 00:00:00no
conversation_end_tstimestampTimestamp when the conversation ended.2018-09-05 19:58:062018-11-26 00:00:002018-11-26 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522018-11-26 00:00:002018-11-26 00:00:00no
session_idvarchar(128)The ASAPP session identifier. It is a uuid generated by the chat backend. Note: a session may contain several conversations.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-11-26 00:00:002020-10-24 00:00:00no
session_typecharacter varying(255)ASAPP session type.asapp-uuid2018-11-26 00:00:002020-10-24 00:00:00no
session_event_typecharacter varying(255)Basic type of the session event.UPDATE, CREATE2018-11-26 00:00:002020-10-24 00:00:00no
internal_session_idcharacter varying(255)Internal identifier for the ASAPP session.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-04-30 00:00:002019-04-30 00:00:00no
internal_session_typecharacter varying(255)An ASAPP session type for internal use.asapp-uuid2018-11-26 00:00:002018-11-26 00:00:00no
internal_user_identifiervarchar(255)The ASAPP customer identifier while using the asapp system. This identifier may represent either a rep or a customer. Use the internal_user_type field to determine which type the identifier represents.1230042018-11-26 00:00:002018-11-26 00:00:00no
internal_user_session_typevarchar(255)The customer ASAPP session type.customer2018-11-26 00:00:002018-11-26 00:00:00no
external_session_idcharacter varying(255)Client-provided session identifier passed to the SDK during chat initialization.062906ff-3821-4b5d-9443-ed4fecbda1292018-11-26 00:00:002020-10-24 00:00:00no
external_session_typecharacter varying(255)Client-provided session type passed to the SDK during chat initialization.visitID2018-11-26 00:00:002020-10-24 00:00:00no
external_user_idvarchar(255)Customer identifier provided by the client, available if the customer is authenticated.EECACBD227CCE91BAF5128DFF4FFDBEC2018-11-26 00:00:002020-10-24 00:00:00no
external_user_typevarchar(255)The type of external user identifier.acme_CUSTOMER_ACCOUNT_ID2018-11-26 00:00:002020-10-24 00:00:00no
external_issue_idcharacter varying(255)Client-provided issue identifier passed to the SDK (currently unused).2018-11-26 00:00:002020-10-24 00:00:00no
external_channelcharacter varying(255)Client-provided customer channel passed to the SDK (currently unused).2018-11-26 00:00:002020-10-24 00:00:00no
customer_idbigintASAPP customer id14700012018-11-26 00:00:002018-11-26 00:00:00no
escalated_to_chatbigintFlag indicating whether the issue was escalated to an agent. false, true12018-11-26 00:00:002020-10-24 00:00:00no
platformvarchar(255)A value indicating which consumer platform was used.ios, android, web2018-11-26 00:00:002018-11-26 00:00:00no
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknown2019-06-17 00:00:002019-06-17 00:00:00no
first_agent_idvarchar(191)deprecated: 2019-09-251230082022-01-04 00:00:002022-01-04 00:00:00no
last_agent_idvarchar(191)deprecated: 2019-09-251230082022-01-04 00:00:002022-01-04 00:00:00no
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2022-01-04 00:00:002022-01-04 00:00:00no
assigned_to_rep_timetimestampTime when the issue was first assigned to a rep, if applicable.2018-09-05 19:58:062018-11-26 00:00:002018-11-26 00:00:00no
disposition_event_typevarchar(255)Event type indicating how the conversation ended.resolved, unresolved, timeout2018-11-26 00:00:002018-11-26 00:00:00no
disposition_tstimestampTimestamp when the rep exited the issue or conversation.2018-09-05 19:58:062018-11-26 00:00:002018-11-26 00:00:00no
termination_event_typevarchar(255)Event type indicating the reason for conversation termination.customer, agent, autoend2018-11-26 00:00:002018-11-26 00:00:00no
disposition_notestextNotes added by the last rep after marking the chat as completed.”The customer wanted to pay his bill. We successfully processed his payment.”2018-11-26 00:00:002018-11-26 00:00:00no
ended_resolvedinteger1 if the rep marked the conversation resolved, 0 otherwise.1, 02019-04-30 00:00:002019-04-30 00:00:00no
ended_unresolvedinteger1 if the rep marked the conversation unresolved, 0 otherwise.0, 12019-04-30 00:00:002019-04-30 00:00:00no
ended_timeoutinteger1 if the customer timed out or abandoned chat, 0 otherwise.0, 12019-04-30 00:00:002019-04-30 00:00:00no
ended_autointeger1 if the rep did not disposition the issue and it was auto-ended.0, 12019-04-30 00:00:002019-04-30 00:00:00no
ended_otherinteger1 if the customer or rep terminated the issue but the rep didn’t disposition the issue.0, 12019-04-30 00:00:002019-04-30 00:00:00no
app_version_asappvarchar(255)ASAPP API version used during customer event or request.com.asapp.api_api:-2f1a053f70c57f94752e7616b66f56d7bf1d66752018-11-26 00:00:002018-11-26 00:00:00no
app_version_clientvarchar(255)ASAPP SDK version used during customer event or request.web-sdk-4.0.02018-11-26 00:00:002018-11-26 00:00:00no
session_metadatacharacter varying(65535)Additional metadata information about the session, provided by the client.2018-11-26 00:00:002018-11-26 00:00:00no
last_sequence_idintegerLast sequence identifier associated with the issue.1152019-04-30 00:00:002019-04-30 00:00:00no
issue_queue_idvarchar(255)Queue identifier associated with the issue.200012019-04-30 00:00:002019-04-30 00:00:00no
issue_queue_namevarchar(255)Queue name associated with the issue.acme-wireless-english2019-04-30 00:00:002019-04-30 00:00:00no
csat_ratingdouble precisionCustomer Satisfaction (CSAT) rating for the issue.400.02019-04-30 00:00:002019-04-30 00:00:00no
sentiment_valencecharacter varying(50)Sentiment of the issue.Neutral, Negative2019-04-30 00:00:002019-04-30 00:00:00no
deep_link_queuecharacter varying(65535)Deeplink queued for the issue.2019-04-30 00:00:002019-04-30 00:00:00no
end_srs_selectioncharacter varying(65535)User selected button upon end_srs.2019-04-30 00:00:002019-04-30 00:00:00no
trigger_linkVARCHARdeprecated: 2020-04-25 aliases: current_page_url2022-01-04 00:00:002022-01-04 00:00:00no
auth_statevarchar(3)Flag indicating if the user is authenticated.false, true2019-04-30 00:00:002019-04-30 00:00:00no
auth_external_token_idcharacter varying(65535)Encrypted user identifier, provided by the client system, associated with the first authentication event for an issue.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-17 00:00:00no
auth_sourcecharacter varying(65535)Source of the first authentication event for an issue.ivr-url2019-05-15 00:00:002019-05-17 00:00:00no
auth_external_user_typecharacter varying(65535)External user type of the first authentication event for an issue.ACME_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-17 00:00:00no
auth_external_user_idcharacter varying(65535)User ID provided by the client for the first authentication event.9BE62CCD564D6982FF305DEBCEAABBB52019-05-15 00:00:002019-07-16 00:00:00no
is_review_requiredbooleanFlag indicates whether an admin must review this issue. data type: boolean data type: booleantrue, false2019-07-24 00:00:002019-07-24 00:00:00no
mid_issue_auth_tstimestamp without time zoneTime when the user authenticates during the middle of an issue,2020-01-11 08:13:26.0942019-07-24 00:00:002019-07-24 00:00:00no
first_rep_idvarchar(191)ASAPP provided identifier for the first rep involved with the issue.600012019-09-26 00:00:002019-09-26 00:00:00no
last_rep_idvarchar(191)ASAPP provided identifier for the last rep involved with the issue.600012019-09-26 00:00:002019-09-26 00:00:00no
external_rep_idvarchar(255)Client-provided identifier for the rep.06710185102019-09-26 00:00:002019-09-26 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
first_voice_customer_statevarchar(255)Initial state assigned to the customer when using voice.IDENTIFIED2019-11-21 00:00:002019-11-21 00:00:00no
first_voice_customer_state_tstimestamp2020-01-11 08:13:26.0942018-09-05 19:58:062019-11-21 00:00:002019-11-21 00:00:00no
first_voice_identified_customer_state_tstimestampTime when the customer was first assigned an IDENTIFIED state.2020-01-11 08:13:26.0942019-11-21 00:00:002019-11-21 00:00:00no
first_voice_verified_customer_state_tstimestampTime when the customer was first assigned an VERIFIED state.2020-01-11 08:13:26.0942019-11-21 00:00:002019-11-21 00:00:00no
merged_tstimestampTime when the issue was merged into another issue. data type: timestamp2020-01-11 08:13:26.0942019-12-28 00:00:002019-12-28 00:00:00no
desk_mode_flagbigintBitmap encodes if agent handled voice-issue ASAPP desk, had engagement with ASAPP desk. bitmap: 0: null, 1: ‘VOICE’, 2: ‘DESK’, 4: ‘ENGAGEMENT’, 8: ‘INACTIVITY’ NULL for non voice issues0, 1, 2, 5, 72020-02-19 00:00:002020-02-19 00:00:00no
desk_mode_stringvarchar(191)Decodes the desk_mode flag. Current possible values (Null, ‘VOICE’, ‘VOICE_DESK’, ‘VOICE_DESK_ENGAGEMENT’,‘VOICE_INACTIVITY’). NULL for non voice issues.VOICE_DESK2020-02-19 00:00:002020-02-19 00:00:00no
current_page_urlvarchar(2000)URL link (stripped of parameters) that triggered the start chat event. Only applicable for WEB platforms. aliases: trigger_linkhttps:www.acme.corp/billing/viewbill2020-04-24 00:00:002020-04-24 00:00:00no
raw_current_page_urlFull URL link (including parameters) that triggered the chat event. Only applicable for WEB platforms. aliases: raw_trigger_link2020-04-25 00:00:002020-04-25 00:00:00no
language_codeVARCHAR(32)Language code for the issue_idEnglish2022-01-04 00:00:002022-01-04 00:00:00no

Table: convos_metadata_ended

The convos_metadata table contains data associated with a conversation/issue during a specific 15 minute window. Expect to see columns containing the app_version, the conversation_end timestamp and whether it was escalated to chat or not. This table will filter out data from unended conversations. This export removes any unended issues and any issues which contained no chat activity.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_idbigintDEPRECATED 2024-03-25100012018-11-26 00:00:002018-11-26 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-26 00:00:002018-11-26 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-26 00:00:002018-11-26 00:00:00no
first_utterance_tstimestampTimestamp of the first customer message in the conversation.2019-09-22T13:12:26.073000+00:002018-11-26 00:00:002018-11-26 00:00:00no
first_utterance_textvarchar(65535)First message content from the customer.”Hello, please assist me”2019-01-11 00:00:002022-06-08 00:00:00no
issue_created_tstimestampTimestamp when the “NEW_ISSUE” event occurred.2019-11-21T19:11:01.748000+00:002019-10-15 13:12:26.073000+00:002019-10-15 13:12:26.073000+00:00no
last_event_tstimestampTimestamp of the last event in the issue.2019-09-23T14:00:09.043000+00:002019-09-16 00:00:002019-09-16 00:00:00no
last_srs_event_tstimestamp without time zoneTimestamp of the last bot assisted event.2019-09-22T13:12:26.131000+00:002018-11-26 00:00:002018-11-26 00:00:00no
conversation_end_tstimestampTimestamp when the conversation ended.2019-10-08T14:00:07.395000+00:002018-11-26 00:00:002018-11-26 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522018-11-26 00:00:002018-11-26 00:00:00no
session_idvarchar(128)The ASAPP session identifier. It is a uuid generated by the chat backend. Note: a session may contain several conversations.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-11-26 00:00:002020-10-24 00:00:00no
session_typecharacter varying(255)ASAPP session type.asapp-uuid2018-11-26 00:00:002020-10-24 00:00:00no
session_event_typecharacter varying(255)Basic type of the session event.CREATE, UPDATE, DELETE2018-11-26 00:00:002019-01-11 00:00:00no
internal_session_idcharacter varying(255)Internal identifier for the ASAPP session.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-01-11 00:00:002019-01-11 00:00:00no
internal_session_typecharacter varying(255)An ASAPP session type for internal use.asapp-uuid2019-01-11 00:00:002019-01-11 00:00:00no
internal_user_identifiervarchar(255)The ASAPP customer identifier while using the asapp system. This identifier may represent either a rep or a customer. Use the the internal_user_session_type field to determine which type the identifier represents.1230042018-11-26 00:00:002018-12-06 00:00:00no
internal_user_session_typevarchar(255)The customer ASAPP session type.customer2018-11-26 00:00:002018-11-26 00:00:00no
external_session_idcharacter varying(255)Client-provided session identifier passed to the SDK during chat initialization.062906ff-3821-4b5d-9443-ed4fecbda1292018-11-26 00:00:002020-10-24 00:00:00no
external_session_typecharacter varying(255)Client-provided session type passed to the SDK during chat initialization.visitID2018-11-26 00:00:002020-10-24 00:00:00no
external_user_idvarchar(255)Customer identifier provided by the client, available if the customer is authenticated.MjU0ZTRiMDQyNDVlNTcyNWNlOTljNmI1NDc2NWQzNzdmNmJmZTFjZDgyY2IwMzc3MDkwZDI5YmQwZDlkODJhNA==2018-11-26 00:00:002020-10-24 00:00:00no
external_user_typevarchar(255)The type of external user identifier.acme_CUSTOMER_ACCOUNT_ID2018-11-26 00:00:002020-10-24 00:00:00no
external_issue_idcharacter varying(255)Client-provided issue identifier passed to the SDK (currently unused).2018-11-26 00:00:002020-10-24 00:00:00no
external_channelcharacter varying(255)Client-provided customer channel passed to the SDK (currently unused).2018-11-26 00:00:002020-10-24 00:00:00no
customer_idbigintAn ASAPP customer identifier.14700012018-11-26 00:00:002018-11-26 00:00:00no
escalated_to_chatbigint1 if an issue escalated to live chat, 0 if not12018-11-26 00:00:002018-11-26 00:00:00no
platformvarchar(255)The consumer platform in use.ios, android, web, voice2018-11-26 00:00:002018-11-26 00:00:00no
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknown2019-06-17 00:00:002019-06-17 00:00:00no
first_agent_idvarchar(191)deprecated: 2019-09-251230082018-11-26 00:00:002018-11-26 00:00:00no
last_agent_idvarchar(191)deprecated: 2019-09-251230082018-11-26 00:00:002018-11-26 00:00:00no
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-11-26 00:00:002018-11-26 00:00:00no
assigned_to_rep_timetimestampTimestamp when the issue was first assigned to a rep, if applicable.2018-09-05 19:58:06T16:14:57.289000+00:002018-11-26 00:00:002018-11-26 00:00:00no
disposition_event_typevarchar(255)Event type indicating how the conversation ended.resolved, unresolved, timeout2018-11-26 00:00:002018-11-26 00:00:00no
disposition_tstimestampTimestamp when the rep exited the issue or conversation.2018-09-05 19:58:06T16:14:57.289000+00:002018-11-26 00:00:002018-11-26 00:00:00no
termination_event_typevarchar(255)Event type indicating the reason for conversation termination.customer, agent, autoend2018-11-26 00:00:002018-11-26 00:00:00no
disposition_notestextNotes added by the last rep after marking the chat as completed.”The customer wanted to pay his bill. We successfully processed his payment.”2018-11-26 00:00:002018-11-26 00:00:00no
ended_resolvedintegerIndicator (1 or 0) for whether the rep marked the conversation as resolved.1, 02019-04-30 00:00:002019-05-01 00:00:00no
ended_unresolvedintegerIndicator (1 or 0) for whether the rep marked the conversation as unresolved.0, 12019-04-30 00:00:002019-05-01 00:00:00no
ended_timeoutintegerIndicator (1 or 0) for whether the customer abandoned or timed out of the chat.0, 12019-04-30 00:00:002019-04-30 00:00:00no
ended_autointegerIndicator (1 or 0) for whether the issue was auto-ended without rep disposition.0, 12019-04-30 00:00:002019-05-01 00:00:00no
ended_otherintegerIndicator (1 or 0) for whether the customer or rep terminated the issue without rep disposition.0, 12019-04-30 00:00:002019-05-01 00:00:00no
app_version_asappvarchar(255)ASAPP API version used during customer event or request.com.asapp.api_api:-b393f2d920bb74ce5bbc4174ac5748acff6e86432018-11-26 00:00:002018-11-26 00:00:00no
app_version_clientvarchar(255)ASAPP SDK version used during customer event or request.web-sdk-4.0.22018-11-26 00:00:002018-11-26 00:00:00no
session_metadatacharacter varying(65535)Additional metadata information about the session, provided by the client.2018-11-26 00:00:002018-11-26 00:00:00no
last_sequence_idintegerLast sequence identifier associated with the issue.252019-01-11 00:00:002019-01-11 00:00:00no
issue_queue_idvarchar(255)Queue identifier associated with the issue.20012019-01-11 00:00:002019-01-11 00:00:00no
issue_queue_namevarchar(255)Queue name associated with the issue.acme-mobile-english2019-01-11 00:00:002019-01-11 00:00:00no
csat_ratingdouble precisionCustomer Satisfaction (CSAT) rating for the issue.400.02019-01-11 00:00:002019-01-11 00:00:00no
sentiment_valencecharacter varying(50)Sentiment of the issue.Neutral, Negative2019-01-11 00:00:002019-01-11 00:00:00no
deep_link_queuecharacter varying(65535)Deeplink queued for the issue.2019-01-11 00:00:002019-01-11 00:00:00no
end_srs_selectioncharacter varying(65535)User selected button option at the end of the session.2019-01-11 00:00:002019-01-11 00:00:00no
trigger_linkVARCHARdeprecated: 2020-04-25 aliases: current_page_url2018-11-26 00:00:002018-11-26 00:00:00no
auth_statevarchar(3)Flag indicating if the user is authenticated.0, 12018-11-26 00:00:002018-11-26 00:00:00no
auth_external_token_idcharacter varying(65535)A client provided field. Encrypted user ID from client system associated with the first authentication event for an issue.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-17 00:00:00no
auth_sourcecharacter varying(65535)The source of the first authentication event for an issue.ivr-url2019-05-15 00:00:002019-05-17 00:00:00no
auth_external_user_typecharacter varying(65535)An external user type of the first authentication event for an issue.ACME_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-17 00:00:00no
auth_external_user_idcharacter varying(65535)External user ID provided by the client for the first authentication event.9BE62CCD564D6982FF305DEBCEAABBB52019-05-15 00:00:002019-07-16 00:00:00no
is_review_requiredbooleanFlag indicates whether an admin must review this issue. data type: booleantrue, false2019-07-24 00:00:002019-07-24 00:00:00no
mid_issue_auth_tstimestamp without time zoneTime when the user authenticates during the middle of an issue.2020-01-18T03:43:41.414000+00:002019-07-24 00:00:002019-07-24 00:00:00no
first_rep_idvarchar(191)Identifier for the first rep involved with the issue.600012019-09-26 00:00:002019-09-26 00:00:00no
last_rep_idvarchar(191)Identifier for the last rep involved with the issue.600012019-09-26 00:00:002019-09-26 00:00:00no
external_rep_idvarchar(255)Client-provided identifier for the rep.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-09-26 00:00:002019-09-26 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
first_voice_customer_statevarchar(255)Initial state assigned to the customer when using voice.IDENTIFIED, VERIFIED2019-11-21 00:00:002019-11-21 00:00:00no
first_voice_customer_state_tstimestampTimestamp when the customer was first assigned a state.2020-01-18T03:43:41.414000+00:002019-11-21 00:00:002019-11-21 00:00:00no
first_voice_identified_customer_state_tstimestampTime when the customer was first assigned an IDENTIFIED state.2020-01-18T03:43:41.414000+00:002019-11-21 00:00:002019-11-21 00:00:00no
first_voice_verified_customer_state_tstimestampTime when the customer was first assigned an VERIFIED state.2020-01-18T03:43:41.414000+00:002019-11-21 00:00:002019-11-21 00:00:00no
merged_tstimestampTime when the issue was merged into another issue. data type: timestamp2020-01-18T03:43:41.414000+00:002019-12-28 00:00:002019-12-28 00:00:00no
desk_mode_flagbigintBitmap encodes if agent handled voice-issue ASAPP desk, had engagement with ASAPP desk. bitmap: 0: null, 1: ‘VOICE’, 2: ‘DESK’, 4: ‘ENGAGEMENT’, 8: ‘INACTIVITY’ NULL for non voice issues0, 1, 2, 5, 72020-02-19 00:00:002020-02-19 00:00:00no
desk_mode_stringvarchar(191)Decodes the desk_mode flag. Current possible values (Null, ‘VOICE’, ‘VOICE_DESK’, ‘VOICE_DESK_ENGAGEMENT’,‘VOICE_INACTIVITY’). NULL for non voice issues.VOICE_DESK2020-02-19 00:00:002020-02-19 00:00:00no
current_page_urlvarchar(2000)URL link (stripped of parameters) that triggered the start chat event. Only applicable for WEB platforms. aliases: trigger_linkhttps:www.acme.corp/billing/viewbill2020-04-25 00:00:002020-04-25 00:00:00no
raw_current_page_urlFull URL link (including parameters) that triggered the chat event. Only applicable for WEB platforms. aliases: raw_trigger_link2020-04-25 00:00:002020-04-25 00:00:00no

Table: convos_metrics

The convos_metrics table contains counts of various metrics associated with an issue/conversation(e.g. “attempted to chat”, “assisted”). The table contains data associated with an issue during a given 15 minute window. The convos_metrics table will include unended conversation data.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-06 00:00:002018-11-06 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-06 00:00:002018-11-06 00:00:00no
first_utterance_tstimestampTime of the first customer message in the conversation.2019-05-16T02:47:13+00:002018-11-06 00:00:002018-11-06 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-11-06 00:00:002018-11-14 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-06 00:00:002018-11-06 00:00:00no
platformvarchar(255)The platform which was used by the customer for a particular event or request (web, ios, android, applebiz, voice).web, ios, android, applebiz, voice2018-11-06 00:00:002018-11-06 00:00:00no
device_typevarchar(255)Last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknown2019-06-18 00:00:002019-06-18 00:00:00no
assistedtinyint(1)Flag indicates whether a rep was assigned and responded to the issue (1 if yes, 0 if no).0, 12018-11-06 00:00:002018-11-06 00:00:00no
total_handle_timedoubleTotal time in seconds that reps spent handling the issue, from assignment to disposition.168.0932019-03-05 00:00:002019-03-05 00:00:00no
total_lead_timedoubleTotal time in seconds the customer spent interacting during the conversation, from assignment to last utterance.163.2222018-11-06 00:00:002019-03-05 00:00:00no
total_wrap_up_timedoubleTotal time in seconds spent by reps wrapping up the conversation, calculated as the difference between handle and lead time.4.8712018-11-06 00:00:002019-03-05 00:00:00no
total_session_timedoubleTotal time the customer spent seeking resolution, including time in queue and up until the conversation end event.190.879000186920172018-11-06 00:00:002019-03-05 00:00:00no
customer_sent_msgsdoubleThe total number of messages sent by the customer, including typed and tapped messages1, 3, 52018-11-06 00:00:002018-11-06 00:00:00no
agent_sent_msgsdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
auto_generated_msgsbigint(20)The number of messages sent by the AI system.0,22018-11-06 00:00:002018-11-06 00:00:00no
first_rep_response_countbigint(20)The number of first responses by reps, post-assignment. This field will increment if there are transfers and timeouts and then reassigned and a rep answers. This field will NOT increment if a rep is assigned but doesn’t get a chance to answer.0, 12018-11-06 00:00:002018-11-06 00:00:00no
total_seconds_to_first_rep_responsebigint(20)Total time in seconds that passed before the rep responded to the customer.407.56799983978272018-11-06 00:00:002018-11-06 00:00:00no
agent_response_countdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
customer_response_countbigint(20)The total number of responses (excluding messages) sent by the customer.0, 42018-11-06 00:00:002018-11-06 00:00:00no
total_rep_seconds_to_responddoubleTotal time in seconds the rep took to respond to the customer.407.56799983978272018-11-06 00:00:002018-11-06 00:00:00no
total_cust_seconds_to_responddoubleTotal time in seconds the customer took to respond to the rep.65.874000072479252018-11-06 00:00:002018-11-06 00:00:00no
time_in_queuedoubleThe cumulative time in seconds spent in queue, including all re-queues.78.309999942779542018-11-06 00:00:002018-11-06 00:00:00no
auto_suggest_msgsbigint(20)Total time spent by the customer in the queue, including any re-queues.0, 1, 32018-11-06 00:00:002018-11-06 00:00:00no
auto_complete_msgsbigint(20)The number of autocomplete messages sent by a rep.0, 1, 32018-11-06 00:00:002018-11-06 00:00:00no
auto_wait_for_agent_msgsbigintdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
customer_wait_for_agent_msgsbigintdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
attempted_chattinyint(1)TinyInt value indicates if there was an attempt to connect the customer to an rep. A value of 1 if the customer receives an out of business hours message or if a customer was asked to wait for a rep. Also a value of 1 if customer was escalated to chat. deprecation-date: 2020-04-14 expected-eol-date: 2021-10-150, 12018-11-06 00:00:002019-07-26 00:00:00no
out_business_ctbigintThe number of times that a customer received an out of business hours message.0, 22018-11-06 00:00:002019-04-23 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
rep_sent_msgsbigint(20)The number of messages a rep sent.0, 6, 72019-09-27 00:00:002019-09-27 00:00:00no
rep_response_countbigint(20)The count of responses (not messages) sent by the reps. (Note: A FAQ or send-to-flow should count as a response, since from the perspective of the customer they are getting a response of some kind.)0, 5, 62019-09-27 00:00:002019-09-27 00:00:00no
auto_wait_for_rep_msgsbigint(20)The number of times a user was asked to wait for a rep.0, 1, 22019-09-27 00:00:002019-09-27 00:00:00no
customer_wait_for_rep_msgsbigint(20)The number of times a user asked to speak with a rep.0, 12019-09-27 00:00:002019-09-27 00:00:00no
hold_ctbigintThe number of times the customer was placed on hold. This applies to VOICE only.0, 1, 22019-11-08 00:00:002019-11-08 00:00:00no
total_hold_time_secondsfloatThe total amount of time in seconds that the customer was placed on hold. This applies to VOICE only.180.46399950981142019-11-08 00:00:002019-11-08 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: convos_metrics_ended

The convos_metrics table contains counts of various metrics associated with an issue/conversation(e.g. “attempted to chat”, “assisted”). The table contains data associated with an issue during a given 15 minute window. This table will filter out unended conversations and issues with no activity.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-06 00:00:002018-11-06 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-06 00:00:002018-11-06 00:00:00no
first_utterance_tstimestampTime of the first customer message in the conversation.2018-09-05 19:58:062018-11-06 00:00:002018-11-06 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-11-06 00:00:002018-11-06 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-06 00:00:002018-11-06 00:00:00no
platformvarchar(255)The platform which was used by the customer for a particular event or request (web, ios, android, applebiz, voice).web, ios, android, applebiz, voice2018-11-06 00:00:002018-11-06 00:00:00no
device_typevarchar(255)The last device type used by the customer.mobile, tablet, desktop, watch, unknown2019-06-18 00:00:002019-06-18 00:00:00no
assistedtinyint(1)Flag indicates whether a rep was assigned and responded to the issue (1 if yes, 0 if no).0,12018-11-06 00:00:002018-11-06 00:00:00no
total_handle_timedoubleTotal time in seconds that reps spent handling the issue, from assignment to disposition.718.9682019-03-05 00:00:002019-03-05 00:00:00no
total_lead_timedoubleTotal time in seconds the customer spent interacting during the conversation, from assignment to last utterance.715.6272018-11-06 00:00:002019-03-05 00:00:00no
total_wrap_up_timedoubleTotal time in seconds spent by reps wrapping up the conversation, calculated as the difference between handle and lead time.27.5832018-11-06 00:00:002019-03-05 00:00:00no
total_session_timedoubleTotal time the customer spent seeking resolution, including time in queue and up until the conversation end event.1441.03299999237062018-11-06 00:00:002019-03-05 00:00:00no
customer_sent_msgsdoubleThe total number of messages sent by the customer, including typed and tapped messages2, 12018-11-06 00:00:002018-11-06 00:00:00no
agent_sent_msgsdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
auto_generated_msgsbigint(20)The number of messages sent by SRS.5, 32018-11-06 00:00:002018-11-06 00:00:00no
first_rep_response_countbigint(20)The number of first responses by reps, post-assignment. This field will increment if there are transfers and timeouts and then reassigned and a rep answers. This field will NOT increment if a rep is assigned but doesn’t get a chance to answer.0, 12018-11-06 00:00:002018-11-06 00:00:00no
total_seconds_to_first_rep_responsebigint(20)Total time in seconds that passed before the rep responded to the customer.4.2910001277923582018-11-06 00:00:002018-11-06 00:00:00no
agent_response_countdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
customer_response_countbigint(20)The total number of responses (excluding messages) sent by the customer.3, 0, 82018-11-06 00:00:002018-11-06 00:00:00no
total_rep_seconds_to_responddoubleTotal time in seconds the rep took to respond to the customer.240.284999608993532018-11-06 00:00:002018-11-06 00:00:00no
total_cust_seconds_to_responddoubleTotal time in seconds the customer took to respond to the rep.227.271000146865842018-11-06 00:00:002018-11-06 00:00:00no
time_in_queuedoubleTotal time spent by the customer in the queue, including any re-queues.71.744999885559082018-11-06 00:00:002018-11-06 00:00:00no
auto_suggest_msgsbigint(20)The number of autosuggest messages sent by rep.0, 3, 42018-11-06 00:00:002018-11-06 00:00:00no
auto_complete_msgsbigint(20)The number of autocomplete messages sent by rep.0, 1, 22018-11-06 00:00:002018-11-06 00:00:00no
auto_wait_for_agent_msgsbigintdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
customer_wait_for_agent_msgsbigintdeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
attempted_chattinyint(1)A binary value of 1 indicates if there was an attempt to connect the customer to a rep. Also if a customer receives an out of business hours message or if customer was asked to wait for a rep or was escalated to chat. deprecation-date: 2020-04-14 expected-eol-date: 2021-10-150, 12018-11-06 00:00:002019-03-05 00:00:00no
out_business_ctbigintThe number of times that a customer received an out of business hours message.0, 12018-11-06 00:00:002019-04-23 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
rep_sent_msgsbigint(20)The number of messages a rep sent.0, 4, 72019-09-27 00:00:002019-09-27 00:00:00no
rep_response_countbigint(20)The number of first responses by reps, post-assignment. This field will increment if there are transfers and timeouts and then reassigned and a rep answers. This field will NOT increment if a rep is assigned but doesn’t get a chance to answer.0, 1, 202019-09-27 00:00:002019-09-27 00:00:00no
auto_wait_for_rep_msgsbigint(20)The number of times a user was asked to wait for a rep.0, 3, 42019-09-27 00:00:002019-09-27 00:00:00no
customer_wait_for_rep_msgsbigint(20)The number of times a user asked to speak with a rep.0, 1, 22019-09-27 00:00:002019-09-27 00:00:00no
hold_ctbigintThe number of times the customer was placed on hold. This field applies to VOICE.0, 1, 22019-11-08 00:00:002019-11-08 00:00:00no
total_hold_time_secondsfloatThe total amount of time in seconds that the customer was placed on hold. This field applies to VOICE.53.4722019-11-08 00:00:002019-11-08 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002019-11-01 00:00:00no

Table: convos_summary_tags

The convos_summary_tags table contains information regarding all AI generated auto-summary tags populated by the system when a rep initiates the “end chat” disposition process.

Sync Time: 1h

Unique Condition: company_id, issue_id, summary_tag_presented

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-12-20 00:00:002019-12-20 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-12-20 00:00:002019-12-20 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-12-20 00:00:002019-12-20 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-12-20 00:00:002019-12-20 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-12-20 00:00:002019-12-20 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-12-20 00:00:002019-12-20 00:00:00no
queue_idintegerThe identifier of the group to which the rep (who dispositioned the issue) belongs.200012019-12-20 00:00:002019-12-20 00:00:00no
queue_namevarchar(255)The name of the group to which the rep (who dispositioned the issue) belongs.acme-mobile-english2019-12-20 00:00:002019-12-20 00:00:00no
disposition_tstimestampThe time at which the rep dispositioned this issue (Exits the screen/frees up a slot).2020-01-18T00:21:41.423000+00:002019-12-20 00:00:002019-12-20 00:00:00no
summary_tag_presentedcharacter varying(65535)The name of the auto-summary tag populated by the system when a rep ends an issue. The value is an empty string if no tag was populated but the rep.’(customer)-(cancel)-(phone)’, ‘(rep)-(add)-(account)‘2019-12-20 00:00:002019-12-20 00:00:00no
summary_tag_selected_boolbooleanBoolean field returns true if a rep selects the summary_tag_presented.false, true2019-12-20 00:00:002019-12-20 00:00:00no
disposition_notestextNotes that the rep took when dispositioning the chat. Can be generated from free text or the chat summary tags.‘no response from customer’, ‘edu cust on activation handling porting requests’2019-12-20 00:00:002019-12-20 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-12-20 00:00:002019-12-20 00:00:00no

Table: csid_containment

The csid_containment table tracks and organizes customer interactions by associating them with a unique session identifier (csid) with 30min window timeframe. It consolidates data related to customer sessions, including associated issue_ids, session durations, and indicators of containment success. Containment success measures whether an issue was resolved within a session without escalation. This table is critical for analyzing customer interaction patterns, evaluating the effectiveness of issue resolution processes, and identifying areas for improvement.

Sync Time: 1h

Unique Condition: csid, company_name

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-11-06 00:00:002018-11-06 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012018-11-06 00:00:002018-11-06 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-06 00:00:002018-11-06 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-06 00:00:002018-11-06 00:00:00no
customer_idbigintThe customer identifier on which this session is based, after merge if applicable.1230082018-11-06 00:00:002018-11-07 00:00:00no
external_customer_idvarchar(255)The customer identifier as provided by the client.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-11-06 00:00:002018-11-06 00:00:00no
csidvarchar(255)Unique identifier for a continuous period of activity for a given customer, starting at the specified timestamp.‘24790001_2018-09-24T22:17:41.341’2018-11-06 00:00:002018-11-06 00:00:00no
csid_start_tstimestamp without time zoneThe start time of the customer’s session.2019-12-23T16:00:10.072000+00:002018-11-06 00:00:002018-11-06 00:00:00no
csid_end_tstimestamp without time zoneThe end time of the active session.2019-12-23T16:00:10.072000+00:002018-11-06 00:00:002018-11-06 00:00:00no
agents_involveddeprecated: 2019-09-252018-11-06 00:00:002018-11-06 00:00:00no
included_issuescharacter varying(65535)Pipe-delimited list of issues involved in this period of customer activity.‘204497000120450000012045010001’2018-11-06 00:00:002018-11-06 00:00:00no
is_containedbooleanFlag indicating whether reps were involved with any issues during this csid.true, false2018-11-06 00:00:002018-11-06 00:00:00no
event_countbigintThe number of customer (only) events active during this csid.212018-11-06 00:00:002018-11-06 00:00:00no
fgsrs_event_countbigintThe number of FGSRS events during this csid.52019-08-30 00:00:002019-08-30 00:00:00no
was_enqueuedbooleanFlag indicating if enqueued events existed for this session.true, false2018-11-06 00:00:002018-11-06 00:00:00no
rep_msgsbigintCount of text messages sent by reps during this csid.62018-11-06 00:00:002018-11-06 00:00:00no
messages_sentbigintNumber of text messages typed or quick replies clicked by the customer during this csid.42018-11-06 00:00:002018-11-06 00:00:00no
has_customer_utterancebooleanFlag indicating if the csid contains customer messages.true, false2018-11-06 00:00:002018-11-06 00:00:00no
attempted_escalatebooleanA boolean value indicating if the customer or flow tried (or succeeded) to reach a rep.false, true2018-11-06 00:00:002018-11-06 00:00:00no
last_platformVARCHAR(191)Flag indicating if the customer or flow attempted or succeeded in reaching a rep.ANDROID, WEB, IOS2018-11-06 00:00:002018-11-06 00:00:00no
last_device_typeVARCHAR(191)Last device type used by the customermobile, tablet, desktop, watch, unknown2019-06-18 00:00:002019-06-18 00:00:00no
first_auth_sourcecharacter varying(65535)First source of the authentication event for a csid.ivr-url2019-05-15 00:00:002019-05-15 00:00:00no
last_auth_sourcecharacter varying(65535)Last source of the authentication event for a csid.ivr-url2019-05-15 00:00:002019-05-15 00:00:00no
distinct_auth_source_pathcharacter varying(65535)Comma-separated list of all distinct authentication event sources for the csid.ivr-url, facebook2019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_user_typecharacter varying(65535)The first external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_user_typecharacter varying(65535)The last external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_user_idcharacter varying(65535)Client-provided field for the first external user ID linked to an authentication event.64b0959a65a63dec32e1be04fe755be12019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_user_idcharacter varying(65535)Client-provided field for the last external user ID linked to an authentication event.64b0959a65a63dec32e1be04fe755be12019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_token_idcharacter varying(65535)A client provided field. The first encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_token_idcharacter varying(65535)A client provided field. The last encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-15 00:00:00no
reps_involvedvarchar(4096)Pipe-delimited list of reps associated with any issues during this session.‘2090002020001’2018-11-06 00:00:002018-11-06 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: csid_containment_1d

The csid_containment table tracks and organizes customer interactions by associating them with a unique session identifier (csid) with 24 hours of window timeframe. It consolidates data related to customer sessions, including associated issue_ids, session durations, and indicators of containment success. Containment success measures whether an issue was resolved within a session without escalation. This table is critical for analyzing customer interaction patterns, evaluating the effectiveness of issue resolution processes, and identifying areas for improvement.

Sync Time: 1h

Unique Condition: csid, company_name

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-01-15 00:00:002018-01-15 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012018-01-15 00:00:002018-01-15 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-01-15 00:00:002018-01-15 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-01-15 00:00:002018-01-15 00:00:00no
customer_idbigintThe customer identifier on which this session is based, after merge if applicable.1230082018-01-15 00:00:002018-11-07 00:00:00no
external_customer_idvarchar(255)The customer identifier as provided by the client.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-01-15 00:00:002018-01-15 00:00:00no
csidvarchar(255)Unique identifier for a continuous period of activity for a given customer, starting at the specified timestamp.‘24790001_2018-09-24T22:17:41.341’2018-01-15 00:00:002018-01-15 00:00:00no
csid_start_tstimestamp without time zoneThe start time of the customer’s session.2019-12-23T16:00:10.072000+00:002018-01-15 00:00:002018-01-15 00:00:00no
csid_end_tstimestamp without time zoneThe end time of the active session.2019-12-23T16:00:10.072000+00:002018-01-15 00:00:002018-01-15 00:00:00no
agents_involveddeprecated: 2019-09-252018-01-15 00:00:002018-01-15 00:00:00no
included_issuescharacter varying(65535)Pipe-delimited list of issues involved in this period of customer activity.‘204497000120450000012045010001’2018-01-15 00:00:002018-01-15 00:00:00no
is_containedbooleanFlag indicating whether reps were involved with any issues during this csid.true, false2018-01-15 00:00:002018-01-15 00:00:00no
event_countbigintThe number of customer (only) events active during this csid.212018-01-15 00:00:002018-01-15 00:00:00no
fgsrs_event_countbigintThe number of FGSRS events during this csid.52019-08-30 00:00:002019-08-30 00:00:00no
was_enqueuedbooleanFlag indicating if enqueued events existed for this session.true, false2018-01-15 00:00:002018-01-15 00:00:00no
rep_msgsbigintCount of text messages sent by reps during this csid.62018-01-15 00:00:002018-01-15 00:00:00no
messages_sentbigintNumber of text messages typed or quick replies clicked by the customer during this csid.42018-01-15 00:00:002018-01-15 00:00:00no
has_customer_utterancebooleanFlag indicating if the csid contains customer messages.true, false2018-01-15 00:00:002018-01-15 00:00:00no
attempted_escalatebooleanA boolean value indicating if the customer or flow tried (or succeeded) to reach a rep.false, true2018-01-15 00:00:002018-01-15 00:00:00no
last_platformVARCHAR(191)Flag indicating if the customer or flow attempted or succeeded in reaching a rep.ANDROID, WEB, IOS2018-01-15 00:00:002018-01-15 00:00:00no
last_device_typeVARCHAR(191)Last device type used by the customermobile, tablet, desktop, watch, unknown2019-06-18 00:00:002019-06-18 00:00:00no
first_auth_sourcecharacter varying(65535)First source of the authentication event for a csid.ivr-url2019-05-15 00:00:002019-05-15 00:00:00no
last_auth_sourcecharacter varying(65535)Last source of the authentication event for a csid.ivr-url2019-05-15 00:00:002019-05-15 00:00:00no
distinct_auth_source_pathcharacter varying(65535)Comma-separated list of all distinct authentication event sources for the csid.ivr-url, facebook2019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_user_typecharacter varying(65535)The first external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_user_typecharacter varying(65535)The last external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_ID2019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_user_idcharacter varying(65535)Client-provided field for the first external user ID linked to an authentication event.64b0959a65a63dec32e1be04fe755be12019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_user_idcharacter varying(65535)Client-provided field for the last external user ID linked to an authentication event.64b0959a65a63dec32e1be04fe755be12019-05-15 00:00:002019-05-15 00:00:00no
first_auth_external_token_idcharacter varying(65535)A client provided field. The first encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-15 00:00:00no
last_auth_external_token_idcharacter varying(65535)A client provided field. The last encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED6401622019-05-15 00:00:002019-05-15 00:00:00no
reps_involvedvarchar(4096)Pipe-delimited list of reps associated with any issues during this session.‘2090002020001’2018-01-15 00:00:002018-01-15 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: customer_feedback

The customer_feedback table contains the feedback regarding how well their issue was resolved. This table contains columns such as the feedback question prompted at issue completion, the customer response and the last rep identifier which was associated with an issue_id.

Sync Time: 1d

Unique Condition: issue_id, company_marker, last_rep_id, question, instance_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-08-14 00:00:002018-08-14 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-08-14 00:00:002018-08-14 00:00:00no
last_agent_idvarchar(191)deprecated: 2019-09-251230082018-08-14 00:00:002018-08-14 00:00:00no
questioncharacter varying(65535)Question presented to the user.VOC Score, endSRS rating, What did the agent do well, or what could the agent have done better? (1000 character limit)2018-08-14 00:00:002018-08-14 00:00:00no
question_categorycharacter varying(65535)The question category type.rating, comment, levelOfEffort2018-08-14 00:00:002018-08-14 00:00:00no
question_typecharacter varying(65535)The type of question.rating, scale, radio2018-08-14 00:00:002018-08-14 00:00:00no
answercharacter varying(65535)The customer’s answer to the question.0, 1, 17, yes2018-08-14 00:00:002018-08-14 00:00:00no
orderingintegerThe sequence or order of the question.0, 1, 3, 52018-08-14 00:00:002018-08-14 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
last_rep_idvarchar(191)The last ASAPP rep/agent identifier found in a window of time.1230082019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2021-09-10 00:00:002021-09-10 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2021-09-10 00:00:002021-09-10 00:00:00no
platformvarchar(255)The platform which was used by the customer for a particular event or request (web, ios, android, applebiz, voice).web, ios, android, applebiz, voice2021-09-10 00:00:002021-09-10 00:00:00no
feedback_typecharacter varying(65535)The classification of feedback provided by the customer.FEEDBACK_AGENT, etc2021-09-10 00:00:002021-09-10 00:00:00no
feedback_form_typecharacter varying(65535)Indicates the type of feedback form completed by the customer.ASAPP_CSAT, GBM2021-09-10 00:00:002021-09-10 00:00:00no

Table: customer_params

The customer_params table contains information which the client sends to ASAPP. The table may have multiple rows associated with one issue_id. Clients specify the information to store using a JSON entry which may contain multiple semicolon separated (key, value) pairs.

Sync Time: 1d

Unique Condition: event_id, param_key

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-01-25 00:00:002019-01-25 00:00:00no
event_tstimestampThe time at which this event was fired.2019-11-08 14:00:06.957000+00:002019-01-25 00:00:002019-01-25 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-01-25 00:00:002019-01-25 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-01-25 00:00:002019-01-25 00:00:00no
company_subdivisionvarchar(255)The subdivision of the company.ACMEsubcorp2019-01-25 00:00:002019-01-25 00:00:00no
company_segmentsvarchar(255)The segments of the company.marketing,promotions2019-01-25 00:00:002019-01-25 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082019-01-25 00:00:002019-01-25 00:00:00no
rep_idvarchar(191)deprecated: 2022-06-301230082019-01-25 00:00:002019-01-25 00:00:00no
referring_page_urlcharacter varying(65535)The URL of the page the user navigated from.https://www.acme.com/wireless2019-01-25 00:00:002019-01-25 00:00:00no
event_idcharacter varying(256)A unique identifier for the event within the customer parameter payload.2019-07-29 00:00:002019-07-29 00:00:00no
platformvarchar(255)The platform the customer is using to interact with ASAPP.08679ded-38b7-11ea-9c44-debfe2011fef2019-07-29 00:00:002019-07-29 00:00:00no
session_idvarchar(128)The websocket UUID associated with the current request’s session.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-07-29 00:00:002019-07-29 00:00:00no
auth_statebooleanFlag indicating if the user is authenticated.true, false2019-07-29 00:00:002019-07-29 00:00:00no
paramscharacter varying(65535)A string representation of the JSON parameters.{"Key1":"Value1"; "Key2":"Value2"}2019-01-25 00:00:002019-01-25 00:00:00no
param_keycharacter varying(255)A value of a specific key within the parameter JSON.Key12019-01-25 00:00:002019-01-25 00:00:00no
param_valuecharacter varying(65535)The value corresponding with the specific key in param_key.Value12019-01-25 00:00:002019-01-25 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
current_page_urlvarchar(2000)The URL of the page where the customer initiated the ASAPP chat.https://www.asapp.com2021-09-16 00:00:002021-09-16 00:00:00no

Table: customer_params_hourly

The customer_params table contains information which the client sends to ASAPP. The table may have multiple rows associated with one issue_id. Clients specify the information to store using a JSON entry which may contain multiple semicolon separated (key, value) pairs.

Sync Time: 1h

Unique Condition: event_id, param_key

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-01-25 00:00:002019-01-25 00:00:00no
event_tstimestampThe time at which this event was fired.2019-11-08 14:00:06.957000+00:002019-01-25 00:00:002019-01-25 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-01-25 00:00:002019-01-25 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-01-25 00:00:002019-01-25 00:00:00no
company_subdivisionvarchar(255)The subdivision of the company.ACMEsubcorp2019-01-25 00:00:002019-01-25 00:00:00no
company_segmentsvarchar(255)The segments of the company.marketing,promotions2019-01-25 00:00:002019-01-25 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082019-01-25 00:00:002019-01-25 00:00:00no
rep_idvarchar(191)deprecated: 2022-06-301230082019-01-25 00:00:002019-01-25 00:00:00no
referring_page_urlcharacter varying(65535)The URL of the page the user navigated from.https://www.acme.com/wireless2019-01-25 00:00:002019-01-25 00:00:00no
event_idcharacter varying(256)A unique identifier for the event within the customer parameter payload.2019-07-29 00:00:002019-07-29 00:00:00no
platformvarchar(255)The platform the customer is using to interact with ASAPP.08679ded-38b7-11ea-9c44-debfe2011fef2019-07-29 00:00:002019-07-29 00:00:00no
session_idvarchar(128)The websocket UUID associated with the current request’s session.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-07-29 00:00:002019-07-29 00:00:00no
auth_statebooleanFlag indicating if the user is authenticated.true, false2019-07-29 00:00:002019-07-29 00:00:00no
paramscharacter varying(65535)A string representation of the JSON parameters.{"Key1":"Value1"; "Key2":"Value2"}2019-01-25 00:00:002019-01-25 00:00:00no
param_keycharacter varying(255)A value of a specific key within the parameter JSON.Key12019-01-25 00:00:002019-01-25 00:00:00no
param_valuecharacter varying(65535)The value corresponding with the specific key in param_key.Value12019-01-25 00:00:002019-01-25 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
current_page_urlvarchar(2000)The URL of the page where the customer initiated the ASAPP chat.https://www.asapp.com2021-09-16 00:00:002021-09-16 00:00:00no

Table: dim_queues

The dim_queues table creates a mapping of queue_id to queue_name. This is an hourly snapshot of information.

Sync Time: 1h

Unique Condition: queue_key

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_idbigintDEPRECATED 2024-03-25100012022-01-27 00:00:002022-01-27 00:00:00no
queue_keybigintNumeric primary key for dim queues1000012022-01-27 00:00:002022-01-27 00:00:00no
queue_idintegerThe ASAPP queue identifier which the issue was placed.2100012022-01-27 00:00:002022-01-27 00:00:00no
queue_namevarchar(255)Name of the queue.Voice2022-01-27 00:00:002022-01-27 00:00:00no

Table: flow_completions

The purpose of this table is to list the flow success information, any negation data, and other associated metadata for all issues. This table provides insights into the success or failure of any issue. Flow Success refers to the successful completion of a predefined process or interaction flow without interruptions, errors, or escalations, as determined by specific business logic.

Sync Time: 1h

Unique Condition: company_id, issue_id, flow_name, flow_status_ts, success_event_details

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
conversation_idbigintdeprecated: 2019-09-25213523522018-11-14 00:00:002019-09-12 00:00:00nono
company_idbigintDEPRECATED 2024-03-25100012018-11-14 00:00:002018-11-14 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-14 00:00:002018-11-14 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-14 00:00:002018-11-14 00:00:00no
platformvarchar(255)The customer’s platform.web, ios, android, applebiz, voice2018-11-14 00:00:002018-11-14 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-14 00:00:002018-11-14 00:00:00no
external_user_idvarchar(255)Client-provided identifier for customer, Available if the customer is authenticated.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-11-14 00:00:002018-11-14 00:00:00no
customer_session_idcharacter varying(65535)The ASAPP application session identifier for this customer.c5d7afcc-89b9-43cc-90e2-b869bb2be8832018-11-14 00:00:002018-11-14 00:00:00no
success_rule_idcharacter varying(256)The tag denoting whether the flow was successful within this issue.LINK_RESOLVED, TOOLING_SUCCESS2018-11-14 00:00:002018-11-14 00:00:00no
success_event_detailscharacter varying(65535)Any additional metadata about this success rule.asapp-pil://acme/grande-shop, EndSRSPositiveMessage2018-11-14 00:00:002018-11-14 00:00:00no
success_event_tstimestamp without time zoneThe time at which the flow success occurred.2019-12-03T01:43:17.079000+00:002018-11-14 00:00:002018-11-14 00:00:00no
negation_rule_idcharacter varying(256)The tag denoting the last negation event that reverted a previous success.TOOLING_NEGATION, NEG_QUESTION_NOT_ANSWERED2018-11-14 00:00:002018-11-14 00:00:00no
negation_event_tstimestamp without time zoneThe time at which this negation occurred.2019-12-03T01:49:19.875000+00:002018-11-14 00:00:002018-11-14 00:00:00no
is_flow_success_eventbooleanTrue if this event was not negated directly, false otherwise.true, false2018-11-14 00:00:002018-11-14 00:00:00no
is_flow_success_issuebooleanTrue if a success event occurred within this issue and no negation event occurred within this issue, false otherwise.true, false2018-11-14 00:00:002018-11-14 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002019-11-01 00:00:00no
last_relevant_event_tsTimestamp of the most recent relevant event (success or negation) detected for this issue, useful for deduplication.2020-01-02T19:13:27.698000+00:002019-12-10 00:00:002019-12-10 00:00:00no

Table: flow_detail

The purpose of the flow_detail table is to list out the data associated with each node traversed during an issue lifespan. A usage of this table is to understand the path a particular issue traversed trhough a flow node by node.

Sync Time: 1h

Unique Condition: event_ts, issue_id, event_type

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
event_tstimestampThe time of an given event. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-08-14 00:00:002018-08-14 00:00:00no
event_typevarchar(191)The type of event within a given flow.MESSAGE_DISPLAYED2018-08-14 00:00:002018-08-14 00:00:00nono
conversation_idbigintdeprecated: 2019-09-25213523522018-08-14 00:00:002018-08-27 00:00:00nono
session_idvarchar(128)The ASAPP session identifier. It is a uuid generated by the chat backend. Note: a session may contain several conversations.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-08-14 00:00:002018-08-14 00:00:00no
flow_idvarchar(255)An ASAPP identifier assigned to a particular flow executed during a customer event or request.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-08-14 00:00:002018-08-14 00:00:00no
flow_namevarchar(255)The ASAPP text name for a given flow which was executed during a customer event or request.FirstChatMessage, AccountNumberFlow2018-08-14 00:00:002018-08-14 00:00:00no
event_namecharacter varying(65535)The event name within a given flow.FirstChatMessage, SuccessfulPaymentNode2018-08-14 00:00:002018-08-14 00:00:00nono
link_resolved_pilcharacter varying(65535)An asapp internal URI for the link.asapp-pil://acme/bill-history2018-08-14 00:00:002018-08-14 00:00:00nono
link_resolved_pdlcharacter varying(65535)The resolved host deep link or web link.https://www.acme.com/BillHistory2018-08-14 00:00:002018-08-14 00:00:00nono
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: intents

The intents table contains a list of intent codes and other information associated with the intent codes. Information in the table includes flow_name and short_description.

Sync Time: 1d

Unique Condition: code

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
codecharacter varying(128)The ASAPP internal code for a given intent.ACCTNUM2018-07-26 00:00:002018-07-26 00:00:00nono
namecharacter varying(256)The user-friendly name associated with an intent.Get account number2018-07-26 00:00:002018-07-26 00:00:00nono
intent_typecharacter varying(128)The hierarchical classification of this intent.SYSTEM, LEAF, PARENT2018-07-26 00:00:002021-11-24 00:00:00nono
short_descriptioncharacter varying(1024)A short description for the intent code.‘Users asking to get their account number.’, ‘Television error codes.‘2018-07-26 00:00:002019-02-12 00:00:00nono
flow_namevarchar(255)The ASAPP flow code attached to this intent code.AccountNumberFlow2018-12-13 00:00:002018-12-13 00:00:00nono
default_disambiguationbooleanTrue if the intents are part of the first “welcome” screen of disambiguation buttons presented to a customer, false otherwise.false, true2018-12-13 00:00:002018-12-13 00:00:00nono
actionscharacter varying(4096)Describes the type of action for the customer interface (e.g., “flow” for forms, “link” for URLs, or “text” for help content). An empty value indicates no specific action or automation.flow, link, test, NULL2018-12-20 00:00:002018-12-20 00:00:00nono
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002021-04-09 00:00:00no
deleted_tsThe date when this intent was removed. If blank or null, the intent is still active as of the export. An intent can be “undeleted” at a later date.NULL, 2018-12-13 01:23:342021-11-23 00:00:002021-11-23 00:00:00nono

Table: issue_callback_3d

The issue_callback table relates issues from the same customer during a three day window. This table will help measure customer callback rate, the rate at which the same customer recontacts within a three day period. The issue_callback table is applicable only to specific clients.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-11-14 00:00:002019-11-14 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-11-14 00:00:002019-11-14 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-11-14 00:00:002019-11-14 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-11-14 00:00:002019-11-14 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-11-14 00:00:002019-11-14 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082019-11-14 00:00:002019-11-14 00:00:00no
issue_created_tstimestampTimestamp when the issue ID is created.2018-09-05 19:58:062019-11-14 00:00:002019-11-14 00:00:00no
issue_disconnect_tstimestamp without time zoneTimestamp when the issue ID is Disconnected.2019-11-14 00:00:002019-11-14 00:00:00no
issue_cutoff_tstimestamp without time zoneThe timestamp when the callback period expires for an issue. This is calculated as 3 days after the issue_disconnect_ts.2019-11-14 00:00:002019-11-14 00:00:00no
next_callback_issue_idbigintThe ID of the next issue created by the same customer. This must occur between issue_disconnect_ts and issue_cutoff_ts. Null if no such issue exists.2019-11-14 00:00:002019-11-14 00:00:00no
next_callback_issue_created_tstimestamp without time zoneTime when the next_callback_issue was created.2019-11-14 00:00:002019-11-14 00:00:00no
time_btwn_next_callback_issue_secondsdouble precisionThe duration in seconds between issue_disconnect_ts and next_callback_issue_created_ts2019-11-14 00:00:002019-11-14 00:00:00no
callback_prev_issue_idbigintThe ID of any previous issue created by the same customer, provided it was disconnected within 3 days of the current issue’s create_ts. Null if no such issue exists.2019-11-14 00:00:002019-11-14 00:00:00no
callback_prev_issue_created_tstimestamp without time zoneThe timestamp when the callback_prev_issue was created.2019-11-14 00:00:002019-11-14 00:00:00no
callback_prev_issue_disconnect_tstimestamp without time zoneThe timestamp when the callback_prev_issue was disconnected.2019-11-14 00:00:002019-11-14 00:00:00no
time_btwn_callback_prev_issue_secondsdouble precisionThe duration in seconds between callback_prev_issue_disconnect_ts and issue_created_ts.2019-11-14 00:00:002019-11-14 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-14 00:00:002019-11-14 00:00:00no

Table: issue_entity_genagent

hourly snapshot of issue grain generative_agent data including both dimensions and metrics aggregated over “all time” (two days in practice).

Sync Time: 1h

Unique Condition: company_marker, issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_namevarchar(255)Name of the company associated with the data.acme2024-11-08 00:00:002024-11-08 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522024-11-08 00:00:002024-11-08 00:00:00no
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_turns__turn_ctintNumber of turns ( one cycle of interaction between Generative Agent and a user)12024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_turns__turn_duration_ms_sumbigintTotal duration in milliseconds between PROCESSING_START and PROCESSING_END across all turns.22024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_turns__utterance_ctintNumber of generative_agent utterances.22024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_turns__contains_escalationbooleanIndicates if any turn in the conversation resulted in an escalation to a human agent.12024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_tasks__first_task_namevarchar(255)Name of the first task initiated by the generative agent.SomethingElse2024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_tasks__last_task_namevarchar(255)Name of the last task initiated by the generative agent.SomethingElse2024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_tasks__task_ctintNumber of tasks entered by generative_agent.22024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_tasks__configuration_idvarchar(255)The configuration version responsible for the actions of the generative agent.4ea5b399-f969-49c6-8318-e2c39a98e8172024-11-08 00:00:002024-11-08 00:00:00no
generative_agent_tasks__used_hilaBoolean representing if the conversation used a HILA escalation. True doesn’t guarantee that there was a HILA response in the conversation.TRUE2024-11-08 00:00:002024-11-08 00:00:00nogenagent_tasks

Table: issue_entry

This table shows data about how a user began an interaction with the sdk by issue

Sync Time: 1h

Unique Condition: company_marker, issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002024-07-01 00:00:002024-07-01 00:00:00no
issue_created_tstimestamptimestamp of the “NEW_ISSUE” event for an issue2018-09-05 19:58:062024-07-01 00:00:002024-07-01 00:00:00no
company_idbigintThe ASAPP identifier of the company or test data source.100012024-07-01 00:00:002024-07-01 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2024-07-01 00:00:002024-07-01 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2024-07-01 00:00:002024-07-01 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522024-07-01 00:00:002024-07-01 00:00:00no
entry_typecharacter varying(384)Initiation source of the first activity for the Issue ID was from a proactive invitation, reactive button click, deep-link ask-secondary-question, etc. examples: PROACTIVE,REACTIVE,ASK,DEEPLINK2024-07-01 00:00:002024-07-01 00:00:00no
treatment_typevarchar(64)Indicates whether proactive messaging is configured to route the customer to an automated flow or a live agent.QUEUE_PAUSED2024-07-01 00:00:002024-07-01 00:00:00no
rule_namecharacter varying(65535)Name of the logical set of criteria met by the customer to trigger a proactive invitation or reactive button display.2024-07-01 00:00:002024-07-01 00:00:00no
is_new_conversationbooleanIndicates whether the issue was created as a new conversation when the customer was not engaged in any ongoing or active issue.2019-11-15 00:00:002019-11-15 00:00:00no
is_new_userbooleanIndicates if this is the first issue from the customer.2019-11-15 00:00:002019-11-15 00:00:00no
current_page_urlvarchar(2000)The URL of the page where the SDK was displayed.https://www.asapp.com2024-07-01 00:00:002024-07-01 00:00:00no
referring_page_urlcharacter varying(65535)The URL of the page that directed the user to the current page.2024-07-01 00:00:002024-07-01 00:00:00no
client_uuidcharacter varying(36)The UUID generated (that only ever lasts fifteen minutes or so) on each fresh sdk cache that can identify a unique human. For internal debbuging, it won’t go to sync (exactly as it comes from the source without any transformation)c3944019-24d3-4887-8794-045cd61d5a222024-07-01 00:00:002021-06-01 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2024-07-01 00:00:002024-07-01 00:00:00no

Table: issue_omnichannel

This table captures omnichannel tracking events related with the different platforms we have. (Initially only ABC)

Sync Time: 1h

Unique Condition: company_id, issue_id, third_party_customer_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002020-06-02 00:00:002020-06-02 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522020-06-02 00:00:002020-06-02 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012020-06-02 00:00:002020-06-02 00:00:00no
omni_sourcecharacter varying(191)The source of the information.‘ABC’2020-06-03 00:00:002020-06-03 00:00:00no
opaque_idvarchar(191)deprecated: 2020-09-11’urn:mbid:XXXXXX’2020-06-03 00:00:002020-11-09 00:00:00no
external_intentcharacter varying(65535)The intention or purpose of the chat as specified by the business, such as account_question. deprecated: 2020-09-11’account_question’2020-06-03 00:00:002020-11-09 00:00:00no
external_groupcharacter varying(65535)Group identifier for the message, as specified by the business, such as department name. deprecated: 2020-09-11’credit_card_department’2020-06-03 00:00:002020-11-09 00:00:00no
first_utterancecharacter varying(191)Captures the text of the first customer statement in an issue.2020-06-03 00:00:002020-06-03 00:00:00no
event_tstimestampdeprecated: 2020-09-112019-11-08 14:00:06.957000+00:002020-06-02 00:00:002020-06-02 00:00:00no
third_party_customer_idcharacter varying(65535)An encrypted identifier which is permanently mapped to an ASAPP customer.‘urn:mbid:XXXXXX’2020-07-23 00:00:002020-07-23 00:00:00no
external_context_1character varying(65535)Provides traffic source or customer context from external platforms, including Apple Business Chat Group ID and Google Business Messaging Entry Point.‘credit_card_department’2020-07-23 00:00:002020-07-23 00:00:00no
external_context_2character varying(65535)Provides additional traffic source or customer context from external platforms, including Apple Business Chat Intent ID and Google Business Messaging Place ID.‘account_question’2020-07-23 00:00:002020-07-23 00:00:00no
created_tstimestampTimestamp at which the message was sent.‘2019-11-08T14:00:06.95700000:00’2020-07-23 00:00:002020-07-23 00:00:00no

Table: issue_queues

The purpose for the issue_queues table is to capture relevant data associated with an issue in a wait queue. Data captured includes the issue_id, the enqueue time, the rep, the event type and flowname. This is captured in 15 minute windows of time.

Sync Time: 1h

Unique Condition: issue_id, queue_id, enter_queue_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-08-14 00:00:002018-08-14 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-08-14 00:00:002018-08-14 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-08-14 00:00:002018-08-14 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-08-14 00:00:002018-08-14 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-08-14 00:00:002018-08-14 00:00:00no
enter_queue_tstimestamp without time zoneTimestamp when the issue was added to the queue.2019-12-26T18:25:22.836000+00:002018-08-14 00:00:002018-08-14 00:00:00no
exit_queue_tstimestampTimestamp when the issue was removed from the queue.2019-12-26T18:25:28.552000+00:002018-08-14 00:00:002018-08-14 00:00:00no
queue_idintegerASAPP queue identifier which the issue was placed.200012018-08-14 00:00:002018-08-14 00:00:00no
queue_namevarchar(255)Queue name which the issue was placed.Acme Residential, Acme Wireless2018-08-14 00:00:002018-08-14 00:00:00no
abandonedbooleanFlag indicating whether the issue was abandoned.true, false2018-08-14 00:00:002018-08-14 00:00:00no
enqueue_timedouble precisionDuration in seconds that the issue spent in the queue.5.7160000801086432018-08-14 00:00:002018-08-14 00:00:00no
exit_queue_eventtypecharacter varying(65535)Reason the customer exited the queue.CUSTOMER_TIMEDOUT, NEW_REP2018-08-14 00:00:002018-08-14 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-09-27 00:00:002019-09-27 00:00:00no
enter_queue_eventtypecharacter varying(65535)Reason the customer entered the queue.TRANSFER_REQUESTED, SRS_HIER_AND_TREEWALK2018-08-14 00:00:002018-08-14 00:00:00no
enter_queue_eventflagsbigintEvent causing the issue to be enqueued.(1=customer, 2=rep, 4=bot)2018-08-14 00:00:002018-08-14 00:00:00no
enter_queue_flow_namecharacter varying(65535)Name of the flow which the issue was in before being enqueued.LiveChatAgentsBusyFlow2018-08-14 00:00:002018-08-14 00:00:00no
enter_queue_message_namecharacter varying(65535)Message name within the flow which the user was in before being enqueued.someoneWillBeWithYou, shortWaitFormNode2018-08-14 00:00:002018-08-14 00:00:00no
exit_queue_eventflagsbigintEvent causing the issue to be deenqueued.(1=customer, 2=rep, 4=bot)2018-08-14 00:00:002018-08-14 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: issue_sentiment

The issue_sentiment table captures sentiment analysis information related to customer issues. Each row represents an issue and its associated sentiment score or classification. This table helps track customer sentiment trends, assess the emotional tone of interactions, and support decision-making for issue resolution strategies.

Sync Time: 1d

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-07-26 00:00:002018-09-29 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-07-26 00:00:002018-07-26 00:00:00no
scoredouble precisionThe sentiment score applied to this issue.0.5545974373817444, -1000.02018-07-26 00:00:002018-07-26 00:00:00no
statuscharacter varying(65535)Reason for the sentiment score, which may be NULLCONVERSATION_TOO_SHORT2018-07-26 00:00:002018-07-26 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: issue_session_merge

A list of the merged issues that have occurred as a result of transferring to a queue during a cold transfer and the first issue_id associated with this new issue_id. Only relevant for VOICE. activate-date: 2024-01-17

Sync Time: 1h

Unique Condition: issue_id, session_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:00no
company_idbigintDEPRECATED 2024-03-25100012020-02-05 00:00:002020-02-05 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acmeno
issue_idbigintThe ASAPP issue or conversation id.213523522020-02-05 00:00:002020-02-05 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082020-02-05 00:00:002020-02-05 00:00:00no
session_idvarchar(128)The ASAPP session identifier. It is a uuid generated by the chat backend. Note: a session may contain several conversations.‘guid:2348001002-0032128785-2172846080-0001197432’2020-02-05 00:00:002020-02-05 00:00:00no
issue_created_tstimestampTimestamp this issue_id was created.2018-09-05 19:58:062020-02-05 00:00:002020-02-05 00:00:00no
first_issue_idbigintThe first issue_id for this session.213523522020-02-05 00:00:002020-02-05 00:00:00no
first_issue_created_tstimestampTimestamp when the NEW_ISSUE event occurred for the first issue_id associated with this session.2018-09-05 19:58:062020-02-05 00:00:002020-02-05 00:00:00no
last_issue_idbigintThe last issue_id associated with this session.213523522020-02-05 00:00:002020-02-05 00:00:00no
last_issue_created_tstimestampTimestamp when the NEW_ISSUE event occurred for the last issue_id associated with this session2018-09-05 19:58:062020-02-05 00:00:002020-02-05 00:00:00no

Table: issue_type

The purpose of the issue_type table is to capture any client specific naming of issue parameters. This captures per issue the initial “issue type name” which the client has specified. This is captured in 15 minute window increments.

Sync Time: 1h

Unique Condition: company_id, customer_id, issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-08-12 00:00:002019-08-12 00:00:00no
prechat_survey_tstimestamp without time zoneTimestamp when the pre-chat survey was completed to route the issue to an expert.2019-08-07 19:34:18.8442019-08-12 00:00:002019-08-12 00:00:00no
type_change_tstimestamp without time zoneThe timestamp when the issue type was changed (e.g. escalated from question.) Null if the issue type was not changed.2019-08-07 19:45:57.3252019-08-12 00:00:002019-08-12 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-08-12 00:00:002019-08-12 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-08-12 00:00:002019-08-12 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-08-12 00:00:002019-08-12 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-08-12 00:00:002019-08-12 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082019-08-12 00:00:002019-08-12 00:00:00no
queue_idintegerThe unique identifier for the queue to which the issue was routed.200012019-08-12 00:00:002019-08-12 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-08-12 00:00:002019-08-12 00:00:00no
issue_typecharacter varying(65535)Current type of the issue (question or escalation).ESCALATION2019-08-12 00:00:002019-08-12 00:00:00no
initial_typecharacter varying(65535)Original type of the issue when it was created.QUESTION2019-08-12 00:00:002019-08-12 00:00:00no
subsidiary_namecharacter varying(65535)Name of the company to which this issue is associated.ACMEsubsid2019-08-12 00:00:002019-08-12 00:00:00no
channel_typecharacter varying(65535)Indicates the channel (voice or chat) if the issue started as ESCALATION, or null otherwise.CALL2019-08-12 00:00:002019-08-12 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: knowledge_base

This table captures interactions with articles in the knowledge base. An article can be viewed, attached to a chat and marked as favorite

Sync Time: 1h

Unique Condition: company_id, issue_id, article_id, event_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
issue_idbigintThe ASAPP issue or conversation id.213523522019-12-20 00:00:002019-12-20 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-12-20 00:00:002019-12-20 00:00:00no
article_idcharacter varying(65535)The knowledge base identifier for the article.5, 165800012019-12-20 00:00:002019-12-20 00:00:00no
interactioncharacter varying(8)An indicator of whether the article was viewed or attached to a chat.‘Viewed’, ‘Attached’2019-12-20 00:00:002019-12-20 00:00:00no
is_favoritedbooleanIndicates whether the article is marked as a favorite.TRUE, FALSE2019-12-20 00:00:002019-12-20 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-12-20 00:00:002019-12-20 00:00:00no
event_tstimestampThe time of an given event. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-12-20 00:00:002019-12-20 00:00:00no
event_typevarchar(191)Either Interaction events requested: (‘OPEN_ARTICLE’, ‘PAPERCLIP_ARTICLE’) or Recommendation events requested: (‘DISPLAYED’,‘AGENT_HOVERED’, ‘AGENT_CLICKED_EXTERNAL_ARTICLE_LINK’, ‘AGENT_CLICKED_THUMBS_UP’ ‘AGENT_CLICKED_THUMBS_DOWN’, ‘AGENT_CLICKED_EXPAND_CARD’, ‘AGENT_CLICKED_COLLAPSE_CARD’)CUSTOMER_TIMEOUT, TEXT_MESSAGE2019-12-20 00:00:002019-12-20 00:00:00no
event_namecharacter varying(191)A string that determines if the action comes from an Interaction event or a Recommendation event’INTERACTION’, ‘SUGGESTION’2019-12-20 00:00:002019-12-20 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082020-03-30 00:00:002020-03-30 00:00:00no
rep_assigned_tstimestamp without time zonetimestamp of the NEW_REP event2020-10-15 00:00:002020-10-15 00:00:00no
article_categorycharacter varying(191)Category to distinguish between flows and knowledge base articles. REGULAR is for knowledge base articles. FLOWS is for flows recommendation.‘REGULAR’2020-10-15 00:00:002020-10-15 00:00:00no
discovery_typecharacter varying(256)How article was presented/discovered. (recommendation, quick_access_kbr, favorite, search, filebrowser)recommendation2021-03-09 00:00:002021-03-09 00:00:00no
positionintegerPosition of article recommendation when multiple recommendations are presented. Default is 1 when a single recommendation is presented.12021-03-09 00:00:002021-03-09 00:00:00no
span_idvarchar(128)Identifier for a recommendation. Can be used to tie a recommendation to an interaction such as HOVER, OPEN_ARTICLE.‘coo9c7b8-7a50-11eb-b13e-8ad0401b5458’2021-03-09 00:00:002021-03-09 00:00:00no
article_nameShort description of the article.5002021-03-09 00:00:002021-03-09 00:00:00no
is_paperclip_enabledFlag which indicates whether the article is paper clipped (Bookmark).TRUE2021-03-09 00:00:002021-03-09 00:00:00no
external_article_idIdentifier for external article id.45672021-03-09 00:00:002021-03-09 00:00:00no

Table: live_agent_opportunities

The live_agent_opportunities table tracks instances where automated processes, such as chatbots or virtual assistants, escalate a conversation or issue to a live agent. It offers insights into the effectiveness of automation, the reasons behind escalations, and key metrics for improving both customer experience and agent performance. The term “Opportunity” refers to the period from when the conversation is handed over to an agent until its closure.

Sync Time: 1h

Unique Condition: issue_id, customer_id, opportunity_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-07-01 00:00:002019-07-01 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-07-01 00:00:002019-07-01 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-07-01 00:00:002019-07-01 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-07-01 00:00:002019-07-01 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082019-07-01 00:00:002019-07-01 00:00:00no
rep_idvarchar(191)The identifier of the rep this opportunity was assigned to or null if it was never assigned.1230082019-07-01 00:00:002019-07-01 00:00:00no
opportunity_tstimestampTimestamp of the opportunity event.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-07-01 00:00:002019-07-01 00:00:00no
platformvarchar(255)The platform which was used by the customer for a particular event or request (web, ios, android, applebiz, voice).web, ios, android, applebiz, voice2019-07-01 00:00:002019-07-01 00:00:00no
device_typevarchar(255)Last device type used by the customer.mobile, tablet, desktop, watch, unknown2019-07-01 00:00:002019-07-01 00:00:00no
first_opportunitybooleanIndicator of whether this is the first opportunity for this issue.true, false2019-07-01 00:00:002019-07-01 00:00:00no
triggered_when_busybooleanIndicator of whether the customer was asked if they wanted to wait for an agent.true2019-07-01 00:00:002019-07-01 00:00:00no
triggered_outside_hoursbooleanIndicator of whether the customer was told they are outside of business hours.false2019-07-01 00:00:002019-07-01 00:00:00no
queue_idintegerIdentifier of the agent group this opportunity will be routed to.20012019-07-01 00:00:002019-07-01 00:00:00no
queue_namevarchar(255)Name of the queue this opportunity will be routed to.Residential2019-07-01 00:00:002019-07-01 00:00:00no
intent_codecharacter varying(128)The most recent intent code used for routing this issue.SALESFAQ, BILLINFO2019-07-01 00:00:002019-07-01 00:00:00no
event_typevarchar(191)The event_type of this opportunity. This can be useful to determine if this is a transfer, etc.NEW_REP, SRS_HIER_AND_TREEWALK2019-07-01 00:00:002019-07-01 00:00:00no
previous_event_typecharacter varying(65535)The event_type that occurred prior to this opportunity. This can be useful to determine if the customer was previously transferred or timed out.SRS_HIER_AND_TREEWALK2019-07-01 00:00:002019-07-01 00:00:00no
flow_namevarchar(255)The flow associated with the routing intent, if any.ForceChatFlow2019-07-01 00:00:002019-07-01 00:00:00no
by_requestbooleanIndicator of whether the customer explicitly request to speak to an agent (i.e. intent code has an AGENT as a parent).true, false2019-07-01 00:00:002019-07-01 00:00:00no
by_end_srsbooleanIndicator of whether this opportunity occurred because of a negative end srs response.true, false2019-07-01 00:00:002019-07-01 00:00:00no
by_api_errorbooleanIndicator of whether this opportunity occurred because of an error in partner API.true, false2019-10-21 00:00:002019-10-21 00:00:00no
by_designbooleanIndicator of whether intent_code is not null AND not by_request AND not by_end_srs AND not by_api_error. Note this includes cases where a flow sends the customer to an agent if it has not successfully solved the problem. (ex: I am still not connected after a reset my router flow.)true, false2019-07-01 00:00:002019-07-01 00:00:00no
by_otherbooleanCatch all indicattor for all cases that are not by request, design or end_srs. This generally happens if we are missing the intent code, either because of an API error or because of a data bug.true, false2019-07-01 00:00:002019-07-01 00:00:00no
enqueued_tstimestampThe time which this opportunity was sent to a queue, or null if it never was enqueued.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
exit_queue_tstimestampTime at which the customer exited the queue.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
abandoned_tsTIMESTAMPThe datetime when the customer abandoned the queue.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
assigned_tstimestampTimestamp when the opportunity was assigned to a representative; null if it was never assigned.2020-01-03T18:54:45.140000+00:002019-07-01 00:00:002019-07-01 00:00:00no
escalation_initiated_tstimestampThe lesser of enqueued and assigned time, null if never escalated.2020-01-06 23:13:50.6172019-06-04 00:00:002019-06-04 00:00:00no
rep_first_response_tsTIMESTAMPThe time when a rep first responded to the customer.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
dispositioned_tstimestampThe time at which the rep dispositioned this issue (Exits the screen/frees up a slot).2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
customer_end_tstimestamp without time zoneThe time at which customer ended the issue, if the customer ended the issue.2020-01-06 23:13:50.6172019-07-01 00:00:002019-07-01 00:00:00no
disposition_event_typevarchar(255)Event type indicating how the conversation ended.resolved, timedout2019-07-01 00:00:002019-07-01 00:00:00no
cust_utterance_countbigintCount of customer utterances from issue_assigned_ts to dispositioned_ts42019-07-01 00:00:002019-07-01 00:00:00no
rep_utterance_countbigintCount of rep utterances from issue_assigned_ts to dispositioned_ts52019-07-01 00:00:002019-07-01 00:00:00no
cust_response_ctintTotal count of responses by customer. Max of one message following a rep message counted as a response.32019-07-01 00:00:002019-07-01 00:00:00no
rep_response_ctintTotal count of responses by agent. Max of one message following a customer message counted as a response.102019-07-01 00:00:002019-07-01 00:00:00no
is_ghost_customerbooleanTrue if the customer was assigned to a rep but never responded to the rep.true, false2019-07-01 00:00:002019-07-01 00:00:00no
handle_time_secondsdouble precisionTime in seconds spent an agent working on a particular assignment. Time between assignment and disposition event824.2112019-07-01 00:00:002019-07-01 00:00:00no
lead_time_secondsdouble precisionTime in seconds spent by an agent leading the conversation. Time between assignment and time of last utterance by THE CUSTOMER. If no utterance by customer, Lead time is total_handle_time.101.7542019-07-01 00:00:002019-07-01 00:00:00no
wrap_up_time_secondsdouble precisionTime in seconds spent by an agent wrapping up the conversation. Defined as total_handle_time-total_lead_time.61.9892019-07-01 00:00:002019-07-01 00:00:00no
accepted_wait_tstimestamp without time zoneTimestamp at which the customer was sent a message confirming they had been placed into a queue.2019-09-11T14:15:59.312000+00:002019-07-01 00:00:002019-07-01 00:00:00no
is_transferbooleanIndicator whether this opportunity is due to a transfer.true, false2019-07-01 00:00:002019-07-01 00:00:00no
is_reengagementbooleanIndicator whether this opportunity is due to the user returning from a timeout.true, false2019-07-01 00:00:002019-07-01 00:00:00no
is_conversation_initiationbooleanIndicator of whether this opportunity is from a conversation initiation (i.e. not from transfer or reengagement).true, false2019-07-01 00:00:002019-07-01 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
from_queue_idbigintThe identifier of the group from which the issue was transferred.300012019-12-18 00:00:002019-12-18 00:00:00no
from_queue_namecharacter varying(191)The name of the group from which the issue was transferred.service, General2019-12-18 00:00:002019-12-18 00:00:00no
from_rep_idbigintThe identifier of the rep from which the issue was transferred.810012019-12-18 00:00:002019-12-18 00:00:00no
is_check_in_reengagementbooleanIs this opportunity due to the user coming back within a 24h period after being timed-out for not answering a check-in prompt on time.true2020-01-14 00:00:002020-01-14 00:00:00no
desk_mode_flagbigintBitmap encodes if agent handled voice-issue ASAPP desk, had engagement with ASAPP desk. bitmap: 0: null, 1: ‘VOICE’, 2: ‘DESK’, 4: ‘ENGAGEMENT’, 8: ‘INACTIVITY’ NULL for non voice issues0, 1, 2, 5, 72020-02-19 00:00:002020-02-19 00:00:00no
desk_mode_stringvarchar(191)Decodes the desk_mode flag. Current possible values (Null, ‘VOICE’, ‘VOICE_DESK’, ‘VOICE_DESK_ENGAGEMENT’,‘VOICE_INACTIVITY’). NULL for non voice issues.VOICE_DESK2020-02-19 00:00:002020-02-19 00:00:00no
merged_from_issue_idbigintThe issue id before the merge213523522020-06-30 00:00:002020-06-30 00:00:00no
merged_tstimestampthe time the merge occurred2019-11-08T14:00:06.957000+00:002020-06-30 00:00:002020-06-30 00:00:00no
exclusive_phrase_auto_complete_msgsbigintCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.2021-08-02 00:00:002021-08-02 00:00:00no
autopilot_ending_msgs_ctintegerNumber of autopilot endings22024-04-19 00:00:002024-04-19 00:00:00no

Table: queue_check_ins

Exports for each 15 min window of Queue Check in events

Sync Time: 1h

Unique Condition: company_id, issue_id, customer_id, check_in_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
issue_idbigintThe ASAPP issue or conversation id.213523522020-01-02 00:00:002020-01-02 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082020-01-02 00:00:002020-01-02 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012020-01-02 00:00:002020-01-02 00:00:00no
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002020-01-02 00:00:002020-01-02 00:00:00no
check_in_tstimestamp without time zoneTimestamp at which the check in message was prompted to the customer.2018-06-10 14:23:002020-01-02 00:00:002020-01-02 00:00:00no
wait_time_threshold_tstimestamp without time zoneTimestamp at which the queue wait time threshold was reached.2018-06-10 14:22:582020-01-02 00:00:002020-01-02 00:00:00no
check_in_resultcharacter varying(9)The result of the check in message, either the customer ‘Accepted’ or was ‘Dequeued’.‘Dequeued’2020-01-02 00:00:002020-01-02 00:00:00no
check_in_result_tstimestamp without time zoneTimestamp at which the result of the check in message was received.2018-06-10 14:24:002020-01-02 00:00:002020-04-24 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-03-23 00:00:002019-03-23 00:00:00no
wait_time_threshold_ct_distinctbigintQuantity of times the queue wait time threshold was reached before getting the check in message.22020-04-25 00:00:002020-04-25 00:00:00no
queue_idintegerThe ASAPP queue identifier which the issue was placed.200012020-06-11 00:00:002020-06-11 00:00:00no
queue_namevarchar(255)The queue name which the issue was placed.Acme Residential, Acme Wireless2020-06-11 00:00:002020-06-11 00:00:00no
opportunity_tstimestampTimestamp of the opportunity event2023-01-02 19:58:062020-01-02 00:00:002020-01-02 00:00:00no

Table: quick_reply_buttons

The quick_reply_button_interaction table contains information associated with a specific quick_reply_button, its final intent and any aggregation counts over the day (e.g. escalated_to_chat, escalation_requested). Aggregated for a 24 hour period. Only ended issues are counted.

Sync Time: 1d

Unique Condition: company_id, company_subdivision, company_segments, final_intent_code, quick_reply_button_text, escalated_to_chat, escalation_requested, quick_reply_button_index

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002019-02-12 00:00:002019-02-12 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012019-02-12 00:00:002019-02-12 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-02-12 00:00:002019-02-12 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-02-12 00:00:002019-02-12 00:00:00no
final_intent_codecharacter varying(255)The last intent code of the flow which the user navigated.PAYBILL2019-02-12 00:00:002019-02-12 00:00:00no
escalated_to_chatbigint1 if an issue escalated to live chat, 0 if not.12019-02-12 00:00:002019-02-12 00:00:00no
escalation_requestedinteger1 if customer was asked to wait for an agent or if a customer asked to speak to an agent.12019-02-12 00:00:002019-02-12 00:00:00no
quick_reply_button_textcharacter varying(65535)The text of the quick reply button.‘Billing’2019-02-12 00:00:002019-02-12 00:00:00no
quick_reply_button_indexintegerThe position of the quick reply button shown.(1,2,3)2019-02-12 00:00:002019-02-12 00:00:00no
quick_reply_displayed_countbigintThe number of times this button was shown.422019-02-12 00:00:002019-02-12 00:00:00no
quick_reply_selected_countbigintThe number of times this button was selected.422019-02-12 00:00:002019-02-12 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: reps

The rep table contains a listing of data regarding each rep. Expected data includes their name, the rep id, their slot configuration and the rep status. This rep data is collected daily.

Sync Time: 1d

Unique Condition: rep_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
created_tstimestampThe timestamp of when record gets generated.2019-02-19T21:31:43+00:002018-09-21 00:00:002018-09-21 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-09-21 00:00:002018-09-21 00:00:00no
crm_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-09-21 00:00:002018-09-21 00:00:00no
namevarchar(255)The rep name as imported from the CRM.Smith, Anne2018-09-21 00:00:002018-09-21 00:00:00no
max_slotsmallintThe number of slots or concurrent conversations this rep can have at the same time.42018-09-21 00:00:002018-09-21 00:00:00no
disabled_timetimestamp without time zoneThe time when this rep was removed from the ASAPP system.2019-02-27T12:56:34+00:002018-09-21 00:00:002018-09-21 00:00:00no
agent_statusdeprecated: 2019-09-252018-09-21 00:00:002018-09-21 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082018-09-21 00:00:002018-09-21 00:00:00no
crm_rep_idThe rep identifer from the client system.monica.rosa2019-09-26 00:00:002019-09-26 00:00:00no
rep_statusvarchar(255)The last known status of the rep at UTC midnight.800012019-09-26 00:00:002019-09-26 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: rep_activity

The rep_activity table tracks status and slot information of each agent over time, including time spent in each status and time utilized in chats. In this table, the data is captured in 15 minute increments throughout the day. instance_ts is actually the 15-minute window in question, and is part of the primary key. It does not indicate the last time a relevant event happened as in other tables. Windows may be re-stated when information from a later window amends them, for example to account for additional utilized time.

Sync Time: 1h

Unique Condition: company_id, instance_ts, rep_id, status_id, in_status_starting_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe start of the 15-minute time window under observation. As an example, for a 15 minute interval an instance_ts of 12:30 implies activity from 12:30 to 12:45.2019-11-08 14:00:002018-10-01 00:00:002018-10-01 00:00:00no
update_tstimestamp without time zoneThe timestamp at which the last event for this record occurred. This usually represents the status end or the end of the last conversation handled in this status.2018-06-10 14:24:002019-12-16 00:00:002019-12-16 00:00:00no
export_tsThe end of the time window for which this record was exported. This is used for de-duplicating records.2018-06-10 14:30:002019-12-16 00:00:002019-12-16 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-10-01 00:00:002018-10-01 00:00:00no
company_subdivisionvarchar(255)The company subdivision relates to the customer issue and is not relevant to reps. Intentionally left blank.ACMEsubcorp2018-10-01 00:00:002018-10-01 00:00:00no
company_segmentsvarchar(255)The company segments field relates to the customer issue and is not relevant to reps. Intentionally left blank.marketing,promotions2018-10-01 00:00:002018-10-01 00:00:00no
agent_namedeprecated: 2019-09-252018-10-01 00:00:002018-10-01 00:00:00no
status_idcharacter varying(65535)The ASAPP identifier for a given status.OFFLINE, 12018-10-01 00:00:002018-10-01 00:00:00no
status_descriptioncharacter varying(65535)The human text name for a given status.2018-10-01 00:00:002018-10-01 00:00:00no
orig_status_descriptioncharacter varying(191)The text of the status before alteration for disconnects.Available, Away, Coffee Break, Active2020-01-07 00:00:002020-01-07 00:00:00no
in_status_starting_tstimestamp without time zoneInside this 15m window, what time did the agent enter this status.2020-01-08T19:32:38.352000+00:002018-10-01 00:00:002018-10-01 00:00:00no
linear_ute_timedouble precisionTime in seconds the agent spent handling at least one issue in this status within this 15-minute time window.253.34, 0.0, 5.0462019-03-05 00:00:002019-03-05 00:00:00no
cumul_ute_timedouble precisionThe collective time in seconds the agent spent handling all issues in this status within this 15-minute time window. This time may exceed the status time due to concurrency slots.498.82, 0.0, 0.4282019-03-05 00:00:002019-03-05 00:00:00no
unutilized_timedouble precisionThe time in seconds the agent spent not handling any issues in this status within this 15-minute time window.37.60, 0.02019-03-05 00:00:002019-03-05 00:00:00no
window_status_timedouble precisionThe length of time which the agent was inside this status in seconds.0.107, 900.02018-10-01 00:00:002018-10-01 00:00:00no
total_status_timedouble precisionTime in seconds that the agents spent in this status including contiguous time spent outside of this 15-minute time window.5.046, 0.1072018-10-01 00:00:002018-10-01 00:00:00no
max_slotsintegerThe number of issue slots or concurrency values which the rep set for themselves for this window.3, 22018-10-01 00:00:002018-10-01 00:00:00no
status_end_tstimestamp without time zoneThe timestamp at which this agent exited the designated state. Note that this time may be null or after the next instance_ts, which implies that the agent did not change statuses within this 15-minute window.2018-06-10 14:23:002020-01-07 00:00:002020-01-07 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-09-27 00:00:002019-09-27 00:00:00no
rep_namevarchar(191)The name of this rep. Jane DoeJohn2019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
desk_modevarchar(191)The mode of the desktop which the agent is logged into. Modes include CHAT or VOICE.‘CHAT’, ‘VOICE’2019-12-10 00:00:002019-12-10 00:00:00no
last_dispositioned_tstimestampTimestamp at which rep gets unassigned for a given rep status started at a given time2018-06-10 14:24:002024-05-29 00:00:002024-05-29 00:00:00no

Table: rep_assignment_disposition

This view contains information relating to rep-disposition responses.

Sync Time: 1h

Unique Condition: company_id, issue_id, rep_id, rep_assigned_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
company_idbigintDEPRECATED 2024-03-25100012020-09-03 00:00:002020-09-03 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522020-09-03 00:00:002020-09-03 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082020-09-03 00:00:002020-09-03 00:00:00no
rep_assigned_tstimestamp without time zoneThe timestamp at which the issue was assigned to the rep.2020-09-03 00:00:002020-09-03 00:00:00no
disposition_eventcharacter varying(65535)The event type associated with the disposition event2020-09-03 00:00:002020-09-03 00:00:00no
disposition_notes_txtcharacter varying(65535)Disposition notes associated with the disposition event2020-09-03 00:00:002020-09-03 00:00:00no
disposition_notes_validbooleanBoolean value to indicate if the notes are different than blank or null.2020-09-03 00:00:002020-09-03 00:00:00no
crm_offered_tstimestamp without time zoneTimestamp of the last CRM offered event.2020-09-03 00:00:002020-09-03 00:00:00no
crm_outcome_tstimestamp without time zoneTimestamp of the last CRM outcome event.2020-09-03 00:00:002020-09-03 00:00:00no
crm_is_successbooleanBoolean value to indicate if the disposition event is successfully sent to partner CRM2020-09-03 00:00:002020-09-03 00:00:00no
crm_error_typecharacter varying(65535)This field indicates the type of an error occured in the pipeline.2020-09-03 00:00:002020-09-03 00:00:00no
crm_error_sourcecharacter varying(65535)This field indicates where in the pipeline the event is failed to publish.2020-09-03 00:00:002020-09-03 00:00:00no
presented_tagscharacter varying(65535)Unique list of all summary tags presented to agent for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
selected_tagscharacter varying(65535)Unique list of all summary tags selected by agent for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
notes_presented_tagscharacter varying(65535)Unique list of the summary tags presented to agent at the OTF NOTES state for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
notes_selected_tagscharacter varying(65535)Unique list of the summary tags selected by agent at the OTF NOTES state for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
assignment_end_presented_tagscharacter varying(65535)Unique list of the summary tags presented to agent at the end of assignment state.2020-09-03 00:00:002020-09-03 00:00:00no
assignment_end_selected_tagscharacter varying(65535)Unique list of the summary tags selected by agent at the end of assignment state.2020-09-03 00:00:002020-09-03 00:00:00no
presented_tags_ct_distinctbigintDistinct count of all summary tags presented to agent for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
selected_tags_ct_distinctbigintDistinct count of all summary tags selected by agent for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
notes_presented_tags_ct_distinctbigintDistinct count of the summary tags presented to agent at the OTF NOTES state for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
notes_selected_tags_ct_distinctbigintDistinct count of the summary tags selected by agent at the OTF NOTES state for this assignment.2020-09-03 00:00:002020-09-03 00:00:00no
assignment_end_presented_tags_ct_distinctbigintDistinct count of the summary tags presented to agent at the end of assignment state.2020-09-03 00:00:002020-09-03 00:00:00no
assignment_end_selected_tags_ct_distinctbigintDistinct count of the summary tags selected by agent at the end of assignment state.2020-09-03 00:00:002020-09-03 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2020-09-03 00:00:002020-09-03 00:00:00no
auto_summary_txtcharacter varying(65535)Text of the automatic generative summary of this assignment, if applicable. Note that this field will be null of no auto summary could be found or if the feature is not enabled.2023-02-16 00:00:002023-02-16 00:00:00no

Table: rep_attributes

The rep attributes table contains various data associated with a rep such as their given role. This table may not exist or may be empty if the client chooses to use rep_hierarchy instead. This is a daily snapshot of information.

Sync Time: 1d

Unique Condition: rep_attribute_id, rep_id, created_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
created_tstimestampThe date this agent was created.2019-06-24T18:02:05+00:002018-08-14 00:00:002018-08-14 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-08-14 00:00:002018-08-14 00:00:00no
attribute_namecharacter varying(64)The attribute key value.role, companygroup, jobcode2018-08-14 00:00:002018-08-14 00:00:00no
attribute_valuecharacter varying(1024)The attribute value associated with the attribute_name.manager, representative, lead2018-08-14 00:00:002018-08-14 00:00:00no
agent_attribute_iddeprecated: 2019-09-252018-08-14 00:00:002018-08-14 00:00:00no
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2018-08-14 00:00:002018-08-14 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-09-27 00:00:002019-09-27 00:00:00no
rep_attribute_idbigintThe ASAPP identifier for this attribute.12000012019-09-27 00:00:002019-09-27 00:00:00no
external_rep_idvarchar(255)Client-provided identifier for the rep.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: rep_augmentation

The rep_augmentation table tracks a specific issue and rep; and calculates metrics on augmentation types and counts of usages of augmentation. This table will allow billing for the augmentation feature per each issue.

Sync Time: 1h

Unique Condition: issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-11-27 00:00:002018-11-27 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-11-27 00:00:002018-11-27 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012018-11-27 00:00:002018-11-27 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-11-27 00:00:002018-11-27 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-11-27 00:00:002018-11-27 00:00:00no
customer_idbigintThe ASAPP internal customer identifier.1230082018-11-27 00:00:002018-11-27 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-11-27 00:00:002018-11-27 00:00:00no
external_customer_idvarchar(255)The customer identifier as provided by the client.2018-11-27 00:00:002018-11-27 00:00:00no
conversation_end_tstimestampTimestamp when the conversation ended.2018-06-23 21:23:532018-11-27 00:00:002018-11-27 00:00:00no
auto_suggest_msgsbigintThe number of autosuggest prompts used by the rep.32018-11-27 00:00:002018-11-27 00:00:00no
auto_complete_msgsbigintThe number of autocompletion prompts used by the rep.22018-11-27 00:00:002018-11-27 00:00:00no
did_customer_timeoutbooleanBoolean value indicating whether the customer timed out.false, true2018-11-27 00:00:002018-11-27 00:00:00no
is_rep_resolvedbooleanBoolean value indicating whether the rep marked this conversation resolved.true, false2018-11-27 00:00:002018-11-27 00:00:00no
is_billablebooleanBoolean value indicating whether the rep marked the conversation resolved after using autocomplete or autosuggest.true, false2018-11-27 00:00:002018-11-27 00:00:00no
custom_auto_suggest_msgsbigintThe number of custom autocompletion prompts used by the rep (is a subset of auto_suggest_msgs).22019-09-25 00:00:002019-09-25 00:00:00no
custom_auto_complete_msgsbigintThe number of custom autosuggest prompts used by the rep (is a subset of auto_complete_msgs).22019-09-25 00:00:002019-09-25 00:00:00no
drawer_msgsbigintThe number of custom drawer messages used by the rep.22019-09-25 00:00:002019-09-25 00:00:00no
kb_search_msgsbigintThe number of messages used from knowledge base search.22019-09-25 00:00:002019-09-25 00:00:00no
kb_recommendation_msgsbigintThe number of messages used from knowledge base recommendations.22019-09-25 00:00:002019-09-25 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
rep_idvarchar(191)Last rep_id that worked on this issue.1230082019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
is_autopilot_timeout_msgsNumber of autopilot timeout messages.22020-06-11 00:00:002020-06-11 00:00:00no
phrase_auto_complete_presented_msgsintegerCount of utterances where at least one phrase autocomplete was suggested/presented.2020-06-24 00:00:002020-06-24 00:00:00no
cume_phrase_auto_complete_presentedintegerTotal number of phrase autocomplete suggestions per issue.2020-06-24 00:00:002020-06-24 00:00:00no
phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent.2020-06-24 00:00:002020-06-24 00:00:00no
cume_phrase_auto_completeintegerTotal number of phrase autocompletes per issue.2020-06-24 00:00:002020-06-24 00:00:00no
exclusive_phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.2020-06-24 00:00:002020-06-24 00:00:00no

Table: rep_convos

The rep_convos table captures metrics associated with a rep and an issue. Expected metrics include “average response time”, “cumulative customer response time”, “disposition type” and “handle time”. This data is captured in 15 minute window increments.

Sync Time: 1h

Unique Condition: issue_id, rep_id, issue_assigned_ts

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-09-01 00:00:002018-09-01 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-09-01 00:00:002018-09-01 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-09-01 00:00:002018-09-01 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-09-01 00:00:002018-09-01 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-09-01 00:00:002018-09-01 00:00:00no
issue_assigned_tstimestamp without time zoneThe time when an issue was first assigned to this rep.2019-10-31T18:37:37.848000+00:002018-09-01 00:00:002018-09-01 00:00:00no
agent_first_response_tsdeprecated: 2019-09-252018-09-01 00:00:002018-09-01 00:00:00no
dispositioned_tstimestampThe time when the issue left the rep’s screen.2019-10-31T18:46:39.869000+00:002018-09-01 00:00:002018-09-01 00:00:00no
customer_end_tstimestamp without time zoneThe time at which the customer ended the issue. This may be NULL.2019-10-31T18:46:12.559000+00:002018-09-01 00:00:002018-09-01 00:00:00no
disposition_event_typevarchar(255)Event type indicating how the conversation ended.rep, customer, batch (system/auto ended), batch2018-09-01 00:00:002018-09-01 00:00:00no
cust_utterance_countbigintThe count of customer utterances from issue_assigned_ts to dispositioned_ts.52018-09-01 00:00:002018-09-01 00:00:00no
rep_utterance_countbigintThe count of rep utterances from issue_assigned_ts to dispositioned_ts.52018-09-01 00:00:002018-09-01 00:00:00no
handle_time_secondsdouble precisionTotal time in seconds that reps spent handling the issue, from assignment to disposition.428.92019-03-19 00:00:002019-03-20 00:00:00no
lead_time_secondsdouble precisionTotal time in seconds the customer spent interacting during the conversation, from assignment to last utterance.320.052019-03-19 00:00:002019-03-20 00:00:00no
wrap_up_time_secondsdouble precisionTotal time in seconds spent by reps wrapping up the conversation, calculated as the difference between handle and lead time.3.6142019-03-19 00:00:002019-03-20 00:00:00no
rep_response_ctintThe total count of responses by the rep. Max of one message following a customer message counted as a response.52019-05-17 00:00:002019-05-17 00:00:00no
cust_response_ctintThe total count of responses by the customer. Max of one message following a rep message counted as a response.122019-05-17 00:00:002019-05-17 00:00:00no
auto_suggest_msgsbigintThe number of autosuggest prompts used by the rep (inclusive of custom_auto_suggest_msgs).52019-07-29 00:00:002019-07-29 00:00:00no
auto_complete_msgsbigintThe number of autocompletion prompts used by the rep (inclusive of custom_auto_complete_msgs).52019-07-29 00:00:002019-07-29 00:00:00no
custom_auto_suggest_msgsbigintThe number of custom autocompletion prompts used by the rep (is a subset of auto_suggest_msgs).22019-09-25 00:00:002019-09-25 00:00:00no
custom_auto_complete_msgsbigintThe number of custom autosuggest prompts used by the rep (is a subset of auto_complete_msgs).22019-09-25 00:00:002019-09-25 00:00:00no
drawer_msgsbigintThe number of custom drawer messages used by the rep.22019-09-25 00:00:002019-09-25 00:00:00no
kb_search_msgsbigintThe number of messages used by the rep from the knowledge base searches.22019-09-25 00:00:002019-09-25 00:00:00no
kb_recommendation_msgsbigintThe number of messages used by the rep from the knowledge base recommendations.22019-09-25 00:00:002019-09-25 00:00:00no
is_ghost_customerbooleanBoolean value indicating if the customer was assigned a rep but never responded.true, false2019-05-17 00:00:002019-05-17 00:00:00no
first_response_secondsbigintThe total time taken by the rep to send the first message, once the message was assigned.26.1482019-05-17 00:00:002019-05-17 00:00:00no
cume_rep_response_secondsbigintThe total time across the assignment for the rep to send response messages.53.2432019-05-17 00:00:002019-05-17 00:00:00no
max_rep_response_secondsdouble precisionThe maximum time across the assignment for the rep to send a response message.77.9652019-05-17 00:00:002019-05-17 00:00:00no
avg_rep_response_secondsdouble precisionThe average time across assignment for the rep to send response messages.22.3592019-05-17 00:00:002019-05-17 00:00:00no
cume_cust_response_secondsbigintThe total time across the assignment for the customer to send response messages.332.962019-05-17 00:00:002019-05-17 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-09-27 00:00:002019-09-27 00:00:00no
rep_first_response_tsdatetimeThe time when a rep first responded to the customer.2019-10-31T18:38:03.996000+00:002019-09-27 00:00:002019-09-27 00:00:00no
hold_ctbigintThe total count that this rep was part of a hold call. This field is not applicable to chat.12019-11-19 00:00:002019-11-19 00:00:00no
cume_hold_time_secondsdouble precisionThe total duration of time the rep placed the customer on hold across the call. This field is not applicable to chat. 93.302019-11-19 00:00:002019-11-19 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
client_modevarchar(191)The communication mode used by the customer for a given issue (CHAT or VOICE).CHAT, VOICE2019-12-10 00:00:002019-12-10 00:00:00no
cume_cross_talk_secondsnumeric(38,5)Total duration of time where both agent and customer were speaking. Only relevant for voice client mode.2019-12-28 00:00:002019-12-28 00:00:00no
desk_mode_flagbigintBitmap encodes if agent handled voice-issue ASAPP desk, had engagement with ASAPP desk. bitmap: 0: null, 1: ‘VOICE’, 2: ‘DESK’, 4: ‘ENGAGEMENT’, 8: ‘INACTIVITY’ NULL for non voice issues0, 1, 2, 5, 72020-02-19 00:00:002020-02-19 00:00:00no
desk_mode_stringvarchar(191)Decodes the desk_mode flag. Current possible values (Null, ‘VOICE’, ‘VOICE_DESK’, ‘VOICE_DESK_ENGAGEMENT’,‘VOICE_INACTIVITY’). NULL for non voice issues.VOICE_DESK2020-02-19 00:00:002020-02-19 00:00:00no
queue_idintegerThe ASAPP queue identifier which the issue was placed.200012021-04-08 00:00:002021-04-08 00:00:00no
autopilot_timeout_msgsintegerNumber of autopilot timeout messages.22021-08-02 00:00:002021-08-02 00:00:00no
exclusive_phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.2021-08-02 00:00:002021-08-02 00:00:00no
custom_click_to_insert_msgsintegerTotal count of custom click_to_insert messages.2021-08-02 00:00:002021-08-02 00:00:00no
ms_auto_suggest_msgsintegerTotal count of multi-sentence auto-suggest messages.2021-08-02 00:00:002021-08-02 00:00:00no
ms_auto_complete_msgsintegerTotal count of multi-sentence auto-complete messages.2021-08-02 00:00:002021-08-02 00:00:00no
ms_auto_suggest_custom_msgsintegerTotal count of custom multi-sentence auto-suggest messages.2021-08-02 00:00:002021-08-02 00:00:00no
ms_auto_complete_custom_msgsintegerTotal count of custom multi-sentence auto-complete messages.2021-08-02 00:00:002021-08-02 00:00:00no
autopilot_form_msgsbigintNumber of autopilot form messages.22021-08-02 00:00:002021-08-02 00:00:00no
click_to_insert_global_msgsintegerNumber of click to insert messages.22023-02-15 00:00:002023-02-15 00:00:00no
autopilot_greeting_msgsbigintNumber of autopilot greeting messages.22023-02-15 00:00:002023-02-15 00:00:00no
augmented_msgsbigintNumber of augmented messages.22023-02-22 00:00:002023-02-22 00:00:00no
autopilot_ending_msgs_ctintegerNumber of autopilot endings22024-04-19 00:00:002024-04-19 00:00:00no

Table: rep_hierarchy

The rep_hierarchy table contains the rep and their direct reports and their manager. This is a daily snapshot of rep hierarchy information. This table may be empty and if empty, then consult rep_attributes.

Sync Time: 1d

Unique Condition: subordinate_rep_id, superior_rep_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
subordinate_agent_iddeprecated: 2019-09-252018-08-14 00:00:002018-08-14 00:00:00no
superior_agent_iddeprecated: 2019-09-252018-08-14 00:00:002018-08-14 00:00:00no
reporting_relationshipcharacter varying(1024)Relationship between subordinate and superior reps, e.g. “superiors_superior” for skip-level reporting.superior, superiors_superior2018-08-14 00:00:002018-08-14 00:00:00no
subordinate_rep_idbigintASAPP rep identifier that is the subordinate of the superior_rep_id.1100012019-09-27 00:00:002019-09-27 00:00:00no
superior_rep_idbigintSuperior rep id that is the superior of the subordinate_rep_id.200012019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no

Table: rep_utilized

The rep_utilized table tracks a rep’s activity and how much time they spend in each state. It shows utilization time and total minutes per state, recorded in 15-minute intervals throughout the day. The instance_ts field represents the 15-minute window and is part of the primary key. It doesn’t show the most recent event like in other tables. The data may be updated if later information changes it, such as adding more utilization time. Utilization refers to the rep’s efficiency.

Sync Time: 1h

Unique Condition: instance_ts, rep_id, desk_mode, max_slots

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe start of the 15-minute time window under observation. As an example, for a 15 minute interval an instance_ts of 12:30 implies activity from 12:30 to 12:45.2019-11-08 14:00:002019-03-11 00:00:002019-03-11 00:00:00no
update_tsTimestamp at which the last event for this record occurred - usually the last status end or conversation end that was active in this window deprecated: 2020-11-092019-06-10 14:24:002020-01-29 00:00:002020-01-29 00:00:00no
export_tsThe end of the time window for which this record was exported. This is used for de-duplicating records.2019-06-10 14:30:002020-01-29 00:00:002020-01-29 00:00:00no
company_idbigintThe ASAPP identifier of the company or test data source.100012019-03-11 00:00:002019-03-11 00:00:00no
company_subdivisionvarchar(255)Relates to the customer issue, not relevant to reps. Intentionally left blank.ACMEsubcorp2019-03-11 00:00:002019-03-11 00:00:00no
company_segmentsvarchar(255)Relates to the customer issue, not relevant to reps. Intentionally left blank.marketing,promotions2019-03-11 00:00:002019-03-11 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-03-11 00:00:002019-03-11 00:00:00no
rep_namevarchar(191)The name of the rep.John Doe2019-03-11 00:00:002019-03-11 00:00:00no
max_slotsintegerMaximum chat concurrency slots enabled for this rep.22019-03-11 00:00:002019-03-11 00:00:00no
cum_logged_in_minbigintCumulative Logged In Time (min) — Total cumulative time (linear time x max slots) the rep logged into tthe agent desktop.1202019-03-11 00:00:002019-03-11 00:00:00no
lin_logged_in_minbigintLinear Logged In Time (min) — Total linear time rep logged into agent desktop.602019-03-11 00:00:002019-03-11 00:00:00no
cum_avail_minbigintCumulative Available Time (min) — Total cumulative time (linear time x max slots) the rep logged into agent desktop while in the “Available” state.902019-03-11 00:00:002019-03-11 00:00:00no
lin_avail_minbigintLinear Available Time (min) — Total linear time the rep logged into the agent desktop while in the “Available” state.452019-03-11 00:00:002019-03-11 00:00:00no
cum_busy_minbigintCumulative Busy Time (min) — Total cumulative time (linear time x max slots) the rep logged into agent desktop while in a “Busy” state.302019-03-11 00:00:002019-03-11 00:00:00no
lin_busy_minbigintLinear Busy Time (min) — Total linear time rep logged into agent desktop while in a “Busy” state.152019-03-11 00:00:002019-03-11 00:00:00no
cum_prebreak_minbigintCumulative Busy Time - Pre-Break (min) — Total cumulative time (linear time x max slots) rep logged into agent desktop while in the Pre-Break vesion of the “Busy” state.102019-03-11 00:00:002019-03-11 00:00:00no
lin_prebreak_minbigintLinear Busy Time - Pre-Break (min) — Total linear time the rep logged into Agent Desktop while in the Pre-Break vesion of Busy state5.62019-03-11 00:00:002019-03-11 00:00:00no
cum_ute_total_minbigintCumulative Utilized Time (min) — Total cumulative time (linear time x active slots) the rep logged into agent desktop and utilized over all states.27.712019-03-11 00:00:002019-03-11 00:00:00no
lin_ute_total_minbigintLinear Utilized Time (min) — Total linear time rep logged into agent desktop and utilized over all states.5.52019-03-11 00:00:002019-03-11 00:00:00no
cum_ute_avail_minbigintCumulative Utilized Time While Available (min) — Total cumulative time (linear time x active slots) rep logged into agent desktop and utilized while in the “Available” state.11.52019-03-11 00:00:002019-03-11 00:00:00no
lin_ute_avail_minbigintLinear Utilized Time While Available (min) — Total linear time rep logged into agent desktop and utilized while in the “Available” state.5.932019-03-11 00:00:002019-03-11 00:00:00no
cum_ute_busy_minbigintCumulative Busy Time - While Chatting (min) — Total cumulative time (linear time x active slots) rep logged into agent desktop while in a Busy state and handling at least one assignment.7.382019-03-11 00:00:002019-03-11 00:00:00no
lin_ute_busy_minbigintLinear Utilized Time While Busy (min) — Total linear time rep logged into agent desktop while in a Busy state and handling at least one assignment.3.442019-03-11 00:00:002019-03-11 00:00:00no
cum_ute_prebreak_minbigintCumulative Utilized Time While Busy Pre-Break (min) — Cumulative time rep logged into agent desktop and utilized while in the “Pre-Break Busy” state.5.352019-03-11 00:00:002019-03-11 00:00:00no
lin_ute_prebreak_minbigintLinear Utilized Time While Busy Pre-Break (min) — Linear time rep logged into agent desktop and utilized while in the “Pre-Break Busy” state.3.652019-03-11 00:00:002019-03-11 00:00:00no
labor_minbigintTotal linear time rep logged into agent desktop in the available state, plus cumulative time rep was handling issues in any “Busy” state.18.442019-03-11 00:00:002019-03-11 00:00:00no
busy_clicks_ctbigintBusy Clicks — Number of times the rep moved from an active to a busy state.12019-05-10 00:00:002019-05-10 00:00:00no
ute_ratioUtilization ratio - cumulative utilized time divided by linear total potential labor time.1.712019-03-11 00:00:002019-03-11 00:00:00no
act_ratioActive utilization ratio - cumulative utilized time in the available state divided by total labor time.1.672019-03-11 00:00:002019-03-11 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
desk_modevarchar(191)The mode of the desktop that the agent is logged into - whether CHAT or VOICE.‘CHAT’, ‘VOICE’2019-12-10 00:00:002019-12-10 00:00:00no
lin_utilization_level_over_minbigintTotal linear time in minutes when rep has no assignment Total linear time in minute when rep’s assignments is greater than rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
lin_utilization_level_full_minbigintTotal linear time in minute when rep’s assignments is equal to rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
lin_utilization_level_light_minbigintTotal linear time in minute when rep’s assignments is less than rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
workload_level_no_minbigintTotal time in minute when rep has no active assignment1202020-11-09 00:00:002020-11-09 00:00:00no
workload_level_over_minbigintTotal time in minute when rep’s active assignment is greater than rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
workload_level_full_minbigintTotal time in minute when rep’s active assignment is equal to rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
workload_level_light_minbigintTotal time in minute when rep’s active assignment is less than rep’s max slot1202020-11-09 00:00:002020-11-09 00:00:00no
flex_protect_minbigintTotal time in minute when rep is flex protected1202020-11-09 00:00:002020-11-09 00:00:00no
cum_weighted_min2019-03-11 00:00:002019-03-11 00:00:00no
cum_weighted_secondsbigintTotal effort_workload when a rep has active assignments102019-03-11 00:00:002019-03-11 00:00:00no
cum_ute_weighted_avail_unflexed_secondsbigintTotal time weighted in seconds when a rep is available1602019-03-11 00:00:002019-03-11 00:00:00no
cum_weighted_inactive_secondsbigintTotal effort_workload when a rep has no active assignments102019-03-11 00:00:002019-03-11 00:00:00no

Table: sms_events

Exports for each 15 min window of SMS flow events

Sync Time: 1h

Unique Condition: company_id, sms_flow_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
sms_flow_idcharacter varying(65535)The flow identifier.019bf9e4-a01a-4420-b419-459659a1b50e2019-11-08 00:00:002019-11-08 00:00:00no
external_session_idcharacter varying(65535)The session identifier received from the client.7727660382019-11-08 00:00:002019-11-08 00:00:00no
message_sent_resultcharacter varying(6)The status of a SMS request received from the 3rd party SMS provider.‘Sent’2019-11-08 00:00:002019-11-08 00:00:00no
message_sent_result_status_codecharacter varying(65535)The failure reason received from 3rd party SMS provider.30001 (Queue Overflow), 30004 (Message Blocked)2019-11-08 00:00:002019-11-08 00:00:00no
message_character_countintegerThe SMS message’s character count.292019-11-08 00:00:002019-11-08 00:00:00no
partner_triggered_tstimestamp without time zoneThe date and time in which a partner sends a SMS request to ASAPP.2018-03-03 12:23:522019-11-08 00:00:002019-11-08 00:00:00no
provider_sent_tstimestamp without time zoneThe date and time in which ASAPP sends a SMS request from 3rd party SMS provider.2018-03-03 12:23:522019-11-08 00:00:002019-11-08 00:00:00no
provider_status_tstimestamp without time zoneThe date and time in which the 3rd party SMS provider sends back the status of a SMS request.2018-03-03 12:23:522019-11-08 00:00:002019-11-08 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2019-11-08 00:00:002019-11-08 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2019-11-08 00:00:002019-11-08 00:00:00no
company_idbigintThe ASAPP identifier of the company or test data source.100012019-11-08 00:00:002019-11-08 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-08 00:00:002020-03-23 00:00:00no

Table: transfers

The purpose of the transfers table is to capture information associated with an issue transfer between reps. The data is captured per 15 minute window.

Sync Time: 1h

Unique Condition: company_id, issue_id, rep_id, timestamp_req

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-08-03 00:00:002018-08-03 00:00:00no
timestamp_reqtimestamp without time zoneThe date and time when the transfer was requested.2019-06-11T13:27:09.470000+00:002018-08-03 00:00:002018-08-03 00:00:00no
timestamp_replytimestamp without time zoneThe date and time when the transfer request was received.2019-06-11T13:31:58.537000+00:002018-08-03 00:00:002018-08-03 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-08-03 00:00:002018-08-03 00:00:00no
agent_idbigintdeprecated: 2019-09-251230082018-08-03 00:00:002018-08-03 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012018-08-04 00:00:002018-08-04 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-10-04 00:00:002018-10-04 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-10-04 00:00:002018-10-04 00:00:00no
requested_agent_transferdeprecated: 2019-09-252018-08-03 00:00:002018-08-03 00:00:00no
group_transfer_tocharacter varying(65535)The group identifier where the issue was transferred.200012018-08-03 00:00:002018-08-03 00:00:00no
group_transfer_to_namecharacter varying(191)The group name where the issue was transferred.acme-mobile-eng2018-08-04 00:00:002018-08-04 00:00:00no
group_transfer_fromcharacter varying(65535)The group identifier which transferred the issue.870012018-08-04 00:00:002018-08-04 00:00:00no
group_transfer_from_namecharacter varying(191)The group name which transferred the issue. acme-residential-eng2018-08-04 00:00:002018-08-04 00:00:00no
actual_agent_transferdeprecated: 2019-09-252018-08-03 00:00:002018-08-03 00:00:00no
acceptedbooleanA boolean flag indicating whether the transfer was accepted.true, false2018-08-03 00:00:002018-08-03 00:00:00no
is_auto_transferbooleanA boolean flag indicating whether this was an auto-transfer.true, false2019-07-22 00:00:002019-07-22 00:00:00no
exit_transfer_event_typecharacter varying(65535)The event type which concluded the transfer.TRANSFER_ACCEPTED, CONVERSATION_END2019-07-22 00:00:002019-07-22 00:00:00no
transfer_button_clicksbigintThe number of times a rep requested a transfer from transfer initiation to when the transfer was received.12019-08-22 00:00:002019-08-22 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
rep_idvarchar(191)The ASAPP rep/agent identifier.1230082019-09-27 00:00:002019-09-27 00:00:00no
requested_rep_transferbigintThe rep which requested the transfer.10700012019-09-27 00:00:002019-09-27 00:00:00no
actual_rep_transferbigintThe rep which received the transfer.2500012019-09-27 00:00:002019-09-27 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
requested_group_transfer_idbigintThe group identifier where the transfer was initially requested.1234552019-12-13 00:00:002019-12-13 00:00:00no
requested_group_transfer_namecharacter varying(191)The group name where the transfer was initially requested.support2019-12-13 00:00:002019-12-13 00:00:00no
route_code_tovarchar(191)IVR routing code indicating the customer contact reason to which the issue is being transferred into23232018-08-03 00:00:002018-08-03 00:00:00no
route_code_fromvarchar(191)IVR routing code indicating the customer contact reason from the previous assignment23232018-08-03 00:00:002018-08-03 00:00:00no

Table: utterances

The purpose of the utterances table is to list out each utterance and associated data which was captured during a conversation. This table will include data associated with ongoing conversations which are unended.

Sync Time: 1h

Unique Condition: created_ts, issue_id, sender_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002018-07-13 00:00:002018-07-13 00:00:00no
created_tstimestampThe date and time which the message was sent.2019-12-17T17:11:41.626000+00:002018-07-13 00:00:002018-07-13 00:00:00no
conversation_idbigintdeprecated: 2019-09-25213523522018-07-13 00:00:002018-07-13 00:00:00no
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorp2018-07-13 00:00:002018-07-13 00:00:00no
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotions2018-07-13 00:00:002018-07-13 00:00:00no
sequence_idintegerdeprecated: 2019-09-262018-07-13 00:00:002018-07-13 00:00:00no
sender_idbigintThe identifier of the person who sent the message.2018-07-13 00:00:002018-07-13 00:00:00no
sender_typecharacter varying(191)The type of sender.customer, bot, rep, rep_note, rep_whisper2018-07-13 00:00:002018-07-13 00:00:00no
utterance_typecharacter varying(65535)The type of utterance sent.autosuggest, autocomplete, script, freehand2018-07-13 00:00:002018-07-13 00:00:00no
sent_to_agentbooleandeprecated: 2019-09-252018-07-13 00:00:002018-07-13 00:00:00no
utterancecharacter varying(65535)Text sent from a bot or human (i.e. customer, rep, expert).’Upgrade current device’, ‘Is there anything else we can help you with?‘2018-07-13 00:00:002018-07-13 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522019-09-27 00:00:002019-09-27 00:00:00no
sent_to_repA boolean flag indicating if an utterance was sent from a customer to a rep.true, false2019-09-27 00:00:002019-09-27 00:00:00no
utterance_start_tstimestamp without time zoneThis timestamp marks the time when a person began speaking in the voice platform. In chat platforms or non-voice generated messages, this timestamp will be NULL.NULL, 2019-10-18T18:45:00+00:002019-12-06 00:00:002019-12-06 00:00:00no
utterance_end_tstimestamp without time zoneThis timestamp marks the time when a person finished speaking in the voice platform. In chat platforms or non-voice generated messages, this timestamp will be NULL.NULL, 2019-10-18T18:45:00+00:002019-12-06 00:00:002019-12-06 00:00:00no
company_namevarchar(255)Name of the company associated with the data.acme2019-11-01 00:00:002024-05-24 00:00:00no
event_uuidvarchar(36)A UUID uniquely identifying each utterance record347bdddb-d3a1-45fc-bbcd-dbd3a175fc1c2020-10-23 00:00:002020-10-23 00:00:00no

Table: voice_intents

The voice intents table includes fields that provide visibility to the customer’s contact reason for the call

Sync Time: 1h

Unique Condition: company_id, issue_id

ColumnTypeDescriptionExampleAggregatesNotesDate AddedDate ModifiedIgnorePIIrelease stateSpecific UseFeature Group
instance_tstimestampThe time window of computed elements. This window is usually 15 minutes or 1 hour depending on the generation time. Times are rounded down to the nearest interval (for a time of 12:34 and an interval of 15m, this is 12:30). As an example, for a 15 minute interval an instance_ts of 12:30 implies events from 12:30 -> 12:45. All times are in UTC.2019-11-08 14:00:06.957000+00:002021-08-10 00:00:002021-08-10 00:00:00no
issue_idbigintThe ASAPP issue or conversation id.213523522021-08-10 00:00:002021-08-10 00:00:00no
company_idbigintDEPRECATED 2024-03-25100012021-08-10 00:00:002021-08-10 00:00:00no
voice_intent_codevarchar(255)Voice intent code with the highest score associated to the issuePAYBILL2021-08-10 00:00:002021-08-10 00:00:00no
voice_intent_namevarchar(255)Voice intent name with the highest score associated to the issuePayment history2021-08-10 00:00:002021-08-10 00:00:00no
Last Updated: 2025-01-15 15:30:58 UTC