The tables below provide detailed information regarding the schema for exported data files that ASAPP can make available to customers via S3.

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2020-11-10 00:00:002020-11-10 00:00:00None
rep_namevarchar(191)Name of agentJohnNoneNone2020-11-10 00:00:002020-11-10 00:00:00None
status_descriptionvarcharIndicates whether the agent was logged into Admin desktop for this period.ONLINENoneNone2020-11-10 00:00:002020-11-10 00:00:00None
status_start_tsdatetimeTimestamp at which this agent entered that status.2018-06-10 14:23:00NoneNone2020-11-10 00:00:002020-11-10 00:00:00None
status_end_tsdatetimeTimestamp at which this agent exited that status.2018-06-10 14:23:00NoneNone2020-11-10 00:00:002020-11-10 00:00:00None
status_time_secondsdoubleTime in seconds that the agents spent in that status.2353.23NoneNone2020-11-10 00:00:002020-11-10 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2022-01-31 00:00:002022-01-31 00:00:00None
company_markervarchar(191)The ASAPP company marker.spear, aaNoneNone2022-01-31 00:00:002022-01-31 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2022-01-31 00:00:002022-01-31 00:00:00None
event_typevarchar(191)agent journey event type on recordCUSTOMER_TIMEOUT, TEXT_MESSAGENoneNone2022-01-31 00:00:002022-01-31 00:00:00None
event_countbigintcount of the agent journey event type on recordNoneNone2022-01-31 00:00:002022-01-31 00:00:00None
disconnected_countbigintnumber of times that a rep disconnected for less than 1 hourNoneNone2022-01-31 00:00:002022-01-31 00:00:00None
disconnected_secondsbigintcumulative number of seconds that a rep disconnected for less than 1 hourNoneNone2022-01-31 00:00:002022-01-31 00:00:00None

Table: autopilot_flow

This table contains factual data about autopilot flow.

Sync Time: 1h

Unique Condition: company_marker, issue_id, form_start_ts

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
rep_dNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
rep_assigned_tstimestamp without time zoneissue_id+rep_id+rep_assigned_ts can be used to link to the issue’s rep assignment or live agent opportunityNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
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 uniqueNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
form_dismissed_event_tstimestamp without time zoneTimestamp of recommended autopilot form being dismissed.NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
form_presented_event_tstimestamp without time zoneTimestamp the autopilot form being presented to end user.NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
form_submitted_event_tstimestamp without time zoneTimestamp the autopilot form being submitted by end userNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
flow_idvarchar(255)An ASAPP identifier assigned to a particular flow executed during a customer event or request.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
flow_namevarchar(255)The ASAPP text name for a given flow which was executed during a customer event or request.FirstChatMessage, AccountNumberFlowNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
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 serverNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
is_secure_formbooleanIs this a secure form flow.falseNoneNone2022-03-09 00:00:002022-03-09 00:00:00None
queue_idintegerThe ASAPP queue identifier which the issue was placed.210001NoneNone2022-03-09 00:00:002022-03-09 00:00:00None
asapp_modevarchar(191)Mode of the desktop that the rep is logged into (CHAT or VOICE).CHAT, VOICENoneNone2022-03-09 00:00:002022-03-09 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2022-03-09 00:00:002022-03-09 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_utterance_tsvarchar(255)The timestamp of the first customer utterance for an issue.2018-09-05 19:58:06NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_utterance_textvarchar(255)The text of the first customer utterance for an issue.‘Pay my bill’, ‘Check service availability’NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_intent_codevarchar(255)The first intent code associated to the issue.PAYBILL, COVERAGENoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_intent_code_altvarchar(255)The alternate first intent code, which is the second best classification of the customer’s first text message.PAYBILL, COVERAGENoneNone2018-11-07 00:00:002018-11-07 00:00:00None
final_intent_codevarchar(255)The last intent code of the flow the user navigated through, if the customer navigated through a flow, otherwise this will be the same as the first intent codePAYBILL, COVERAGENoneNone2018-11-07 00:00:002018-11-07 00:00:00None
intent_pathvarchar(255)A comma-separated list of all the intent codes associated with the customer’s flow navigiation. If the user did not navigate through a flow, this will be same as the first intent code.OUTAGE,CANT_CONNECTNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
disambig_countbigintThe number of times a disambiguation event was presented for an issue.2NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
ftd_visitbooleanA boolean value which indicates if this issue used free-text disambiguation to allow the customer to present a clearer intent, based on number of texts typed to AI.true, falseNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
faq_idvarchar(255)The last FAQ identifier presented for an issue.FORGOT_LOGIN_faqNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
final_action_destinationvarchar(255)The last deep-link url clicked for an issue.asapp-pil://acme/JSONataDeepLinkNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
is_first_intent_correctbooleanIf the chat went to an agent, this indicates whether the initial intent associated with the chat was correct or not, if the agent fills out this information.true, falseNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
first_rep_idvarchar(191)The first ASAPP rep/agent identifier found in a window of time.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-07 00:00:002019-01-11 00:00:00None
first_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2018-11-07 00:00:002019-01-11 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_utterance_tsvarchar(255)The timestamp of the first customer utterance for an issue.2018-09-05 19:58:06T00:01:16.203000+00:00NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_utterance_textvarchar(255)The text of the first customer utterance for an issue.I need to pay my bill.NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_intent_codevarchar(255)The first intent code associated to the issue.PAYBILLNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_intent_code_altvarchar(255)The alternate first intent code, which is the second best classification of the customer’s first text message.PAYBILLNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
final_intent_codevarchar(255)The last intent code of the flow the user navigated through, if the customer navigated through a flow, otherwise this will be the same as the first intent code.PAYBILLNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
intent_pathvarchar(255)A comma-separated list of all intent codes assoicated with the customer’s flow navigiation. If the user did not navigate through a flow, this will be same as the first intent code.OUTAGE, CANT_CONNECTNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
disambig_countbigintThe number of times a disambiguation event was presented for an issue.2NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
ftd_visitbooleanA boolean value which indicates if this issue used free-text disambiguation to allow the customer to present a clearer intent, based on the number of texts typed to AI.false, trueNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
faq_idvarchar(255)The last faq-id presented for an issue.FORGOT_LOGIN_faqNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
final_action_destinationvarchar(255)The last deep-link url clicked for an issue.asapp-pil://acme-mobile/protection-plan-featuresNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
is_first_intent_correctbooleanIf the chat went to an agent, this indicates whether the initial intent associated with the chat was correct or not, if the agent fills in this information.true, falseNoneNone2018-11-07 00:00:002018-11-07 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
first_rep_idvarchar(191)The first ASAPP rep/agent identifier found in a window of time.123008NoneNone2018-11-07 00:00:002018-11-07 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
first_utterance_tstimestampDate of the first utterance from a customer.2018-09-05 19:58:06NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
first_utterance_textvarchar(255)The text of the first utterance from a customer.”Hello, please assist me”NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
issue_created_tstimestampThe timestamp of the “NEW_ISSUE” event for an issue.2018-09-05 19:58:06NoneNone2019-10-15 00:00:002019-10-15 00:00:00None
last_event_tstimestampThe timestamp of the last event for an issue.2018-09-05 19:58:06NoneNone2019-09-16 00:00:002019-09-16 00:00:00None
last_srs_event_tstimestamp without time zoneThe date of the last bot assisted event.2018-09-05 19:58:06NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
conversation_end_tstimestampThe time/date of the issue end.2018-09-05 19:58:06NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
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-dbd3a175fc1cNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
session_typecharacter varying(255)The ASAPP session type.asapp-uuidNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
session_event_typecharacter varying(255)The basic type of the session event.UPDATE, CREATENoneNone2018-11-26 00:00:002020-10-24 00:00:00None
internal_session_idcharacter varying(255)The ASAPP session identifier.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
internal_session_typecharacter varying(255)An ASAPP session type.asapp-uuidNoneNone2022-01-04 00:00:002022-01-04 00:00:00None
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.123004NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
internal_user_session_typevarchar(255)The customer ASAPP session type.customerNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
external_session_idcharacter varying(255)A client passed argument to the SDK at open chat to indicate the client session identifier.062906ff-3821-4b5d-9443-ed4fecbda129NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_session_typecharacter varying(255)A client passed argument to SDK at open chat to indicate the type of the session.visitIDNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_user_idvarchar(255)The customer identifier according to the client. This will only exist if the customer was authenticated.EECACBD227CCE91BAF5128DFF4FFDBECNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_user_typevarchar(255)The type of external user identifier.acme_CUSTOMER_ACCOUNT_IDNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_issue_idcharacter varying(255)The client passed argument for the issue identifier to the SDK (currently not in use).NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_channelcharacter varying(255)The client passed argument for the customer channel to the SDK (currently not in use).NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
customer_idbigintASAPP customer id1470001NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
escalated_to_chatbigintA boolean value indicating whether this issue was sent to an agent. false, true1NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
platformvarchar(255)A value indicating which consumer platform was used.ios, android, webNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknownNoneNone2019-06-17 00:00:002019-06-17 00:00:00None
first_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2022-01-04 00:00:002022-01-04 00:00:00None
last_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2022-01-04 00:00:002022-01-04 00:00:00None
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2022-01-04 00:00:002022-01-04 00:00:00None
assigned_to_rep_timetimestampThe timestamp at which the issue was assigned to a rep for the first time, if any.2018-09-05 19:58:06NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_event_typevarchar(255)This field captures how the conversation with the customer was ended.resolved, unresolved, timeoutNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_tstimestampThe timestamp at which the rep exits the issue.2018-09-05 19:58:06NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
termination_event_typevarchar(255)This field captures what ends the conversation.customer, agent, autoendNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_notestextThe notes which the last rep took after dispositioning the chat.”The customer wanted to pay his bill. We successfully processed his payment.”NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
ended_resolvedinteger1 if the rep marked the conversation resolved, 0 otherwise.1, 0NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
ended_unresolvedinteger1 if the rep marked the conversation unresolved, 0 otherwise.0, 1NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
ended_timeoutinteger1 if the customer timed out or abandoned chat, 0 otherwise.0, 1NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
ended_autointeger1 if the rep did not disposition the issue and it was auto-ended.0, 1NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
ended_otherinteger1 if the customer or rep terminated the issue but the rep didn’t disposition the issue.0, 1NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
app_version_asappvarchar(255)The version of the ASAPP API application utilized during a customer event or request.com.asapp.api_api:-2f1a053f70c57f94752e7616b66f56d7bf1d6675NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
app_version_clientvarchar(255)The version of the ASAPP SDK utilized during a customer event or request.web-sdk-4.0.0NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
session_metadatacharacter varying(65535)The client passed in extra metadata information about the session.NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
last_sequence_idintegerThe last sequence identifier of the issue.115NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
issue_queue_idvarchar(255)The queue identifier of the associated issue.20001NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
issue_queue_namevarchar(255)The queue name of the associated issue.acme-wireless-englishNoneNone2019-04-30 00:00:002019-04-30 00:00:00None
csat_ratingdouble precisionThe CSAT rating of the issue.400.0NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
sentiment_valencecharacter varying(50)The sentiment of the issue.Neutral, NegativeNoneNone2019-04-30 00:00:002019-04-30 00:00:00None
deep_link_queuecharacter varying(65535)The deeplink queued for the issue.NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
end_srs_selectioncharacter varying(65535)The user selected button upon end_srs.NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
trigger_linkVARCHARdeprecated: 2020-04-25 aliases: current_page_urlNoneNone2022-01-04 00:00:002022-01-04 00:00:00None
auth_statevarchar(3)Boolean value to indicate whether the user authenticated? (not computed yet)false, trueNoneNone2019-04-30 00:00:002019-04-30 00:00:00None
auth_external_token_idcharacter varying(65535)Encrypted user identifier, provided by the client system, associated with the first authentication event for an issue.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_sourcecharacter varying(65535)Source of the first authentication event for an issue.ivr-urlNoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_external_user_typecharacter varying(65535)External user type of the first authentication event for an issue.ACME_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_external_user_idcharacter varying(65535)Client provided field. External user id associated with the first authentication event for an issue.9BE62CCD564D6982FF305DEBCEAABBB5NoneNone2019-05-15 00:00:002019-07-16 00:00:00None
is_review_requiredbooleanBoolean to determine whether an admin should review this issue. data type: boolean data type: booleantrue, falseNoneNone2019-07-24 00:00:002019-07-24 00:00:00None
mid_issue_auth_tstimestamp without time zoneThe time when the user authenticated, if it occured mid issue.2020-01-11 08:13:26.094NoneNone2019-07-24 00:00:002019-07-24 00:00:00None
first_rep_idvarchar(191)The first agent/rep involved with this issue as the ASAPP rep identifier.60001NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
last_rep_idvarchar(191)The last agent/rep involved with this issue as the ASAPP rep identifier.60001NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
external_rep_idvarchar(255)The client handed value for a rep identifier.0671018510NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
first_voice_customer_statevarchar(255)The first assigned state of the customer if using voice.IDENTIFIEDNoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_customer_state_tstimestampThe time when the customer was first assigned a state. 2020-01-11 08:13:26.0942018-09-05 19:58:06NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_identified_customer_state_tstimestampThe time when the customer was first assigned an IDENTIFIED state.2020-01-11 08:13:26.094NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_verified_customer_state_tstimestampThe time when the customer was first assigned a VERIFIED state.2020-01-11 08:13:26.094NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
merged_tstimestampThe time when the relevant issue merged into another issue. data type: timestamp2020-01-11 08:13:26.094NoneNone2019-12-28 00:00:002019-12-28 00:00:00None
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, 7NoneNone2020-02-19 00:00:002020-02-19 00:00:00None
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_DESKNoneNone2020-02-19 00:00:002020-02-19 00:00:00None
current_page_urlvarchar(2000)The url link stripped of parameters that triggered the enter chat event. Only populates for WEB platforms. aliases: trigger_linkhttps:www.acme.corp/billing/viewbillNoneNone2020-04-24 00:00:002020-04-24 00:00:00None
raw_current_page_urlThe raw url link that triggered the enter chat event. Only populates for WEB platform. aliases: raw_trigger_linkNoneNone2020-04-25 00:00:002020-04-25 00:00:00None
language_codeVARCHAR(32)Language code for the issue_idEnglishNoneNone2022-01-04 00:00:002022-01-04 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
first_utterance_tstimestampThe date of the first utterance from a customer.2019-09-22T13:12:26.073000+00:00NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
first_utterance_textvarchar(65535)The text of the first utterance from a customer.”Hello, please assist me”NoneNone2019-01-11 00:00:002022-06-08 00:00:00None
issue_created_tstimestampThe timestamp of the “NEW_ISSUE” event for an issue.2019-11-21T19:11:01.748000+00:00NoneNone2019-10-15 13:12:26.073000+00:002019-10-15 13:12:26.073000+00:00None
last_event_tstimestampThe timestamp of the last event for an issue.2019-09-23T14:00:09.043000+00:00NoneNone2019-09-16 00:00:002019-09-16 00:00:00None
last_srs_event_tstimestamp without time zoneThe date of the last bot assisted event.2019-09-22T13:12:26.131000+00:00NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
conversation_end_tstimestampThe date of the issue end.2019-10-08T14:00:07.395000+00:00NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
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-dbd3a175fc1cNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
session_typecharacter varying(255)A string indicating the ASAPP session type.asapp-uuidNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
session_event_typecharacter varying(255)The action taken upon the session object.CREATE, UPDATE, DELETENoneNone2018-11-26 00:00:002019-01-11 00:00:00None
internal_session_idcharacter varying(255)The ASAPP session id.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2019-01-11 00:00:002019-01-11 00:00:00None
internal_session_typecharacter varying(255)An ASAPP session identifier type.asapp-uuidNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
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_type field to determine which type the identifier represents.123004NoneNone2018-11-26 00:00:002018-12-06 00:00:00None
internal_user_session_typevarchar(255)The customer ASAPP session type.customerNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
external_session_idcharacter varying(255)Client passed argument to SDK at open chat to indicate the client session identifier.062906ff-3821-4b5d-9443-ed4fecbda129NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_session_typecharacter varying(255)Client passed argument to SDK at open chat to indicate the type of session.visitIDNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_user_idvarchar(255)The customer identifier according to client. This will only exist if the customer has authenticated.MjU0ZTRiMDQyNDVlNTcyNWNlOTljNmI1NDc2NWQzNzdmNmJmZTFjZDgyY2IwMzc3MDkwZDI5YmQwZDlkODJhNA==NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_user_typevarchar(255)The type of external user id.acme_CUSTOMER_ACCOUNT_IDNoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_issue_idcharacter varying(255)A client passed argument to SDK. This exists only if passed in.NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
external_channelcharacter varying(255)A client passed argument to SDK. This exists only if passed in.NoneNone2018-11-26 00:00:002020-10-24 00:00:00None
customer_idbigintAn ASAPP customer identifier.1470001NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
escalated_to_chatbigint1 if an issue escalated to live chat, 0 if not1NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
platformvarchar(255)The consumer platform in use.ios, android, web, voiceNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknownNoneNone2019-06-17 00:00:002019-06-17 00:00:00None
first_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
last_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
assigned_to_rep_timetimestampTimestamp when the issue was first assigned to an agent (if any).2018-09-05 19:58:06T16:14:57.289000+00:00NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_event_typevarchar(255)A field which captures how the conversation ended.resolved, unresolved, timeoutNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_tstimestampThe timestamp at which a rep exits the issue.2018-09-05 19:58:06T16:14:57.289000+00:00NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
termination_event_typevarchar(255)This field captures if who or what ended the conversation.customer, agent, autoendNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
disposition_notestextNotes which the last rep took after dispositioning the chat.”The customer wanted to pay his bill. We successfully processed his payment.”NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
ended_resolvedintegerA binary value indicating if the rep marked the conversation resolved.1, 0NoneNone2019-04-30 00:00:002019-05-01 00:00:00None
ended_unresolvedintegerA binary value of 1 indicates if the rep marked the conversation unresolved.0, 1NoneNone2019-04-30 00:00:002019-05-01 00:00:00None
ended_timeoutintegerA binary value of 1 indicates if the customer timed out or abandoned the chat.0, 1NoneNone2019-04-30 00:00:002019-04-30 00:00:00None
ended_autointegerA binary value of 1 indicates if the rep did NOT disposition the issue and it was auto-ended.0, 1NoneNone2019-04-30 00:00:002019-05-01 00:00:00None
ended_otherintegerA binary value of 1 indicates if the customer or rep terminated the issue but the rep didn’t disposition the issue.0, 1NoneNone2019-04-30 00:00:002019-05-01 00:00:00None
app_version_clientvarchar(255)The ASAPP SDK version utilized during a customer event or request.web-sdk-4.0.2NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
app_version_asappvarchar(255)The version of the ASAPP API application utilized during a customer event or request.com.asapp.api_api:-b393f2d920bb74ce5bbc4174ac5748acff6e8643NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
session_metadatacharacter varying(65535)This field contains client passed in extra metadata information about the session.NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
last_sequence_idintegerThe last sequence identifier of the issue.25NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
issue_queue_idvarchar(255)The queue identifier of the associated issue.2001NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
issue_queue_namevarchar(255)The queue name of the associated issue.acme-mobile-englishNoneNone2019-01-11 00:00:002019-01-11 00:00:00None
csat_ratingdouble precisionThe customer satisfaction rating of the issue.400.0NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
sentiment_valencecharacter varying(50)The sentiment of the issue.Neutral, NegativeNoneNone2019-01-11 00:00:002019-01-11 00:00:00None
deep_link_queuecharacter varying(65535)The deeplink queued for the issue.NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
end_srs_selectioncharacter varying(65535)The user selected button upon end_srs.NoneNone2019-01-11 00:00:002019-01-11 00:00:00None
trigger_linkVARCHARdeprecated: 2020-04-25 aliases: current_page_urlNoneNone2018-11-26 00:00:002018-11-26 00:00:00None
auth_statevarchar(3)A binary value of 1 indicates if the user was authenticated.0, 1NoneNone2018-11-26 00:00:002018-11-26 00:00:00None
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.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_sourcecharacter varying(65535)The source of the first authentication event for an issue.ivr-urlNoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_external_user_typecharacter varying(65535)An external user type of the first authentication event for an issue.ACME_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-17 00:00:00None
auth_external_user_idcharacter varying(65535)A client provided field. External user identifier associated with the first authentication event for an issue.9BE62CCD564D6982FF305DEBCEAABBB5NoneNone2019-05-15 00:00:002019-07-16 00:00:00None
is_review_requiredbooleanA flag indicating if a conversation review is required. data type: booleantrue, falseNoneNone2019-07-24 00:00:002019-07-24 00:00:00None
mid_issue_auth_tstimestamp without time zoneThe time when the user was authenticated, if it occured mid-issue.2020-01-18T03:43:41.414000+00:00NoneNone2019-07-24 00:00:002019-07-24 00:00:00None
first_rep_idvarchar(191)The first agent/rep involved with this issue.60001NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
last_rep_idvarchar(191)The last agent/rep involved with this issue.60001NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
external_rep_idvarchar(255)The rep/agent identifier from the client perspective.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2019-09-26 00:00:002019-09-26 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
first_voice_customer_statevarchar(255)The first assigned state of the customer.IDENTIFIED, VERIFIEDNoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_customer_state_tstimestampThe time when the customer was first assigned a state.2020-01-18T03:43:41.414000+00:00NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_identified_customer_state_tstimestampThe time when the customer was first assigned a IDENTIFIED state.2020-01-18T03:43:41.414000+00:00NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
first_voice_verified_customer_state_tstimestampThe time when the customer was first assigned a VERIFIED state.2020-01-18T03:43:41.414000+00:00NoneNone2019-11-21 00:00:002019-11-21 00:00:00None
merged_tstimestampThe time when the relevant issue_id merged into another issue. data type: timestamp2020-01-18T03:43:41.414000+00:00NoneNone2019-12-28 00:00:002019-12-28 00:00:00None
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, 7NoneNone2020-02-19 00:00:002020-02-19 00:00:00None
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_DESKNoneNone2020-02-19 00:00:002020-02-19 00:00:00None
current_page_urlvarchar(2000)The url link stripped of parameters that triggered the enter chat event. Only populates for WEB platforms. aliases: trigger_linkhttps:www.acme.corp/billing/viewbillNoneNone2020-04-25 00:00:002020-04-25 00:00:00None
raw_current_page_urlThe raw url link that triggered the enter chat event. Only populates for WEB platform. aliases: raw_trigger_linkNoneNone2020-04-25 00:00:002020-04-25 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
first_utterance_tstimestampThe date of the first utterance from a customer.2019-05-16T02:47:13+00:00NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-06 00:00:002018-11-14 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
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, voiceNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknownNoneNone2019-06-18 00:00:002019-06-18 00:00:00None
assistedtinyint(1)A value of 1 if assigned to a rep AND a rep responded, otherwise the field will be 0.0, 1NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_handle_timedoubleThe cumulative time in seconds spent by reps working on an issue. This represents the time between assignment and the disposition event.168.093NoneNone2019-03-05 00:00:002019-03-05 00:00:00None
total_lead_timedoubleThe cumulative time in seconds spent by the customer interacting in the conversation. The time between assignment and the time of last utterance by the customer. If no utterance by customer, then the lead time is total_handle_time.163.222NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
total_wrap_up_timedoubleThe cumulative time in seconds spent by reps wrapping up the conversation. Defined as total_handle_time minus total_lead_time. Also known as dispositioning time.4.871NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
total_session_timedoubleThe cumulative time the CUSTOMER spent seeking resolution from reps, including the time spent in queue, plus the time between assignment and the FIRST conversation end event (whether by customer or by rep).190.87900018692017NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
customer_sent_msgsdoubleThe number of messages the customer sent (typed and tapped).1, 3, 5NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
agent_sent_msgsdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_generated_msgsbigint(20)The number of messages sent by the AI system.0,2NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
first_rep_response_countbigint(20)The number of first responses by reps, post-assignment. The count of first response by rep 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, 1NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_seconds_to_first_rep_responsebigint(20)The total amount of time in seconds the rep spent responding to the customer.407.5679998397827NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
agent_response_countdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_response_countbigint(20)The count of responses (not messages) sent by customers.0, 4NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_rep_seconds_to_responddoubleThe total amount of time in seconds the reps spent responding to the customer.407.5679998397827NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_cust_seconds_to_responddoubleThe total amount of time in seconds the customer spent responding to the rep.65.87400007247925NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
time_in_queuedoubleThe cumulative time in seconds spent in queue, including all re-queues.78.30999994277954NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_suggest_msgsbigint(20)The number of autosuggest messages sent by a rep.0, 1, 3NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_complete_msgsbigint(20)The number of autocomplete messages sent by a rep.0, 1, 3NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_wait_for_agent_msgsbigintdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_wait_for_agent_msgsbigintdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
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, 1NoneNone2018-11-06 00:00:002019-07-26 00:00:00None
out_business_ctbigintThe number of times that a customer received an out of business hours message.0, 2NoneNone2018-11-06 00:00:002019-04-23 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_sent_msgsbigint(20)The number of messages a rep sent.0, 6, 7NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
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, 6NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
auto_wait_for_rep_msgsbigint(20)The number of times a user was asked to wait for a rep.0, 1, 2NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
customer_wait_for_rep_msgsbigint(20)The number of times a user asked to speak with a rep.0, 1NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
hold_ctbigintThe number of times the customer was placed on hold. This applies to VOICE only.0, 1, 2NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
total_hold_time_secondsfloatThe total amount of time in seconds that the customer was placed on hold. This applies to VOICE only.180.4639995098114NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
first_utterance_tstimestampThe date of the first utterance from a customer.2018-09-05 19:58:06NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
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, voiceNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknownNoneNone2019-06-18 00:00:002019-06-18 00:00:00None
assistedtinyint(1)A binary value of 1 indicates whether this chat was assigned to a rep AND a rep responded.0,1NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_handle_timedoubleThe cumulative time in seconds spent by reps working on an issue. The time between an assignment and disposition event.718.968NoneNone2019-03-05 00:00:002019-03-05 00:00:00None
total_lead_timedoubleThe cumulative time in seconds spent by reps leading the conversation. The time between an assignment and the time of last utterance by THE CUSTOMER. If no utterance by the customer, then the lead time is the total_handle_time.715.627NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
total_wrap_up_timedoubleThe cumulative time in seconds spent by reps wrapping the conversation. The wrap time is defined as the total_handle_time-total_lead_time.27.583NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
total_session_timedoubleThe cumulative time the CUSTOMER spent seeking resolution from the reps, including time spent in queue, plus the time between the assignment and the FIRST conversation end event (whether by customer or by rep).1441.0329999923706NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
customer_sent_msgsdoubleThe number of messages the customer sent (typed and tapped).2, 1NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
agent_sent_msgsdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_generated_msgsbigint(20)The number of messages sent by SRS.5, 3NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
first_rep_response_countbigint(20)The number of first responses by the reps, post-assignment. The count of first response by rep, post-assignment. Ths 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 chance to answer.0, 1NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_seconds_to_first_rep_responsebigint(20)The total amount of time in seconds the rep spent responding to the customer4.291000127792358NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
agent_response_countdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_response_countbigint(20)The count of responses (not messages) sent by customers.3, 0, 8NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_rep_seconds_to_responddoubleThe ttotal amount of time in seconds the reps spent responding to the customer.240.28499960899353NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
total_cust_seconds_to_responddoubleThe total amount of time in seconds the customer spent responding to the rep.227.27100014686584NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
time_in_queuedoubleThe cumulative time in seconds spent in queue, including all re-queues.71.74499988555908NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_suggest_msgsbigint(20)The number of autosuggest messages sent by rep.0, 3, 4NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_complete_msgsbigint(20)The number of autocomplete messages sent by rep.0, 1, 2NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
auto_wait_for_agent_msgsbigintdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_wait_for_agent_msgsbigintdeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
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, 1NoneNone2018-11-06 00:00:002019-03-05 00:00:00None
out_business_ctbigintThe number of times that a customer received an out of business hours message.0, 1NoneNone2018-11-06 00:00:002019-04-23 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_sent_msgsbigint(20)The number of messages a rep sent.0, 4, 7NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_response_countbigint(20)The count of responses (not messages) sent by 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, 1, 20NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
auto_wait_for_rep_msgsbigint(20)The number of times a user was asked to wait for a rep.0, 3, 4NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
customer_wait_for_rep_msgsbigint(20)The number of times a user asked to speak with a rep.0, 1, 2NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
hold_ctbigintThe number of times the customer was placed on hold. This field applies to VOICE.0, 1, 2NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
total_hold_time_secondsfloatThe total amount of time in seconds that the customer was placed on hold. This field applies to VOICE.53.472NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002019-11-01 00:00:00None

Table: convos_summary_tags

The conovos_summary_tags table contains information regarding all AI generated auto-summary tags populated by the system when a rep opens the “end chat” modal.

Sync Time: 1h

Unique Condition: company_id, issue_id, summary_tag_presented

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-12-20 00:00:002019-12-20 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
queue_idintegerThe identifier of the group to which the rep (who dispositioned the issue) belongs.20001NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
queue_namecharacter varying(128)The name of the group to which the rep (who dispositioned the issue) belongs.acme-mobile-englishNoneNone2019-12-20 00:00:002019-12-20 00:00:00None
disposition_tstimestampThe time at which the rep dispositioned this issue (Exits the screen/frees up a slot).2020-01-18T00:21:41.423000+00:00NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
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)‘NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
summary_tag_selected_boolbooleanBoolean field returns true if a rep selects the summary_tag_presented.false, trueNoneNone2019-12-20 00:00:002019-12-20 00:00:00None
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’NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-12-20 00:00:002019-12-20 00:00:00None

Table: csid_containment

This table tracks conversations by placing them into a customer session. A customer session may be related to more than one issue_id. This table provides consolidated data for a session based upon a 30 minute window.

Sync Time: 1h

Unique Condition: csid, company_name

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
customer_idbigintThe customer identifier on which this session is based, after merge if applicable.123008NoneNone2018-11-06 00:00:002018-11-07 00:00:00None
external_customer_idvarchar(255)The customer identfier in the partner system.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
csidvarchar(255)The unique identifier of a period of continuous activity for the given customer ID starting at the given timestamp.‘24790001_2018-09-24T22:17:41.341’NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
csid_start_tstimestamp without time zoneThe start time of this period of activity.2019-12-23T16:00:10.072000+00:00NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
csid_end_tstimestamp without time zoneThe time of most recent event in this activity session, or final event if concluded.2019-12-23T16:00:10.072000+00:00NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
agents_involveddeprecated: 2019-09-25NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
included_issuescharacter varying(65535)The issues involved in this period of customer activity. Issue identifiers will be pipe-delimited.‘2044970001|2045000001|2045010001’NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
is_containedbooleanA boolean value indicating whether reps were involved with any of the issues during this csid.true, falseNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
event_countbigintThe number of customer (only) events active during this csid.21NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
fgsrs_event_countbigintThe number of FGSRS events during this csid.5NoneNone2019-08-30 00:00:002019-08-30 00:00:00None
was_enqueuedbooleanA boolean value indicating if there were enqueued events for this session.true, falseNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
rep_msgsbigintThe number of rep (only) text messages sent during this csid.6NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
messages_sentbigintThe number of customer (only) text messages typed or quick-replies clicked during this csid.4NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
has_customer_utterancebooleanA boolean value indicating the csid contains customer messages.true, falseNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
attempted_escalatebooleanA boolean value indicating if the customer or flow tried (or succeeded) to reach a rep.false, trueNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
last_platformVARCHAR(191)The last known device or channel on which the customer communicated.ANDROID, WEB, IOSNoneNone2018-11-06 00:00:002018-11-06 00:00:00None
last_device_typeVARCHAR(191)The last device type used by the customermobile, tablet, desktop, watch, unknownNoneNone2019-06-18 00:00:002019-06-18 00:00:00None
first_auth_sourcecharacter varying(65535)The first source of the authentication event for a csid.ivr-urlNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_sourcecharacter varying(65535)The last source of the authentication event for a csid.ivr-urlNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
distinct_auth_source_pathcharacter varying(65535)A comma-separated list of all distinct source authentication events for a csid.ivr-url, facebookNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_user_typecharacter varying(65535)The first external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_user_typecharacter varying(65535)The last external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_user_idcharacter varying(65535)A client provided field. The first external user identifier associated with an authentication event.64b0959a65a63dec32e1be04fe755be1NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_user_idcharacter varying(65535)A client provided field. The last external user id associated with an authentication event.64b0959a65a63dec32e1be04fe755be1NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_token_idcharacter varying(65535)A client provided field. The first encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_token_idcharacter varying(65535)A client provided field. The last encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
reps_involvedvarchar(4096)The reps that were associated with any involved issues during this activity session. If more than one rep is involved then the list is pipe-delimited.‘209000|2020001’NoneNone2018-11-06 00:00:002018-11-06 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

Table: csid_containment_1d

This table tracks conversations by placing them into a customer session of 24 hours. A customer session may be related to more than one issue_id.

Sync Time: 1h

Unique Condition: csid, company_name

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
customer_idbigintThe customer identifier on which this session is based, after merge if applicable.123008NoneNone2018-01-15 00:00:002018-11-07 00:00:00None
external_customer_idvarchar(255)The customer identfier in the partner system.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
csidvarchar(255)The unique identifier of a period of continuous activity for the given customer ID starting at the given timestamp.‘24790001_2018-09-24T22:17:41.341’NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
csid_start_tstimestamp without time zoneThe start time of this period of activity.2019-12-23T16:00:10.072000+00:00NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
csid_end_tstimestamp without time zoneThe time of most recent event in this activity session, or final event if concluded.2019-12-23T16:00:10.072000+00:00NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
agents_involveddeprecated: 2019-09-25NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
included_issuescharacter varying(65535)The issues involved in this period of customer activity. Issue identifiers will be pipe-delimited.‘2044970001|2045000001|2045010001’NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
is_containedbooleanA boolean value indicating whether reps were involved with any of the issues during this csid.true, falseNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
event_countbigintThe number of customer (only) events active during this csid.21NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
fgsrs_event_countbigintThe number of FGSRS events during this csid.5NoneNone2019-08-30 00:00:002019-08-30 00:00:00None
was_enqueuedbooleanA boolean value indicating if there were enqueued events for this session.true, falseNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
rep_msgsbigintThe number of rep (only) text messages sent during this csid.6NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
messages_sentbigintThe number of customer (only) text messages typed or quick-replies clicked during this csid.4NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
has_customer_utterancebooleanA boolean value indicating the csid contains customer messages.true, falseNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
attempted_escalatebooleanA boolean value indicating if the customer or flow tried (or succeeded) to reach a rep.false, trueNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
last_platformVARCHAR(191)The last known device or channel on which the customer communicated.ANDROID, WEB, IOSNoneNone2018-01-15 00:00:002018-01-15 00:00:00None
last_device_typeVARCHAR(191)The last device type used by the customermobile, tablet, desktop, watch, unknownNoneNone2019-06-18 00:00:002019-06-18 00:00:00None
first_auth_sourcecharacter varying(65535)The first source of the authentication event for a csid.ivr-urlNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_sourcecharacter varying(65535)The last source of the authentication event for a csid.ivr-urlNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
distinct_auth_source_pathcharacter varying(65535)A comma-separated list of all distinct source authentication events for a csid.ivr-url, facebookNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_user_typecharacter varying(65535)The first external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_user_typecharacter varying(65535)The last external user type of the authentication event for a csid.client_CUSTOMER_ACCOUNT_IDNoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_user_idcharacter varying(65535)A client provided field. The first external user identifier associated with an authentication event.64b0959a65a63dec32e1be04fe755be1NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_user_idcharacter varying(65535)A client provided field. The last external user id associated with an authentication event.64b0959a65a63dec32e1be04fe755be1NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
first_auth_external_token_idcharacter varying(65535)A client provided field. The first encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
last_auth_external_token_idcharacter varying(65535)A client provided field. The last encrypted user ID from client system associated with an authentication event.82EFDDADC5466501443E3E61ED640162NoneNone2019-05-15 00:00:002019-05-15 00:00:00None
reps_involvedvarchar(4096)The reps that were associated with any involved issues during this activity session. If more than one rep is involved then the list is pipe-delimited.‘209000|2020001’NoneNone2018-01-15 00:00:002018-01-15 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
last_agent_idvarchar(191)deprecated: 2019-09-25123008NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
questioncharacter varying(65535)The question asked of the user.VOC Score, endSRS rating, What did the agent do well, or what could the agent have done better? (1000 character limit)NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
question_categorycharacter varying(65535)The question category type.rating, comment, levelOfEffortNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
question_typecharacter varying(65535)The type of question.rating, scale, radioNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
answercharacter varying(65535)The customer’s answer to the question.0, 1, 17, yesNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
orderingintegerThe question ordering.0, 1, 3, 5NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
last_rep_idvarchar(191)The last ASAPP rep/agent identifier found in a window of time.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2021-09-10 00:00:002021-09-10 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2021-09-10 00:00:002021-09-10 00:00:00None
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, voiceNoneNone2021-09-10 00:00:002021-09-10 00:00:00None
feedback_typecharacter varying(65535)The type of the feedback the customer provided.FEEDBACK_AGENT, etcNoneNone2021-09-10 00:00:002021-09-10 00:00:00None
feedback_form_typecharacter varying(65535)Describes what kind of feedback form the customer filled outASAPP_CSAT, GBMNoneNone2021-09-10 00:00:002021-09-10 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
event_tstimestampThe time at which this event was fired.2019-11-08 14:00:06.957000+00:00NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
company_subdivisionvarchar(255)The subdivision of the company.ACMEsubcorpNoneNone2019-01-25 00:00:002019-01-25 00:00:00None
company_segmentsvarchar(255)The segments of the company.marketing,promotionsNoneNone2019-01-25 00:00:002019-01-25 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
rep_idvarchar(191)deprecated: 2022-06-30123008NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
referring_page_urlcharacter varying(65535)The URL from which the user came.https://www.acme.com/wirelessNoneNone2019-01-25 00:00:002019-01-25 00:00:00None
event_idcharacter varying(256)The unique identifier for the customer param payload event.NoneNone2019-07-29 00:00:002019-07-29 00:00:00None
platformvarchar(255)The platform the customer is using to interact with ASAPP.08679ded-38b7-11ea-9c44-debfe2011fefNoneNone2019-07-29 00:00:002019-07-29 00:00:00None
session_idvarchar(128)The websocket UUID associated with the current request’s session.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2019-07-29 00:00:002019-07-29 00:00:00None
auth_statebooleanBoolean value indicating if the customer is authenticated with the client.true, falseNoneNone2019-07-29 00:00:002019-07-29 00:00:00None
paramscharacter varying(65535)A string representation of the JSON parameters.{\"Key1\":\"Value1\"; \"Key2\":\"Value2\"}NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
param_keycharacter varying(255)A value of a specific key within the parameter JSON.Key1NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
param_valuecharacter varying(65535)The value corresponding with the specific key in param_key.Value1NoneNone2019-01-25 00:00:002019-01-25 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
current_page_urlvarchar(2000)The url page where the customer entered ASAPP chat.https://www.asapp.comNoneNone2021-09-16 00:00:002021-09-16 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_idbigintDEPRECATED 2024-03-2510001NoneNone2022-01-27 00:00:002022-01-27 00:00:00None
queue_keybigintNumeric primary key for dim queues100001NoneNone2022-01-27 00:00:002022-01-27 00:00:00None
queue_idintegerThe ASAPP queue identifier which the issue was placed.210001NoneNone2022-01-27 00:00:002022-01-27 00:00:00None
queue_namecharacter varying(191)NoneNone2022-01-27 00:00:002022-01-27 00:00:00None

Table: flow_completions

The purpose of this table is to list out the flow success information, any negation data, and other associated metadata information for all issues. From this table, one can understand the success or failure result for any issue.

Sync Time: 1h

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-14 00:00:002019-09-12 00:00:00Noneno
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
platformvarchar(255)The customer’s platform.web, ios, android, applebiz, voiceNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
customer_idbigintThe ASAPP identifier for the customer. allowed_aggs: ‘count’ groupby: False123008NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
external_user_idvarchar(255)The partner’s user identifier for this customer. allowed_aggs: ‘count’ groupby: False64b0959a65a63dec32e1be04fe755be1NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
customer_session_idcharacter varying(65535)The ASAPP application session identifier for this customer. allowed_aggs: ‘count’ groupby: Falsec5d7afcc-89b9-43cc-90e2-b869bb2be883NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
success_rule_idcharacter varying(256)The tag denoting whether the flow was successful within this issue.LINK_RESOLVED, TOOLING_SUCCESSNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
success_event_detailscharacter varying(65535)Any additional metadata about this success rule.asapp-pil://acme/grande-shop, EndSRSPositiveMessageNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
success_event_tstimestamp without time zoneThe time at which the flow success occurred.2019-12-03T01:43:17.079000+00:00NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
negation_rule_idcharacter varying(256)The tag denoting the last negation event that reverted a previous success.TOOLING_NEGATION, NEG_QUESTION_NOT_ANSWEREDNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
negation_event_tstimestamp without time zoneThe time at which this negation occurred.2019-12-03T01:49:19.875000+00:00NoneNone2018-11-14 00:00:002018-11-14 00:00:00None
is_flow_success_eventbooleanTrue if this event was not negated directly, false otherwise.true, falseNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
is_flow_success_issuebooleanTrue if a success event occurred within this issue and no negation event occurred within this issue, false otherwise.true, falseNoneNone2018-11-14 00:00:002018-11-14 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002019-11-01 00:00:00None
last_relevant_event_tsA timestamp representing the last time a relevant event (either success or negation) was detected for this issue. This field can be used to deduplicate multiple records per issue_id.2020-01-02T19:13:27.698000+00:00NoneNone2019-12-10 00:00:002019-12-10 00:00:00None

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.

Sync Time: 1h

Unique Condition: event_ts, issue_id, event_type

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
event_tstimestampThe time of an given event. All times are in UTC.2019-11-08 14:00:06.957000+00:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
event_typevarchar(191)The type of event within a given flow.MESSAGE_DISPLAYEDNoneNone2018-08-14 00:00:002018-08-14 00:00:00Noneno
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-08-14 00:00:002018-08-27 00:00:00Noneno
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-dbd3a175fc1cNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
flow_idvarchar(255)An ASAPP identifier assigned to a particular flow executed during a customer event or request.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
flow_namevarchar(255)The ASAPP text name for a given flow which was executed during a customer event or request.FirstChatMessage, AccountNumberFlowNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
event_namecharacter varying(65535)The event name within a given flow.FirstChatMessage, SuccessfulPaymentNodeNoneNone2018-08-14 00:00:002018-08-14 00:00:00Noneno
link_resolved_pilcharacter varying(65535)An asapp internal URI for the link.asapp-pil://acme/bill-historyNoneNone2018-08-14 00:00:002018-08-14 00:00:00Noneno
link_resolved_pdlcharacter varying(65535)The resolved host deep link or web link.https://www.acme.com/BillHistoryNoneNone2018-08-14 00:00:002018-08-14 00:00:00Noneno
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
codecharacter varying(128)The ASAPP internal code for a given intent.ACCTNUMNoneNone2018-07-26 00:00:002018-07-26 00:00:00Noneno
namecharacter varying(256)The human friendly name for an intent.Get account numberNoneNone2018-07-26 00:00:002018-07-26 00:00:00Noneno
intent_typecharacter varying(128)The hierarchy placement for this intent.SYSTEM, LEAF, PARENTNoneNone2018-07-26 00:00:002021-11-24 00:00:00Noneno
short_descriptioncharacter varying(1024)A short description for the intent code.‘Users asking to get their account number.’, ‘Television error codes.‘NoneNone2018-07-26 00:00:002019-02-12 00:00:00Noneno
flow_namevarchar(255)The ASAPP flow code attached to this intent code.AccountNumberFlowNoneNone2018-12-13 00:00:002018-12-13 00:00:00Noneno
default_disambiguationbooleanTrue if the intents are part of the first “welcome” screen of disambiguation buttons presented to a customer, false otherwise.false, trueNoneNone2018-12-13 00:00:002018-12-13 00:00:00Noneno
actionscharacter varying(4096)This field describes what action this represents for the customer interface and app. This can be “flow” for a complex form, “link” for a simply URL, “text” for some help text. A blank action implies no action or automation.flow, link, test, NULLNoneNone2018-12-20 00:00:002018-12-20 00:00:00Noneno
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002021-04-09 00:00:00None
deleted_tsdate this intent was removed from the system, if this is blank or null, the intent is still active as of this export. An intent can be “undeleted” at a later date.NULL, 2018-12-13 01:23:34NoneNone2021-11-23 00:00:002021-11-23 00:00:00Noneno

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 issue_callback table is applicable only to specific clients.

Sync Time: 1h

Unique Condition: issue_id

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-11-14 00:00:002019-11-14 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-11-14 00:00:002019-11-14 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
issue_created_tstimestampThe timestamp of when the issue ID was created.2018-09-05 19:58:06NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
issue_disconnect_tstimestamp without time zoneThe issue disconnect timestamp is the time this issue ID was disconnected.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
issue_cutoff_tstimestamp without time zoneThe timestamp of when the call back period expires for an issue. Configured to timeout(3 days) + issue_disconnect_ts.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
next_callback_issue_idbigintIdentifier of the next issue that the same identified customer made. Next_callback_issuse must be made between issue_disconnect_ts and issue_cutoff_ts. Null if no such issue exists.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
next_callback_issue_created_tstimestamp without time zoneTimestamp of when the next_callback_issue was created.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
time_btwn_next_callback_issue_secsThe time in seconds between issue_disconnect_ts and next_callback_issue_created_ts.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
callback_prev_issue_idbigintThe issue ID of any previous issue that the same identified customer made. Callback_prev_issue must be disconnected within a 3 day period from issue_id create_ts. This field is NULL if no such issue exists.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
callback_prev_issue_created_tstimestamp without time zoneThe timestamp of when a callback_prev_issue was created.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
callback_prev_issue_disconnect_tstimestamp without time zoneThe timestamp of when a callback_prev_issue was disconnected.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
time_btwn_callback_prev_issue_secsThe time in seconds between callback_prev_issue_disconnect_ts and issue_created_ts.NoneNone2019-11-14 00:00:002019-11-14 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-14 00:00:002019-11-14 00:00:00None

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: issue_id

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-09-22 00:00:002019-09-22 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
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:00NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_turns__turn_ctintNumber of turns.1NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_turns__turn_duration_ms_sumbigintTotal number of milliseconds between PROCESSING_START and PROCESSING_END across all turns.2NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_turns__utterance_ctintNumber of generative_agent utterances.2NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_turns__contains_escalationbooleanBoolean indicating the presence of a turn in the conversation that ended with an indication to escalate to a human agent.1NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_tasks__first_task_namevarchar(255)Name of the first task entered by generative_agent.SomethingElseNoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_tasks__last_task_namevarchar(255)Name of the last task entered by generative_agent.SomethingElseNoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_tasks__task_ctintNumber of tasks entered by generative_agent.2NoneNone2019-09-22 00:00:002019-09-22 00:00:00None
generative_agent_tasks__configuration_idvarchar(255)The configuration version that produced generative_agent actions.4ea5b399-f969-49c6-8318-e2c39a98e817NoneNone2019-09-22 00:00:002019-09-22 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2024-07-01 00:00:002024-07-01 00:00:00None
issue_created_tstimestamptimestamp of the “NEW_ISSUE” event for an issue2018-09-05 19:58:06NoneNone2024-07-01 00:00:002024-07-01 00:00:00None
company_idbigintThe ASAPP identifier of the company or test data source.10001NoneNone2024-07-01 00:00:002024-07-01 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2024-07-01 00:00:002024-07-01 00:00:00None
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,DEEPLINKNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
treatment_typevarchar(64)Classification if proactive messaging handling is configured to route customer to automated flow or live agentQUEUE_PAUSEDNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
rule_namecharacter varying(65535)name of the set of logic that the customer met in order to qualify for presentation of a proactive message invitation or reactive button displayNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
is_new_conversationbooleanif the issue is created when the customer was not already in the middle of an active issue.NoneNone2019-11-15 00:00:002019-11-15 00:00:00None
is_new_userbooleanif this is the first issue for the customerNoneNone2019-11-15 00:00:002019-11-15 00:00:00None
current_page_urlvarchar(2000)the page that the sdk was shown onhttps://www.asapp.comNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
referring_page_urlcharacter varying(65535)the page that linked into the current pageNoneNone2024-07-01 00:00:002024-07-01 00:00:00None
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-045cd61d5a22NoneNone2024-07-01 00:00:002021-06-01 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2024-07-01 00:00:002024-07-01 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2020-06-02 00:00:002020-06-02 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2020-06-02 00:00:002020-06-02 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2020-06-02 00:00:002020-06-02 00:00:00None
omni_sourcecharacter varying(191)The source of the information.‘ABC’NoneNone2020-06-03 00:00:002020-06-03 00:00:00None
opaque_idvarchar(191)deprecated: 2020-09-11’urn:mbid:XXXXXX’NoneNone2020-06-03 00:00:002020-11-09 00:00:00None
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’NoneNone2020-06-03 00:00:002020-11-09 00:00:00None
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’NoneNone2020-06-03 00:00:002020-11-09 00:00:00None
first_utterancecharacter varying(191)Text of the first customer utterance for an issue.NoneNone2020-06-03 00:00:002020-06-03 00:00:00None
event_tstimestampdeprecated: 2020-09-112019-11-08 14:00:06.957000+00:00NoneNone2020-06-02 00:00:002020-06-02 00:00:00None
third_party_customer_idcharacter varying(65535)An encrypted identifier which is permanently mapped to an ASAPP customer.‘urn:mbid:XXXXXX’NoneNone2020-07-23 00:00:002020-07-23 00:00:00None
external_context_1character varying(65535)Traffic source or customer context from platforms external to ASAPP. External Context 1 includes Apple Business Chat Group ID and Google Business Messaging Entry Point.‘credit_card_department’NoneNone2020-07-23 00:00:002020-07-23 00:00:00None
external_context_2character varying(65535)Traffic source or customer context from platforms external to ASAPP. External Context 2 includes Apple Business Chat Intent ID and Google Business Messaging Place ID.‘account_question’NoneNone2020-07-23 00:00:002020-07-23 00:00:00None
created_tstimestampThe date and time at which the message was sent.‘2019-11-08T14:00:06.95700000:00’NoneNone2020-07-23 00:00:002020-07-23 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
enter_queue_tstimestamp without time zoneThe time an issue entered the queue.2019-12-26T18:25:22.836000+00:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
exit_queue_tstimestampThe time an issue exited the queue.2019-12-26T18:25:28.552000+00:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
queue_idintegerThe ASAPP queue identifier which the issue was placed.20001NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
queue_namecharacter varying(65535)The queue name which the issue was placed.Acme Residential, Acme WirelessNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
abandonedbooleanA boolean value indicating whether this issue was abandoned.true, falseNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
enqueue_timedouble precisionA decimal value representing how long in seconds that the issue was in the queue.5.716000080108643NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
exit_queue_eventtypecharacter varying(65535)The reason the customer exited the queue.CUSTOMER_TIMEDOUT, NEW_REPNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
enter_queue_eventtypecharacter varying(65535)The reason the customer entered the queue.TRANSFER_REQUESTED, SRS_HIER_AND_TREEWALKNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
enter_queue_eventflagsbigintThe actor causing the enqueue.(1=customer, 2=rep, 4=bot)NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
enter_queue_flow_namecharacter varying(65535)The name of the flow which the issue was in before being enqueued.LiveChatAgentsBusyFlowNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
enter_queue_message_namecharacter varying(65535)The message name within the flow which the user was in before being enqueued.someoneWillBeWithYou, shortWaitFormNodeNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
exit_queue_eventflagsbigintThe actor causing the dequeue.(1=customer, 2=rep, 4=bot)NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

Table: issue_sentiment

The purpose of the issue sentiment table is to calculate the ‘sentiment score’ for a specific issue. This table also contains a reason for the value of the score.

Sync Time: 1d

Unique Condition: issue_id

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-07-26 00:00:002018-09-29 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-07-26 00:00:002018-07-26 00:00:00None
scoredouble precisionThe sentiment score applied to this issue.0.5545974373817444, -1000.0NoneNone2018-07-26 00:00:002018-07-26 00:00:00None
statuscharacter varying(65535)The reason for the sentiment score. This field may be NULL.CONVERSATION_TOO_SHORTNoneNone2018-07-26 00:00:002018-07-26 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNoneNone
company_idbigintDEPRECATED 2024-03-2510001NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNoneNone
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
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’NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
issue_created_tstimestampTimestamp this issue_id was created.2018-09-05 19:58:06NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
first_issue_idbigintThe first issue_id for this session.21352352NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
first_issue_created_tstimestampThe timestamp of the NEW_ISSUE event for the first issue_id associated with this session.2018-09-05 19:58:06NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
last_issue_idbigintThe last issue_id associated with this session.21352352NoneNone2020-02-05 00:00:002020-02-05 00:00:00None
last_issue_created_tstimestampThe timestamp of the NEW_ISSUE event for the last issue_id associated with this session.2018-09-05 19:58:06NoneNone2020-02-05 00:00:002020-02-05 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
prechat_survey_tstimestamp without time zoneThe timestamp when the survey was submitted to route the issue to an expert.2019-08-07 19:34:18.844NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
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.325NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
queue_idintegerThe identifier of the queue where the issue was routed.20001NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-08-12 00:00:002019-08-12 00:00:00None
issue_typecharacter varying(65535)The current type of the issue (question or escalation).ESCALATIONNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
initial_typecharacter varying(65535)The original type of the issue when it was opened.QUESTIONNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
subsidiary_namecharacter varying(65535)Name of the company to which this issue is associated.ACMEsubsidNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
channel_typecharacter varying(65535)If the issue was initially an ESCALATION, indicates the channel (voice or chat) or null otherwise.CALLNoneNone2019-08-12 00:00:002019-08-12 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
article_idcharacter varying(65535)The knowledge base identifier for the article.5, 16580001NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
interactioncharacter varying(8)An indicator of whether the article was viewed or attached to a chat.‘Viewed’, ‘Attached’NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
is_favoriteBoolean value indicating whether the article is marked as a favorite or not.TRUE, FALSENoneNone2019-12-20 00:00:002019-12-20 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-12-20 00:00:002019-12-20 00:00:00None
event_tstimestampThe time of an given event. All times are in UTC.2019-11-08 14:00:06.957000+00:00NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
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_MESSAGENoneNone2019-12-20 00:00:002019-12-20 00:00:00None
event_namecharacter varying(191)A string that determines if the action comes from an Interaction event or a Recommendation event’INTERACTION’, ‘SUGGESTION’NoneNone2019-12-20 00:00:002019-12-20 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2020-03-30 00:00:002020-03-30 00:00:00None
rep_assigned_tstimestamp without time zonetimestamp of the NEW_REP eventNoneNone2020-10-15 00:00:002020-10-15 00:00:00None
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’NoneNone2020-10-15 00:00:002020-10-15 00:00:00None
discovery_typecharacter varying(256)How article was presented/discovered. (recommendation, quick_access_kbr, favorite, search, filebrowser)recommendationNoneNone2021-03-09 00:00:002021-03-09 00:00:00None
positionintegerPosition of article recommendation when multiple recommendations are presented. Default is 1 when a single recommendation is presented.1NoneNone2021-03-09 00:00:002021-03-09 00:00:00None
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’NoneNone2021-03-09 00:00:002021-03-09 00:00:00None
article_nameShort description of the article.500NoneNone2021-03-09 00:00:002021-03-09 00:00:00None
is_paperclip_enabledBoolean value indicating whether the article can be paperclipped.TRUENoneNone2021-03-09 00:00:002021-03-09 00:00:00None
external_article_idIdentifier for external article id.4567NoneNone2021-03-09 00:00:002021-03-09 00:00:00None

Table: live_agent_opportunities

The live_agent_opportunities table captures metrics regarding the opportunity which was presented to the agent by the conversation. Expect to see data such as the rep_id, the customer_id and various flags such as “by_design”, “by_request”, “first_opportunity” as well as times associated with lead_time and wrapup_time. This data is captured in 15 minute window increments.

Sync Time: 1h

Unique Condition: issue_id, customer_id, opportunity_ts

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
rep_idvarchar(191)The identifier of the rep this opportunity was assigned to or null if it was never assigned.123008NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
opportunity_tstimestampTimestamp of the opportunity event.2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
platformvarchar(255)The last platform associated with the issue.web, ios, android, applebiz, voiceNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
device_typevarchar(255)The last device type used by the customer for an issue.mobile, tablet, desktop, watch, unknownNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
first_opportunitybooleanIndicator of whether this is the first opportunity for this issue.true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
triggered_when_busybooleanIndicator of whether the customer was asked if they wanted to wait for an agent.trueNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
triggered_outside_hoursbooleanIndicator of whether the customer was told they are outside of business hours.falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
queue_idintegerIdentifier of the agent group this opportunity will be routed to.2001NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
queue_namecharacter varying(128)Name of the queue this opportunity will be routed to.ResidentialNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
intent_codecharacter varying(128)The most recent intent code used for routing this issue.SALESFAQ, BILLINFONoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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_TREEWALKNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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_TREEWALKNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
flow_namevarchar(255)The flow associated with the routing intent, if any.ForceChatFlowNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
by_requestbooleanIndicator of whether the customer explicitly request to speak to an agent (i.e. intent code has an AGENT as a parent).true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
by_end_srsbooleanIndicator of whether this opportunity occurred because of a negative end srs response.true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
by_api_errorbooleanIndicator of whether this opportunity occurred because of an error in partner API.true, falseNoneNone2019-10-21 00:00:002019-10-21 00:00:00None
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, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
enqueued_tstimestampThe time which this opportunity was sent to a queue, or null if it never was enqueued.2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
exit_queue_tstimestampTime at which the customer exited the queue.2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
abandoned_tsTIMESTAMPThe datetime when the customer abandoned the queue.2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
assigned_tstimestampThe time this opportunity was assigned to a rep, null if never assigned.2020-01-03T18:54:45.140000+00:00NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
escalation_initiated_tstimestampThe lesser of enqueued and assigned time, null if never escalated.2020-01-06 23:13:50.617NoneNone2019-06-04 00:00:002019-06-04 00:00:00None
rep_first_response_tsTIMESTAMPThe time when a rep first responded to the customer.2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
dispositioned_tstimestampThe time at which the rep dispositioned this issue (Exits the screen/frees up a slot).2020-01-06 23:13:50.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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.617NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
disposition_event_typevarchar(255)The event or person which ended the issue.resolved, timedoutNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
cust_utterance_countbigintCount of customer utterances from issue_assigned_ts to dispositioned_ts4NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
rep_utterance_countbigintCount of rep utterances from issue_assigned_ts to dispositioned_ts5NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
cust_response_ctintTotal count of responses by customer. Max of one message following a rep message counted as a response.3NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
rep_response_ctintTotal count of responses by agent. Max of one message following a customer message counted as a response.10NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
is_ghost_customerbooleanTrue if the customer was assigned to a rep but never responded to the rep.true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
handle_time_secondsdouble precisionTime in seconds spent an agent working on a particular assignment. Time between assignment and disposition event824.211NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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.754NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
wrap_up_time_secondsdouble precisionTime in seconds spent by an agent wrapping up the conversation. Defined as total_handle_time-total_lead_time.61.989NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
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:00NoneNone2019-07-01 00:00:002019-07-01 00:00:00None
is_transferbooleanIndicator whether this opportunity is due to a transfer.true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
is_reengagementbooleanIndicator whether this opportunity is due to the user returning from a timeout.true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
is_conversation_initiationbooleanIndicator of whether this opportunity is from a conversation initiation (i.e. not from transfer or reengagement).true, falseNoneNone2019-07-01 00:00:002019-07-01 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
from_queue_idbigintThe identifier of the group from which the issue was transferred.30001NoneNone2019-12-18 00:00:002019-12-18 00:00:00None
from_queue_namecharacter varying(191)The name of the group from which the issue was transferred.service, GeneralNoneNone2019-12-18 00:00:002019-12-18 00:00:00None
from_rep_idbigintThe identifier of the rep from which the issue was transferred.81001NoneNone2019-12-18 00:00:002019-12-18 00:00:00None
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.trueNoneNone2020-01-14 00:00:002020-01-14 00:00:00None
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, 7NoneNone2020-02-19 00:00:002020-02-19 00:00:00None
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_DESKNoneNone2020-02-19 00:00:002020-02-19 00:00:00None
merged_from_issue_idbigintThe issue id before the merge21352352NoneNone2020-06-30 00:00:002020-06-30 00:00:00None
merged_tstimestampthe time the merge occurred2019-11-08T14:00:06.957000+00:00NoneNone2020-06-30 00:00:002020-06-30 00:00:00None
exclusive_phrase_auto_complete_msgsbigintCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
autopilot_ending_msgs_ctintegerNumber of autopilot endings2NoneNone2024-04-19 00:00:002024-04-19 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
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:00NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
check_in_tstimestamp without time zoneTimestamp at which the check in message was prompted to the customer.2018-06-10 14:23:00NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
wait_time_threshold_tstimestamp without time zoneTimestamp at which the queue wait time threshold was reached.2018-06-10 14:22:58NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
check_in_resultcharacter varying(9)The result of the check in message, either the customer ‘Accepted’ or was ‘Dequeued’.‘Dequeued’NoneNone2020-01-02 00:00:002020-01-02 00:00:00None
check_in_result_tstimestamp without time zoneTimestamp at which the result of the check in message was received.2018-06-10 14:24:00NoneNone2020-01-02 00:00:002020-04-24 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-03-23 00:00:002019-03-23 00:00:00None
wait_time_threshold_ct_distinctbigintQuantity of times the queue wait time threshold was reached before getting the check in message.2NoneNone2020-04-25 00:00:002020-04-25 00:00:00None
queue_idintegerThe ASAPP queue identifier which the issue was placed.20001NoneNone2020-06-11 00:00:002020-06-11 00:00:00None
queue_namecharacter varying(256)The queue name which the issue was placed.Acme Residential, Acme WirelessNoneNone2020-06-11 00:00:002020-06-11 00:00:00None
opportunity_tstimestampTimestamp of the opportunity event2023-01-02 19:58:06NoneNone2020-01-02 00:00:002020-01-02 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-02-12 00:00:002019-02-12 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-02-12 00:00:002019-02-12 00:00:00None
final_intent_codecharacter varying(255)The last intent code of the flow which the user navigated.PAYBILLNoneNone2019-02-12 00:00:002019-02-12 00:00:00None
escalated_to_chatbigint1 if an issue escalated to live chat, 0 if not.1NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
escalation_requestedinteger1 if customer was asked to wait for an agent or if a customer asked to speak to an agent.1NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
quick_reply_button_textcharacter varying(65535)The text of the quick reply button.‘Billing’NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
quick_reply_button_indexintegerThe position of the quick reply button shown.(1,2,3)NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
quick_reply_displayed_countbigintThe number of times this button was shown.42NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
quick_reply_selected_countbigintThe number of times this button was selected.42NoneNone2019-02-12 00:00:002019-02-12 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
created_tstimestampThe timestamp of when we get an event in kafka.2019-02-19T21:31:43+00:00NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
crm_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-09-21 00:00:002018-09-21 00:00:00None
namevarchar(255)The rep name as imported from the CRM.Smith, AnneNoneNone2018-09-21 00:00:002018-09-21 00:00:00None
max_slotsmallintThe number of slots or concurrent conversations this rep can have at the same time.4NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
disabled_timetimestamp without time zoneThe time when this rep was removed from the ASAPP system.2019-02-27T12:56:34+00:00NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
agent_statusdeprecated: 2019-09-25NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2018-09-21 00:00:002018-09-21 00:00:00None
crm_rep_idThe rep identifer from the client system.monica.rosaNoneNone2019-09-26 00:00:002019-09-26 00:00:00None
rep_statusvarchar(255)The last known status of the rep at UTC midnight.80001NoneNone2019-09-26 00:00:002019-09-26 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
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:00NoneNone2019-12-16 00:00:002019-12-16 00:00:00None
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:00NoneNone2019-12-16 00:00:002019-12-16 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
company_subdivisionvarchar(255)The company subdivision relates to the customer issue and is not relevant to reps. Intentionally left blank.ACMEsubcorpNoneNone2018-10-01 00:00:002018-10-01 00:00:00None
company_segmentsvarchar(255)The company segments field relates to the customer issue and is not relevant to reps. Intentionally left blank.marketing,promotionsNoneNone2018-10-01 00:00:002018-10-01 00:00:00None
agent_namedeprecated: 2019-09-25NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
status_idcharacter varying(65535)The ASAPP identifier for a given status.OFFLINE, 1NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
status_descriptioncharacter varying(65535)The human text name for a given status.NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
orig_status_descriptioncharacter varying(191)The text of the status before alteration for disconnects.Available, Away, Coffee Break, ActiveNoneNone2020-01-07 00:00:002020-01-07 00:00:00None
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:00NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
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.046NoneNone2019-03-05 00:00:002019-03-05 00:00:00None
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.428NoneNone2019-03-05 00:00:002019-03-05 00:00:00None
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.0NoneNone2019-03-05 00:00:002019-03-05 00:00:00None
window_status_timedouble precisionThe length of time which the agent was inside this status in seconds.0.107, 900.0NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
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.107NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
max_slotsintegerThe number of issue slots or concurrency values which the rep set for themselves for this window.3, 2NoneNone2018-10-01 00:00:002018-10-01 00:00:00None
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:00NoneNone2020-01-07 00:00:002020-01-07 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_namevarchar(191)The name of this rep. Jane DoeJohnNoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
desk_modevarchar(191)The mode of the desktop which the agent is logged into. Modes include CHAT or VOICE.‘CHAT’, ‘VOICE’NoneNone2019-12-10 00:00:002019-12-10 00:00:00None
last_dispositioned_tstimestampTimestamp at which rep gets unassigned for a given rep status started at a given time2018-06-10 14:24:00NoneNone2024-05-29 00:00:002024-05-29 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
company_idbigintDEPRECATED 2024-03-2510001NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
rep_assigned_tstimestamp without time zoneThe timestamp at which the issue was assigned to the rep.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
disposition_eventcharacter varying(65535)The event type associated with the disposition eventNoneNone2020-09-03 00:00:002020-09-03 00:00:00None
disposition_notes_txtcharacter varying(65535)Disposition notes associated with the disposition eventNoneNone2020-09-03 00:00:002020-09-03 00:00:00None
disposition_notes_validbooleanBoolean value to indicate if the notes are different than blank or null.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
crm_offered_tstimestamp without time zoneTimestamp of the last CRM offered event.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
crm_outcome_tstimestamp without time zoneTimestamp of the last CRM outcome event.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
crm_is_successbooleanBoolean value to indicate if the disposition event is successfully sent to partner CRMNoneNone2020-09-03 00:00:002020-09-03 00:00:00None
crm_error_typecharacter varying(65535)This field indicates the type of an error occured in the pipeline.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
crm_error_sourcecharacter varying(65535)This field indicates where in the pipeline the event is failed to publish.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
presented_tagscharacter varying(65535)Unique list of all summary tags presented to agent for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
selected_tagscharacter varying(65535)Unique list of all summary tags selected by agent for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
notes_presented_tagscharacter varying(65535)Unique list of the summary tags presented to agent at the OTF NOTES state for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
notes_selected_tagscharacter varying(65535)Unique list of the summary tags selected by agent at the OTF NOTES state for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
assignment_end_presented_tagscharacter varying(65535)Unique list of the summary tags presented to agent at the end of assignment state.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
assignment_end_selected_tagscharacter varying(65535)Unique list of the summary tags selected by agent at the end of assignment state.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
presented_tags_ct_distinctbigintDistinct count of all summary tags presented to agent for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
selected_tags_ct_distinctbigintDistinct count of all summary tags selected by agent for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
notes_presented_tags_ct_distinctbigintDistinct count of the summary tags presented to agent at the OTF NOTES state for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
notes_selected_tags_ct_distinctbigintDistinct count of the summary tags selected by agent at the OTF NOTES state for this assignment.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
assignment_end_presented_tags_ct_distinctbigintDistinct count of the summary tags presented to agent at the end of assignment state.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
assignment_end_selected_tags_ct_distinctbigintDistinct count of the summary tags selected by agent at the end of assignment state.NoneNone2020-09-03 00:00:002020-09-03 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2020-09-03 00:00:002020-09-03 00:00:00None
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.NoneNone2023-02-16 00:00:002023-02-16 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
created_tstimestampThe date this agent was created.2019-06-24T18:02:05+00:00NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
attribute_namecharacter varying(64)The attribute key value.role, companygroup, jobcodeNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
attribute_valuecharacter varying(1024)The attribute value associated with the attribute_name.manager, representative, leadNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
agent_attribute_iddeprecated: 2019-09-25NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
external_agent_idvarchar(255)deprecated: 2019-09-25347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_attribute_idbigintThe ASAPP identifier for this attribute.1200001NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
external_rep_idvarchar(255)The rep/agent identifier from the client perspective.347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-11-27 00:00:002018-11-27 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-11-27 00:00:002018-11-27 00:00:00None
customer_idbigintThe ASAPP internal customer identifier.123008NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
external_customer_idvarchar(255)The customer identifier as provided by the client.NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
conversation_end_tstimestampThe time of the conversation end event.2018-06-23 21:23:53NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
auto_suggest_msgsbigintThe number of autosuggest prompts used by the rep.3NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
auto_complete_msgsbigintThe number of autocompletion prompts used by the rep.2NoneNone2018-11-27 00:00:002018-11-27 00:00:00None
did_customer_timeoutbooleanBoolean value indicating whether the customer timed out.false, trueNoneNone2018-11-27 00:00:002018-11-27 00:00:00None
is_rep_resolvedbooleanBoolean value indicating whether the rep marked this conversation resolved.true, falseNoneNone2018-11-27 00:00:002018-11-27 00:00:00None
is_billablebooleanBoolean value indicating whether the rep marked the conversation resolved after using autocomplete or autosuggest.true, falseNoneNone2018-11-27 00:00:002018-11-27 00:00:00None
custom_auto_suggest_msgsbigintThe number of custom autocompletion prompts used by the rep (is a subset of auto_suggest_msgs).2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
custom_auto_complete_msgsbigintThe number of custom autosuggest prompts used by the rep (is a subset of auto_complete_msgs).2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
drawer_msgsbigintThe number of custom drawer messages used by the rep.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
kb_search_msgsbigintThe number of messages used from knowledge base search.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
kb_recommendation_msgsbigintThe number of messages used from knowledge base recommendations.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_idvarchar(191)Last rep_id that worked on this issue.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
is_autopilot_timeout_msgsNumber of autopilot timeout messages.2NoneNone2020-06-11 00:00:002020-06-11 00:00:00None
phrase_auto_complete_presented_msgsintegerCount of utterances where at least one phrase autocomplete was suggested/presented.NoneNone2020-06-24 00:00:002020-06-24 00:00:00None
cume_phrase_auto_complete_presentedintegerTotal number of phrase autocomplete suggestions per issue.NoneNone2020-06-24 00:00:002020-06-24 00:00:00None
phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent.NoneNone2020-06-24 00:00:002020-06-24 00:00:00None
cume_phrase_auto_completeintegerTotal number of phrase autocompletes per issue.NoneNone2020-06-24 00:00:002020-06-24 00:00:00None
exclusive_phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.NoneNone2020-06-24 00:00:002020-06-24 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-09-01 00:00:002018-09-01 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-09-01 00:00:002018-09-01 00:00:00None
issue_assigned_tstimestamp without time zoneThe time when an issue was first assigned to this rep.2019-10-31T18:37:37.848000+00:00NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
agent_first_response_tsdeprecated: 2019-09-25NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
dispositioned_tstimestampThe time when the issue left the rep’s screen.2019-10-31T18:46:39.869000+00:00NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
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:00NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
disposition_event_typevarchar(255)Who or what ended an issue.rep, customer, batch (system/auto ended), batchNoneNone2018-09-01 00:00:002018-09-01 00:00:00None
cust_utterance_countbigintThe count of customer utterances from issue_assigned_ts to dispositioned_ts.5NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
rep_utterance_countbigintThe count of rep utterances from issue_assigned_ts to dispositioned_ts.5NoneNone2018-09-01 00:00:002018-09-01 00:00:00None
handle_timeTime in seconds a rep spent working on a particular assignment. The time between assignment and the disposition event.428.9NoneNone2019-03-19 00:00:002019-03-20 00:00:00None
lead_timeThe time in seconds a rep spent leading the conversation. The time between assignment and time of last utterance by THE CUSTOMER. If there is no utterance by the customer, then lead time equals the total_handle_time.320.05NoneNone2019-03-19 00:00:002019-03-20 00:00:00None
wrap_up_timeThe time in seconds a rep spent wrapping the conversation. Defined as total_handle_time-total_lead_time.3.614NoneNone2019-03-19 00:00:002019-03-20 00:00:00None
rep_response_ctintThe total count of responses by the rep. Max of one message following a customer message counted as a response.5NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
cust_response_ctintThe total count of responses by the customer. Max of one message following a rep message counted as a response.12NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
auto_suggest_msgsbigintThe number of autosuggest prompts used by the rep (inclusive of custom_auto_suggest_msgs).5NoneNone2019-07-29 00:00:002019-07-29 00:00:00None
auto_complete_msgsbigintThe number of autocompletion prompts used by the rep (inclusive of custom_auto_complete_msgs).5NoneNone2019-07-29 00:00:002019-07-29 00:00:00None
custom_auto_suggest_msgsbigintThe number of custom autocompletion prompts used by the rep (is a subset of auto_suggest_msgs).2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
custom_auto_complete_msgsbigintThe number of custom autosuggest prompts used by the rep (is a subset of auto_complete_msgs).2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
drawer_msgsbigintThe number of custom drawer messages used by the rep.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
kb_search_msgsbigintThe number of messages used by the rep from the knowledge base searches.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
kb_recommendation_msgsbigintThe number of messages used by the rep from the knowledge base recommendations.2NoneNone2019-09-25 00:00:002019-09-25 00:00:00None
is_ghost_customerbooleanBoolean value indicating if the customer was assigned a rep but never responded.true, falseNoneNone2019-05-17 00:00:002019-05-17 00:00:00None
first_response_secondsbigintThe total time taken by the rep to send the first message, once the message was assigned.26.148NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
cume_rep_response_secondsbigintThe total time across the assignment for the rep to send response messages.53.243NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
max_rep_response_secondsdouble precisionThe maximum time across the assignment for the rep to send a response message.77.965NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
avg_rep_response_secondsdouble precisionThe average time across assignment for the rep to send response messages.22.359NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
cume_cust_response_secondsbigintThe total time across the assignment for the customer to send response messages.332.96NoneNone2019-05-17 00:00:002019-05-17 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_first_response_tsdatetimeThe time when a rep first responded to the customer.2019-10-31T18:38:03.996000+00:00NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
hold_ctbigintThe total count that this rep was part of a hold call. This field is not applicable to chat.1NoneNone2019-11-19 00:00:002019-11-19 00:00:00None
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.30NoneNone2019-11-19 00:00:002019-11-19 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
client_modevarchar(191)The communication mode used by the customer for a given issue (CHAT or VOICE).CHAT, VOICENoneNone2019-12-10 00:00:002019-12-10 00:00:00None
cume_cross_talk_secondsnumeric(38,5)Total duration of time where both agent and customer were speaking. Only relevant for voice client mode.NoneNone2019-12-28 00:00:002019-12-28 00:00:00None
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, 7NoneNone2020-02-19 00:00:002020-02-19 00:00:00None
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_DESKNoneNone2020-02-19 00:00:002020-02-19 00:00:00None
queue_idintegerThe ASAPP queue identifier which the issue was placed.20001NoneNone2021-04-08 00:00:002021-04-08 00:00:00None
autopilot_timeout_msgsintegerNumber of autopilot timeout messages.2NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
exclusive_phrase_auto_complete_msgsintegerCount of utterances where at least one phrase autocomplete was accepted/sent and no other augmentation was used.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
custom_click_to_insert_msgsintegerTotal count of custom click_to_insert messages.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
ms_auto_suggest_msgsintegerTotal count of multi-sentence auto-suggest messages.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
ms_auto_complete_msgsintegerTotal count of multi-sentence auto-complete messages.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
ms_auto_suggest_custom_msgsintegerTotal count of custom multi-sentence auto-suggest messages.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
ms_auto_complete_custom_msgsintegerTotal count of custom multi-sentence auto-complete messages.NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
autopilot_form_msgsbigintNumber of autopilot form messages.2NoneNone2021-08-02 00:00:002021-08-02 00:00:00None
click_to_insert_global_msgsintegerNumber of click to insert messages.2NoneNone2023-02-15 00:00:002023-02-15 00:00:00None
autopilot_greeting_msgsbigintNumber of autopilot greeting messages.2NoneNone2023-02-15 00:00:002023-02-15 00:00:00None
augmented_msgsbigintNumber of augmented messages.2NoneNone2023-02-22 00:00:002023-02-22 00:00:00None
autopilot_ending_msgs_ctintegerNumber of autopilot endings2NoneNone2024-04-19 00:00:002024-04-19 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
subordinate_agent_iddeprecated: 2019-09-25NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
superior_agent_iddeprecated: 2019-09-25NoneNone2018-08-14 00:00:002018-08-14 00:00:00None
reporting_relationshipcharacter varying(1024)Relationship between subordinate and superior reps, e.g. “superiors_superior” for skip-level reporting.superior, superiors_superiorNoneNone2018-08-14 00:00:002018-08-14 00:00:00None
subordinate_rep_idbigintASAPP rep identifier that is the subordinate of the superior_rep_id.110001NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
superior_rep_idbigintSuperior rep id that is the superior of the subordinate_rep_id.20001NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None

Table: rep_utilized

The purpose of the rep_utilized table is to calculate metrics associated with a rep’s activity states and utilization time. This table will list out utilization time and cumulative minutes per state. 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: instance_ts, rep_id, desk_mode, max_slots

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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:00NoneNone2020-01-29 00:00:002020-01-29 00:00:00None
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:00NoneNone2020-01-29 00:00:002020-01-29 00:00:00None
company_idbigintThe ASAPP identifier of the company or test data source.10001NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
company_subdivisionvarchar(255)Relates to the customer issue, not relevant to reps. Intentionally left blank.ACMEsubcorpNoneNone2019-03-11 00:00:002019-03-11 00:00:00None
company_segmentsvarchar(255)Relates to the customer issue, not relevant to reps. Intentionally left blank.marketing,promotionsNoneNone2019-03-11 00:00:002019-03-11 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
rep_namevarchar(191)The name of the rep.John DoeNoneNone2019-03-11 00:00:002019-03-11 00:00:00None
max_slotsintegerMaximum chat concurrency slots enabled for this rep.2NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
cum_logged_in_minbigintCumulative Logged In Time (min) — Total cumulative time (linear time x max slots) the rep logged into tthe agent desktop.120NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
lin_logged_in_minbigintLinear Logged In Time (min) — Total linear time rep logged into agent desktop.60NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.90NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
lin_avail_minbigintLinear Available Time (min) — Total linear time the rep logged into the agent desktop while in the “Available” state.45NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.30NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
lin_busy_minbigintLinear Busy Time (min) — Total linear time rep logged into agent desktop while in a “Busy” state.15NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.10NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.6NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.71NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
lin_ute_total_minbigintLinear Utilized Time (min) — Total linear time rep logged into agent desktop and utilized over all states.5.5NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.5NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.93NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.38NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.44NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.35NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.65NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
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.44NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
busy_clicks_ctbigintBusy Clicks — Number of times the rep moved from an active to a busy state.1NoneNone2019-05-10 00:00:002019-05-10 00:00:00None
ute_ratioUtilization ratio - cumulative utilized time divided by linear total potential labor time.1.71NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
act_ratioActive utilization ratio - cumulative utilized time in the available state divided by total labor time.1.67NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
desk_modevarchar(191)The mode of the desktop that the agent is logged into - whether CHAT or VOICE.‘CHAT’, ‘VOICE’NoneNone2019-12-10 00:00:002019-12-10 00:00:00None
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 slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
lin_utilization_level_full_minbigintTotal linear time in minute when rep’s assignments is equal to rep’s max slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
lin_utilization_level_light_minbigintTotal linear time in minute when rep’s assignments is less than rep’s max slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
workload_level_no_minbigintTotal time in minute when rep has no active assignment120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
workload_level_over_minbigintTotal time in minute when rep’s active assignment is greater than rep’s max slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
workload_level_full_minbigintTotal time in minute when rep’s active assignment is equal to rep’s max slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
workload_level_light_minbigintTotal time in minute when rep’s active assignment is less than rep’s max slot120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
flex_protect_minbigintTotal time in minute when rep is flex protected120NoneNone2020-11-09 00:00:002020-11-09 00:00:00None
cum_weighted_minNoneNone2019-03-11 00:00:002019-03-11 00:00:00None
cum_weighted_secondsbigintTotal effort_workload when a rep has active assignments10NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
cum_ute_weighted_avail_unflexed_secondsbigintTotal time weighted in seconds when a rep is available160NoneNone2019-03-11 00:00:002019-03-11 00:00:00None
cum_weighted_inactive_secondsbigintTotal effort_workload when a rep has no active assignments10NoneNone2019-03-11 00:00:002019-03-11 00:00:00None

Table: sms_events

Exports for each 15 min window of SMS flow events

Sync Time: 1h

Unique Condition: company_id, sms_flow_id

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_statespecific_usefeature_group
sms_flow_idcharacter varying(65535)The flow identifier.019bf9e4-a01a-4420-b419-459659a1b50eNoneNone2019-11-08 00:00:002019-11-08 00:00:00None
external_session_idcharacter varying(65535)The session identifier received from the client.772766038NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
message_sent_resultcharacter varying(6)The status of a SMS request received from the 3rd party SMS provider.‘Sent’NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
message_sent_result_status_codecharacter varying(65535)The failure reason received from 3rd party SMS provider.30001 (Queue Overflow), 30004 (Message Blocked)NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
message_character_countintegerThe SMS message’s character count.29NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
partner_triggered_tstimestamp without time zoneThe date and time in which a partner sends a SMS request to ASAPP.2018-03-03 12:23:52NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
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:52NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
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:52NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_idbigintThe ASAPP identifier of the company or test data source.10001NoneNone2019-11-08 00:00:002019-11-08 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-08 00:00:002020-03-23 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
timestamp_reqtimestamp without time zoneThe date and time when the transfer was requested.2019-06-11T13:27:09.470000+00:00NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
timestamp_replytimestamp without time zoneThe date and time when the transfer request was received.2019-06-11T13:31:58.537000+00:00NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
agent_idbigintdeprecated: 2019-09-25123008NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2018-08-04 00:00:002018-08-04 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-10-04 00:00:002018-10-04 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-10-04 00:00:002018-10-04 00:00:00None
requested_agent_transferdeprecated: 2019-09-25NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
group_transfer_tocharacter varying(65535)The group identifier where the issue was transferred.20001NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
group_transfer_to_namecharacter varying(191)The group name where the issue was transferred.acme-mobile-engNoneNone2018-08-04 00:00:002018-08-04 00:00:00None
group_transfer_fromcharacter varying(65535)The group identifier which transferred the issue.87001NoneNone2018-08-04 00:00:002018-08-04 00:00:00None
group_transfer_from_namecharacter varying(191)The group name which transferred the issue. acme-residential-engNoneNone2018-08-04 00:00:002018-08-04 00:00:00None
actual_agent_transferdeprecated: 2019-09-25NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
acceptedbooleanA boolean flag indicating whether the transfer was accepted.true, falseNoneNone2018-08-03 00:00:002018-08-03 00:00:00None
is_auto_transferbooleanA boolean flag indicating whether this was an auto-transfer.true, falseNoneNone2019-07-22 00:00:002019-07-22 00:00:00None
exit_transfer_event_typecharacter varying(65535)The event type which concluded the transfer.TRANSFER_ACCEPTED, CONVERSATION_ENDNoneNone2019-07-22 00:00:002019-07-22 00:00:00None
transfer_button_clicksbigintThe number of times a rep requested a transfer from transfer initiation to when the transfer was received.1NoneNone2019-08-22 00:00:002019-08-22 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
rep_idvarchar(191)The ASAPP rep/agent identifier.123008NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
requested_rep_transferbigintThe rep which requested the transfer.1070001NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
actual_rep_transferbigintThe rep which received the transfer.250001NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
requested_group_transfer_idbigintThe group identifier where the transfer was initially requested.123455NoneNone2019-12-13 00:00:002019-12-13 00:00:00None
requested_group_transfer_namecharacter varying(191)The group name where the transfer was initially requested.supportNoneNone2019-12-13 00:00:002019-12-13 00:00:00None
route_code_tovarchar(191)IVR routing code indicating the customer contact reason to which the issue is being transferred into2323NoneNone2018-08-03 00:00:002018-08-03 00:00:00None
route_code_fromvarchar(191)IVR routing code indicating the customer contact reason from the previous assignment2323NoneNone2018-08-03 00:00:002018-08-03 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
created_tstimestampThe date and time which the message was sent.2019-12-17T17:11:41.626000+00:00NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
conversation_idbigintdeprecated: 2019-09-2521352352NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
company_subdivisionvarchar(255)String identifier for the company subdivision associated with the conversation.ACMEsubcorpNoneNone2018-07-13 00:00:002018-07-13 00:00:00None
company_segmentsvarchar(255)String with comma separated segments for the company enclosed by square brackets.marketing,promotionsNoneNone2018-07-13 00:00:002018-07-13 00:00:00None
sequence_idintegerdeprecated: 2019-09-26NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
sender_idbigintThe identifier of the person who sent the message.NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
sender_typecharacter varying(191)The type of sender.customer, bot, rep, rep_note, rep_whisperNoneNone2018-07-13 00:00:002018-07-13 00:00:00None
utterance_typecharacter varying(65535)The type of utterance sent.autosuggest, autocomplete, script, freehandNoneNone2018-07-13 00:00:002018-07-13 00:00:00None
sent_to_agentbooleandeprecated: 2019-09-25NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
utterancecharacter varying(65535)The spoken text from a bot or human (i.e. customer, rep, expert).’Upgrade current device’, ‘Is there anything else we can help you with?‘NoneNone2018-07-13 00:00:002018-07-13 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2019-09-27 00:00:002019-09-27 00:00:00None
sent_to_repA boolean flag indicating if an utterance was sent from a customer to a rep.true, falseNoneNone2019-09-27 00:00:002019-09-27 00:00:00None
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:00NoneNone2019-12-06 00:00:002019-12-06 00:00:00None
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:00NoneNone2019-12-06 00:00:002019-12-06 00:00:00None
company_namevarchar(255)Name of the company associated with the data.acmeNoneNone2019-11-01 00:00:002024-05-24 00:00:00None
event_uuidvarchar(36)A UUID uniquely identifying each utterance record347bdddb-d3a1-45fc-bbcd-dbd3a175fc1cNoneNone2020-10-23 00:00:002020-10-23 00:00:00None

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

nametypedescriptionexampleaggregatesprimarycreated_dateupdated_dateignorepiirelease_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:00NoneNone2021-08-10 00:00:002021-08-10 00:00:00None
issue_idbigintThe ASAPP issue or conversation id.21352352NoneNone2021-08-10 00:00:002021-08-10 00:00:00None
company_idbigintDEPRECATED 2024-03-2510001NoneNone2021-08-10 00:00:002021-08-10 00:00:00None
voice_intent_codevarchar(255)Voice intent code with the highest score associated to the issuePAYBILLNoneNone2021-08-10 00:00:002021-08-10 00:00:00None
voice_intent_namevarchar(255)Voice intent name with the highest score associated to the issuePayment historyNoneNone2021-08-10 00:00:002021-08-10 00:00:00None
Last Updated November 24, 2024