From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate>= Standard Fields for CRM Objects = The following is a list of standard fields from CRM objects that are returned in the Scenario-builder-reference-guide/Scenario...")
 
(Updated via BpDeleteTranslateTags script)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<translate>= Standard Fields for CRM Objects =
+
= Standard Fields for CRM Objects =
 
The following is a list of standard fields from CRM objects that are returned in the [[Scenario-builder-reference-guide/ScenarioBlocks/BrightPatternSearchObject|Bright Pattern Search Object]] block.  
 
The following is a list of standard fields from CRM objects that are returned in the [[Scenario-builder-reference-guide/ScenarioBlocks/BrightPatternSearchObject|Bright Pattern Search Object]] block.  
  
Line 9: Line 9:
 
Identifier of the given activity history object
 
Identifier of the given activity history object
  
'''Example''': _id : ObjectId("58c37dc25be74141236fc250")
+
'''Example''': _id: ObjectId("58c37dc25be74141236fc250")
  
=== media_type ===
+
=== account_id ===
Returns a value that indicates the type of interaction, which include the following: EMAIL, CHAT, VOICE, CASE, or NOTES
+
For email activities, returns the internal identifier of the email scenario entry
  
'''Example''': media_type : "EMAIL"
+
'''Example''': account_id: "B5A69B62-9E37-48A0-8864-5E71E19148EE"
  
=== direction ===
+
=== assigned_by_first_name ===
For interaction-handling activities, provides a media-specific direction; it displays one of the following: INBOUND, OUTBOUND, REPLY, FORWARD, AUTO_ACK
+
Reserved
  
Note the following:
+
=== assigned_by_last_name ===
* For chat interactions, it displays either INBOUND or OUTBOUND
+
Reserved
* For email interactions, it may display INBOUND, OUTBOUND, REPLY, FORWARD, or AUTO_ACK
 
* For voice interactions, it displays either INBOUND or OUTBOUND
 
  
'''Example''': direction : "OUTBOUND"
+
=== assigned_by_user_id ===
 +
Reserved
  
=== global_interaction_id ===
+
=== assigned_from_first_name ===
For interaction-handling activities, returns the [[Reporting-reference-guide/GlobalInteractionIdentifier|global interaction identifier (GIID)]]
+
Reserved
  
'''Example''': global_interaction_id : "E9FF0804-A1E9-47CF-8D2F-60E684B21657"
+
=== assigned_from_last_name ===
 +
Reserved
  
=== tenant_id ===
+
=== assigned_from_user_id ===
Returns the ID of the contact center
+
Reserved
 
 
'''Example''': tenant_id : "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
 
  
 
=== case_ids ===
 
=== case_ids ===
Line 43: Line 41:
 
'''Example''': case_ids: [ObjectId("58b744a27477eb6d1076e645")]
 
'''Example''': case_ids: [ObjectId("58b744a27477eb6d1076e645")]
  
=== subject ===
+
=== created_time ===
Returns the subject of the conversation
+
For chat and voice interactions, returns the time at which the interaction started (i.e., when it was first detected in the system); for email interactions and notes, returns the time at which this record was created (e.g., inbound email was received, outbound email was sent)
 +
 
 +
'''Example''': created_time: ISODate("2016-10-14T01:39:38.326Z")
 +
 
 +
=== direction ===
 +
For interaction-handling activities, provides a media-specific direction; it displays one of the following: INBOUND, OUTBOUND, REPLY, FORWARD, AUTO_ACK
 +
 
 +
Note the following:
 +
* For chat interactions, it displays either INBOUND or OUTBOUND
 +
* For email interactions, it may display INBOUND, OUTBOUND, REPLY, FORWARD, or AUTO_ACK
 +
* For voice interactions, it displays either INBOUND or OUTBOUND
 +
 
 +
'''Example''': direction: "OUTBOUND"
  
'''Example''': subject: "TEST SUBJECT"
+
=== email_id ===
 +
For email activities, returns the ID of the current email interaction
  
=== pinned ===
+
'''Example''': email_id: ObjectId("579a651f7477eb3c65b652d8")
Indicates whether an activity history record is pinned in the activity history of a case
 
  
'''Example''': pinned: false
+
=== event ===
 +
Reserved
  
 
=== flagged ===
 
=== flagged ===
Line 58: Line 69:
 
'''Example''': flagged: false
 
'''Example''': flagged: false
  
=== services  ===
+
=== global_interaction_id ===
Provides a list of services that were involved in an activity; note that this is separate from the ''parties'' property because services may exist on abandoned/self-service attempts where there were no agent parties.
+
For interaction-handling activities, returns the [[Reporting-reference-guide/GlobalInteractionIdentifier|global interaction identifier (GIID)]]
 +
 
 +
'''Example''': global_interaction_id: "E9FF0804-A1E9-47CF-8D2F-60E684B21657"
 +
 
 +
=== has_voice_recording ===
 +
If voice recordings are enabled, this indicates whether the interaction has a voice recording.
 +
 
 +
'''Example''': has_voice_recording: false
 +
 
 +
=== media_type ===
 +
Returns a value that indicates the type of interaction, which include the following: EMAIL, CHAT, VOICE, CASE, or NOTES
 +
 
 +
'''Example''': media_type: "EMAIL"
 +
 
 +
=== original_email ===
 +
For email activities, returns the ID of the original email interaction in the case
  
'''Example''': <br>
+
'''Example''': original_email_id: ObjectId("5790099c7477eb673f327780")
services: [
 
{
 
service_id : "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
 
service_name : "Maintenance Renewal",
 
}
 
]
 
  
 
=== parties ===
 
=== parties ===
Line 76: Line 96:
 
   {
 
   {
 
   party_type: 'USER',
 
   party_type: 'USER',
   user_id : "93B68CAB-9271-4B0A-AFB6-B9238CD36875",
+
   user_id: "93B68CAB-9271-4B0A-AFB6-B9238CD36875",
   first_name : "Edna",
+
   first_name: "Edna",
 
   last_name: "Partee",
 
   last_name: "Partee",
   notes : "",
+
   notes: "",
   disposition : "Product sold",
+
   disposition: "Product sold",
  party_role: 'CALLEE'
+
   party_id: "58c1e0297477eb3f8d6552ec",
   party_id: "58c1e0297477eb3f8d6552ec"
+
  start_time: ISODate("2017-03-14T19:15:06.784Z"),
  start_time : ISODate("2017-03-14T19:15:06.784Z"),
+
   duration: 338,
   duration : 338,
 
 
   custom_address_verified: true,
 
   custom_address_verified: true,
 
   custom_name_verified: true
 
   custom_name_verified: true
   service_id : "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
+
   service_id: "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
 
   }
 
   }
 
   
 
   
 
   {
 
   {
 
   party_type: 'CONTACT',
 
   party_type: 'CONTACT',
   contact_id : ObjectId("552856a7e4b0acb4156ddd11"),
+
   contact_id: ObjectId("552856a7e4b0acb4156ddd11"),
 
   first_name: "John",
 
   first_name: "John",
 
   last_name: "Doe",
 
   last_name: "Doe",
   email: "john.doe@example.com"
+
   email: "john.doe@example.com",
   party_id: "58c1e7137477eb3f8d655322"
+
   party_id: "58c1e7137477eb3f8d655322",
   start_time : ISODate("2017-03-14T19:15:44.784Z"),
+
   start_time: ISODate("2017-03-14T19:15:44.784Z"),
   duration : 300
+
   duration: 300
 
  }
 
  }
 
   
 
   
Line 115: Line 134:
 
  ]
 
  ]
  
=== created_time ===
+
=== pinned ===
For chat and voice interactions, returns the time at which the interaction started (i.e., when it was first detected in the system); for email interactions and notes, returns the time at which this record was created (e.g., inbound email was received, outbound email was sent)
+
Indicates whether an activity history record is pinned in the activity history of a case
  
'''Example''': created_time : ISODate("2016-10-14T01:39:38.326Z")
+
'''Example''': pinned: false
  
=== account_id ===
+
=== services  ===
For email activities, returns the internal identifier of the email scenario entry
+
Provides a list of services that were involved in an activity; note that this is separate from the ''parties'' property because services may exist on abandoned/self-service attempts where there were no agent parties.
  
'''Example''': account_id : "B5A69B62-9E37-48A0-8864-5E71E19148EE"
+
'''Example''': <br>
 +
services: [
 +
{
 +
service_id: "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
 +
service_name: "Maintenance Renewal"
 +
}
 +
]
  
=== email_id ===
+
=== subject ===
For email activities, returns the ID of the current email interaction
+
Returns the subject of the conversation
  
'''Example''': email_id : ObjectId("579a651f7477eb3c65b652d8")
+
'''Example''': subject: "TEST SUBJECT"
  
=== original_email ===
+
=== tenant_id ===
For email activities, returns the ID of the original email interaction in the case
+
Returns the ID of the contact center
  
'''Example''': original_email_id : ObjectId("5790099c7477eb673f327780")
+
'''Example''': tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
  
 
=== thread_id ===
 
=== thread_id ===
 
Returns the email [[Agent-guide/Work/CasesEmail/CasesEmailandThreads#Threads|thread ID]], if configured
 
Returns the email [[Agent-guide/Work/CasesEmail/CasesEmailandThreads#Threads|thread ID]], if configured
  
'''Example''': thread_id : "JX54YYN91FZH"
+
'''Example''': thread_id: "JX54YYN91FZH"
 
 
=== has_voice_recording ===
 
If voice recordings are enabled, this indicates whether the interaction has a voice recording.
 
 
 
'''Example''': has_voice_recording : false
 
 
 
=== event ===
 
Reserved
 
 
 
=== transferred_from_user_id ===
 
Reserved
 
  
 
=== transferred_from_first_name ===
 
=== transferred_from_first_name ===
Line 157: Line 171:
 
Reserved
 
Reserved
  
=== assigned_from_user_id ===
+
=== transferred_from_user_id ===
 
Reserved
 
Reserved
  
=== assigned_from_first_name ===
+
== Case ==
Reserved
 
  
=== assigned_from_last_name ===
+
=== _id ===
Reserved
+
Identifier of the given case object
  
=== assigned_by_user_id ===
+
'''Example''': _id: ObjectId("58c37dc25be74141236fc251")
Reserved
 
  
=== assigned_by_first_name ===
+
=== case_number ===
Reserved
+
The [[Agent-guide/Work/CasesEmail/MyCasesInterface#Case_number|case number]] as defined in the Agent Desktop application
  
=== assigned_by_last_name ===
+
'''Example''': case_number: "2451"
Reserved
 
 
 
== Case ==
 
  
 
=== case_status ===
 
=== case_status ===
 
Returns one of the following [[Agent-guide/Work/CasesEmail/CaseStates|case states]]: New, Open, Pending, Resolved, or Closed
 
Returns one of the following [[Agent-guide/Work/CasesEmail/CaseStates|case states]]: New, Open, Pending, Resolved, or Closed
  
'''Example''': case_status : "Pending"
+
'''Example''': case_status: "Pending"
 
 
=== pending_reason ===
 
Returns the [[Contact-center-administrator-guide/CaseandContactManagement/CasePendingReasons|contact center's configured]] Pending reasons; these are only present if a case is in the Pending state.
 
 
 
'''Example''': pending_reason: "Waiting for info from customer"
 
  
 
=== case_title ===
 
=== case_title ===
 
Case title, for emails, is copied from the original email subject line; agents can edit it when editing cases
 
Case title, for emails, is copied from the original email subject line; agents can edit it when editing cases
  
'''Example''': case_title : "Mid-april Bulk email #1060 on Mon Oct 19 15:49:28 PDT 2015"
+
'''Example''': case_title: "Mid-april Bulk email #1060 on Mon Oct 19 15:49:28 PDT 2015"
  
 
=== category_id ===
 
=== category_id ===
 
Returns the ID of the case category
 
Returns the ID of the case category
  
'''Example''': category_id : "560AC234-D124-458F-8DFB-C11ADF48F1D2"
+
'''Example''': category_id: "560AC234-D124-458F-8DFB-C11ADF48F1D2"
  
 
=== category_name ===
 
=== category_name ===
 
Returns the configured [[Contact-center-administrator-guide/CaseandContactManagement/CaseCategories|case category]]  
 
Returns the configured [[Contact-center-administrator-guide/CaseandContactManagement/CaseCategories|case category]]  
  
'''Example''': category_name : "Maintenance Renewal"
+
'''Example''': category_name: "Maintenance Renewal"
 
 
=== priority ===
 
Reserved
 
 
 
=== case_number ===
 
The [[Agent-guide/Work/CasesEmail/MyCasesInterface#Case_number|case number]] as defined in the Agent Desktop application
 
 
 
'''Example''': case_number : "2451"
 
 
 
=== tenant_id ===
 
Returns the ID of the contact center
 
 
 
'''Example''': tenant_id : "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
 
 
 
=== reporter_id ===
 
The ID of the case reporter (i.e., the customer/ person who contacted your call center); it is taken from the contact on the original interaction from the case
 
 
 
'''Example''': reporter_id : ObjectId("5581ef0de4b02187dd0a555f")
 
 
 
=== reporter_first_name ===
 
The reporter’s (i.e., the customer/ person who contacted your call center) first name as it was at the moment it was collected
 
 
 
'''Example''': reporter_first_name: "John"
 
 
 
=== reporter_last_name ===
 
The reporter’s (i.e., the customer/ person who contacted your call center) last name as it was at the moment it was collected
 
 
 
'''Example''': reporter_last_name: "Doe”
 
  
 
=== cc ===
 
=== cc ===
Line 236: Line 212:
 
  cc: [
 
  cc: [
 
  {
 
  {
  contact_id : "5800375a7477eb4f25c630a7",
+
  contact_id: "5800375a7477eb4f25c630a7",
 
  first_name: "Jane",
 
  first_name: "Jane",
 
  last_name: "Doe"
 
  last_name: "Doe"
Line 242: Line 218:
 
  ]
 
  ]
  
=== users ===
+
=== created_time ===
This provides a list of agents who have participated in the handling of this case.
+
When the case was first created; time is in GMT
 +
 
 +
'''Example''': created_time: ISODate("2015-10-19T22:50:22.565Z")
 +
 
 +
=== customer_update_time ===
 +
For email, this states when the last customer email was received. For voice and chat interactions, it coincides with the ''modified_time'' property.
 +
 
 +
'''Example''': customer_update_time: ISODate("2016-11-03T23:49:41.454Z")
 +
 
 +
=== is_flagged ===
 +
Indicates if a case is [[Agent-guide/Work/CasesEmail/MyCasesInterface#Flag|flagged]]; it is unrelated to the interaction flag
  
'''Example''': <br>
+
'''Example''': is_flagged: true
users: [
 
user_id : "93B68CAB-9271-4B0A-AFB6-B9238CD36875"
 
]
 
  
=== created_time ===
+
=== is_pinned ===
When the case was first created; time is in GMT
+
Indicates if the case is pinned; it is unrelated to email pins
  
'''Example''': created_time : ISODate("2015-10-19T22:50:22.565Z")
+
'''Example''': is_pinned: true
  
 
=== modified_time ===
 
=== modified_time ===
 
This provides the time when the last update on the case was made or a new activity was posted on the case. Typically, this reflects the end of the interaction (i.e., when an update is done); time is in GMT.
 
This provides the time when the last update on the case was made or a new activity was posted on the case. Typically, this reflects the end of the interaction (i.e., when an update is done); time is in GMT.
  
'''Example''': modified_time : ISODate("2016-11-03T23:49:41.454Z")
+
'''Example''': modified_time: ISODate("2016-11-03T23:49:41.454Z")
  
 
=== open_time ===
 
=== open_time ===
 
Provides the time when the case was opened by the agent (i.e., when the its state is changed from the [[Agent-guide/Work/CasesEmail/CaseStates|New]] state to the [[Agent-guide/Work/CasesEmail/CaseStates#Open|Open]] state)
 
Provides the time when the case was opened by the agent (i.e., when the its state is changed from the [[Agent-guide/Work/CasesEmail/CaseStates|New]] state to the [[Agent-guide/Work/CasesEmail/CaseStates#Open|Open]] state)
  
Example: open_time : ISODate("2015-10-19T22:51:22.565Z")
+
Example: open_time: ISODate("2015-10-19T22:51:22.565Z")
 +
 
 +
=== pending_reason ===
 +
Returns the [[Contact-center-administrator-guide/CaseandContactManagement/CasePendingReasons|contact center's configured]] Pending reasons; these are only present if a case is in the Pending state.
 +
 
 +
'''Example''': pending_reason: "Waiting for info from customer"
  
 
=== pending_time ===
 
=== pending_time ===
 
The time the case state was last set to [[Agent-guide/Work/CasesEmail/CaseStates#Pending|Pending]]. The ''pending_time'' property is only present in cases in the Pending, Resolved, and Closed states. For multiple transitions to the Pending state, it will provide the time the last transition was used.
 
The time the case state was last set to [[Agent-guide/Work/CasesEmail/CaseStates#Pending|Pending]]. The ''pending_time'' property is only present in cases in the Pending, Resolved, and Closed states. For multiple transitions to the Pending state, it will provide the time the last transition was used.
  
'''Example''': pending_time : ISODate("2015-10-19T22:53:22.565Z")
+
'''Example''': pending_time: ISODate("2015-10-19T22:53:22.565Z")
  
=== resolved_time ===
+
=== priority ===
The time the case state was set to [[Agent-guide/Work/CasesEmail/CaseStates#Resolved|Resolved]]; it is used for automatic transition to the Closed state. The ''resolved_time'' property is only present in cases in the Resolved and Closed states. For multiple transitions to the Resolved state, it will provide the time the last transition was used.
+
Reserved
  
'''Example''': resolved_time: ISODate("2016-11-03T23:49:41.454Z")
+
=== reporter_first_name ===
 +
The reporter’s (i.e., the customer/ person who contacted your call center) first name as it was at the moment it was collected
  
=== customer_update_time ===
+
'''Example''': reporter_first_name: "John"
For email, this states when the last customer email was received. For voice and chat interactions, it coincides with the ''modified_time'' property.
 
  
'''Example''': customer_update_time: ISODate("2016-11-03T23:49:41.454Z")
+
=== reporter_id ===
 +
The ID of the case reporter (i.e., the customer/ person who contacted your call center); it is taken from the contact on the original interaction from the case
  
=== sentiment ===
+
'''Example''': reporter_id: ObjectId("5581ef0de4b02187dd0a555f")
Provides the [[Reporting-reference-guide/ListofInteractionRecordsSearchCriteria#sentiment_as_float_.2A|sentiment]] from the last customer interaction in numerical form; the score indicates how negative or positive the interaction was, based on sentiment analysis
 
  
'''Example''': sentiment: 0.97
+
=== reporter_last_name ===
 +
The reporter’s (i.e., the customer/ person who contacted your call center) last name as it was at the moment it was collected
  
=== is_flagged ===
+
'''Example''': reporter_last_name: "Doe”
Indicates if a case is [[Agent-guide/Work/CasesEmail/MyCasesInterface#Flag|flagged]]; it is unrelated to the interaction flag
 
  
'''Example''': is_flagged: true
+
=== resolved_time ===
 +
The time the case state was set to [[Agent-guide/Work/CasesEmail/CaseStates#Resolved|Resolved]]; it is used for automatic transition to the Closed state. The ''resolved_time'' property is only present in cases in the Resolved and Closed states. For multiple transitions to the Resolved state, it will provide the time the last transition was used.
  
=== is_pinned ===
+
'''Example''': resolved_time: ISODate("2016-11-03T23:49:41.454Z")
Indicates if the case is pinned; it is unrelated to email pins
 
 
 
'''Example''': is_pinned: true
 
  
 
=== response_sla_start_time ===
 
=== response_sla_start_time ===
Line 304: Line 290:
 
Reserved
 
Reserved
  
== Company ==
+
=== sentiment ===
 +
Provides the [[Reporting-reference-guide/ListofInteractionRecordsSearchCriteria#sentiment_as_float_.2A|sentiment]] from the last customer interaction in numerical form; the score indicates how negative or positive the interaction was, based on sentiment analysis
 +
 
 +
'''Example''': sentiment: 0.97
  
 
=== tenant_id ===
 
=== tenant_id ===
 
Returns the ID of the contact center
 
Returns the ID of the contact center
  
'''Example''': tenant_id : "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
+
'''Example''': tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
 +
 
 +
=== users ===
 +
This provides a list of agents who have participated in the handling of this case.
 +
 
 +
'''Example''': <br>
 +
users: [
 +
user_id: "93B68CAB-9271-4B0A-AFB6-B9238CD36875"
 +
]
 +
 
 +
== Company ==
 +
 
 +
=== _id ===
 +
Identifier of the given company object
 +
 
 +
'''Example''': _id: ObjectId("58c37dc25be74141236fc252")
 +
 
 +
=== company_name ===
 +
The name of the company as defined in Agent Desktop
 +
 
 +
'''Example''': company_name: "Warehousing Inc. 4"
  
 
=== created_time ===
 
=== created_time ===
 
When this company object was first created; time is in GMT
 
When this company object was first created; time is in GMT
  
'''Example''': created_time : ISODate("2015-03-24T23:57:13.440Z")
+
'''Example''': created_time: ISODate("2015-03-24T23:57:13.440Z")
 +
 
 +
=== employees ===
 +
The number of employees the company has as defined in Agent Desktop
 +
 
 +
'''Example''': employees: "123"
  
 
=== modified_time ===
 
=== modified_time ===
 
This provides the time when the last update for this company object was made; time is in GMT.
 
This provides the time when the last update for this company object was made; time is in GMT.
  
'''Example''': modified_time : ISODate("2016-10-06T21:22:29.850Z")
+
'''Example''': modified_time: ISODate("2016-10-06T21:22:29.850Z")
 
 
=== company_name ===
 
The name of the company as defined in Agent Desktop
 
 
 
'''Example''': company_name : "Warehousing Inc. 4"
 
  
 
=== revenue ===
 
=== revenue ===
 
The revenue of the company as defined in Agent Desktop
 
The revenue of the company as defined in Agent Desktop
  
'''Example''': revenue : "100 million"
+
'''Example''': revenue: "100 million"
  
=== employees ===
+
=== tenant_id ===
The number of employees the company has as defined in Agent Desktop
+
Returns the ID of the contact center
  
'''Example''': employees : "123"
+
'''Example''': tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
  
 
=== web_url ===
 
=== web_url ===
 
The company’s web URL as defined in Agent Desktop
 
The company’s web URL as defined in Agent Desktop
  
'''Example''': web_url : "www.example.com"
+
'''Example''': web_url: "www.example.com"
  
 
== Contact ==
 
== Contact ==
  
=== tenant_id ===
+
=== _id ===
Returns the ID of the contact center
+
Identifier of the given contact object
  
'''Example''': tenant_id : "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
+
'''Example''': _id: ObjectId("58c37dc25be74141236fc253")
  
=== company_id ===
+
=== addresses ===
Returns the ID of the company that this contact is associated with
+
The contact’s addresses as defined in Agent Desktop; possible values are PRIMARY, BILLING, SHIPPING, and OTHER
  
'''Example''': company_id : ObjectId("5511f9d9e4b0033ff9b8bc99")
+
'''Example''':<br>
 +
addresses: [
 +
{
 +
type: "PRIMARY",
 +
postcode: "90670",
 +
state: "CA",
 +
city: "Santa Fe Springs",
 +
address_line1: "1111 Bayhill Dr.",
 +
address_line2: "Suite 275",
 +
country: "USA",
 +
id: "579936537477eb39496a4bea"
 +
}
 +
]
  
 
=== bpo_client_id ===
 
=== bpo_client_id ===
 
Reserved
 
Reserved
 +
 +
=== company_id ===
 +
Returns the ID of the company that this contact is associated with
 +
 +
'''Example''': company_id: ObjectId("5511f9d9e4b0033ff9b8bc99")
  
 
=== created_time ===
 
=== created_time ===
 
When the contact was first created; time is in GMT
 
When the contact was first created; time is in GMT
  
'''Example''': created_time : ISODate("2015-04-10T23:03:03.322Z")
+
'''Example''': created_time: ISODate("2015-04-10T23:03:03.322Z")
 +
 
 +
=== dob ===
 +
The contact’s date of birth (DOB) as defined in Agent Desktop
 +
 
 +
'''Example''': dob: ISODate("2001-08-14T00:00:00.000Z")
  
=== modified_time ===
+
=== emails ===
This provides the time when the last update on the contact was made; time is in GMT.
+
The contact’s email addresses as defined in Agent Desktop; possible values are PRIMARY, BUSINESS, and PRIVATE
 +
 
 +
'''Example''':<br>
 +
emails: [
 +
{
 +
type: "PRIMARY",
 +
email_address: "something@brightpattern.com",
 +
id: "579936537477eb39496a4be9"
 +
}
 +
]
  
'''Example''': modified_time : ISODate("2016-09-24T00:11:48.205Z")
+
=== external_ids ===
 +
Reserved
  
 
=== first_name ===
 
=== first_name ===
 
The contact’s first name as defined in Agent Desktop
 
The contact’s first name as defined in Agent Desktop
  
'''Example''': first_name : "Jeanne"
+
'''Example''': first_name: "Jeanne"
  
 
=== last_name ===
 
=== last_name ===
 
The contact’s last name as defined in Agent Desktop
 
The contact’s last name as defined in Agent Desktop
  
'''Example''': last_name : "Wengler"
+
'''Example''': last_name: "Wengler"
 +
 
 +
=== messengers ===
 +
The contact's messenger information, including messenger name/type (e.g., LINE), the contact center’s integration account ID, and the contact’s external messenger ID.
  
=== title ===
+
'''Example''':<br>
The contact’s title as defined in Agent Desktop
+
messengers [
 +
{
 +
type: "line",
 +
id: "3289396573",
 +
user_id: "U6b4b0a5c0e5a0269fcba1b06ccf09ea5"
 +
},
 +
{
 +
type: "facebook",
 +
id: "4937586736",
 +
user_id: "X7a3c1b6d1f6b1370gdcb2c17bbg10fb6"
 +
}
 +
]
 +
 
 +
=== modified_time ===
 +
This provides the time when the last update on the contact was made; time is in GMT.
 +
 
 +
'''Example''': modified_time: ISODate("2016-09-24T00:11:48.205Z")
 +
 
 +
=== phone ===
 +
The contact’s phone numbers as defined in Agent Desktop; possible values are BUSINESS, HOME, MOBILE, and FAX
 +
 
 +
'''Example''':<br>
 +
phones: [
 +
{
 +
type: "MOBILE",
 +
phone: "16505551212",
 +
id: "579fff287477eb45790af319"
 +
},
 +
{
 +
type: "HOME",
 +
phone: "14155551212",
 +
id: "57e2d6437477eb660c92899d"
 +
},
 +
]
  
'''Example''': title : "Miss"
+
=== picture ===
 +
Contact’s photo
  
 
=== position ===
 
=== position ===
 
The contact’s position as defined in Agent Desktop
 
The contact’s position as defined in Agent Desktop
  
'''Example''': position : "Sr. Support Engineer"
+
'''Example''': position: "Sr. Support Engineer"
 +
 
 +
=== segment ===
 +
The contact’s segment as defined in Agent Desktop
 +
 
 +
'''Example''': segment: "Gold"
 +
 
 +
=== social_links ===
 +
Reserved
  
 
=== summary ===
 
=== summary ===
Line 391: Line 477:
 
'''Example''': summary: "Jeanne works in the main office M - Th; off-site office F"
 
'''Example''': summary: "Jeanne works in the main office M - Th; off-site office F"
  
=== segment ===
+
=== tenant_id ===
The contact’s segment as defined in Agent Desktop
+
Returns the ID of the contact center
 +
 
 +
'''Example''': tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"
 +
 
 +
=== title ===
 +
The contact’s title as defined in Agent Desktop
 +
 
 +
'''Example''': title: "Miss"
 +
 
 +
== Email ==
  
'''Example''': segment: "Gold"
+
=== _id ===
 +
Identifier of the given email object
  
=== dob ===
+
'''Example''': _id: ObjectId("58c37dc25be74141236fc254")
The contact’s date of birth (DOB) as defined in Agent Desktop
 
  
'''Example''': dob: ISODate("2001-08-14T00:00:00.000Z")
+
=== CC ===
 +
Returns the names and email addresses of the email’s ''Cc'' field in an array of objects, if available
  
=== addresses ===
+
'''Example''':
The contact’s addresses as defined in Agent Desktop; possible values are PRIMARY, BILLING, SHIPPING, and OTHER
 
  
'''Example''':<br>
+
  CC: [
  addresses: [
+
              {
{
+
                  “name”: “Alice B”,  
type : "PRIMARY",
+
                  “address”: “alice@b.com”
postcode : "90670",
+
              }
state : "CA",
+
    ]
city : "Santa Fe Springs",
+
address_line1: "1111 Bayhill Dr.",
+
=== From ===
address_line2: "Suite 275",
+
Returns the names and email addresses of the email’s ''From'' field in an array of objects
country: "USA",
 
id : "579936537477eb39496a4bea"
 
}
 
]
 
  
=== emails ===
+
'''Example''':
The contact’s email addresses as defined in Agent Desktop; possible values are PRIMARY, BUSINESS, and PRIVATE
 
  
'''Example''':<br>
+
  From: [
  emails: [
+
                {
{
+
                      “name”: “Alice B”,  
type : "PRIMARY",
+
                      “address”: “alice@b.com”
email_address : "something@brightpattern.com",
+
                }
id : "579936537477eb39496a4be9"
+
      ]
}
 
]
 
  
=== phone ===
+
=== HTML ===
The contact’s phone numbers as defined in Agent Desktop; possible values are BUSINESS, HOME, MOBILE, and FAX
+
Returns the string from the email’s HTML body, if available; returns an array if the email object contains several HTML parts
  
'''Examples''':<br>
+
'''Example''':
phones: [
 
{
 
type : "MOBILE",
 
phone : "16505551212",
 
id : "579fff287477eb45790af319"
 
},
 
{
 
type : "HOME",
 
phone : "14155551212",
 
id : "57e2d6437477eb660c92899d"
 
},
 
]
 
  
=== social_links ===
+
html: <nowiki>"<div class=\"x-eml-message x-eml-level-0\" lang=\"EN-US\" link=\"blue\" vlink=\"purple\"> \n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=us-ascii\" />\n <meta name=\"Generator\" content=\"Microsoft Word 14 (filtered medium)\" />\n <style><!--\r\n/* Font Definitions */\r\n@font-face\r\n\t{font-family:\"Cambria Math\";\r\n\tpanose-1:2 4 5 3 5 4 6 3 2 4;}\r\n@font-face\r\n\t{font-family:Calibri;\r\n\tpanose-1:2 15 5 2 2 2 4 3 2 4;}\r\n/* Style Definitions */\r\np.MsoNormal, li.MsoNormal, div.MsoNormal\r\n\t{margin:0in;\r\n\tmargin-bottom:.0001pt;\r\n\tfont-size:11.0pt;\r\n\tfont-family:\"Calibri\",\"sans-serif\";}\r\na:link, span.MsoHyperlink\r\n\t{mso-style-priority:99;\r\n\tcolor:blue;\r\n\ttext-decoration:underline;}\r\na:visited, span.MsoHyperlinkFollowed\r\n\t{mso-style-priority:99;\r\n\tcolor:purple;\r\n\ttext-decoration:underline;}\r\nspan.EmailStyle17\r\n\t{mso-style-type:personal-compose;\r\n\tfont-family:\"Calibri\",\"sans-serif\";\r\n\tcolor:windowtext;}\r\n.MsoChpDefault\r\n\t{mso-style-type:export-only;\r\n\tfont-family:\"Calibri\",\"sans-serif\";}\r\n@page WordSection1\r\n\t{size:8.5in 11.0in;\r\n\tmargin:1.0in 1.0in 1.0in 1.0in;}\r\ndiv.WordSection1\r\n\t{page:WordSection1;}\r\n--></style>\n <!--[if gte mso 9]><xml>\r\n<o:shapedefaults v:ext=\"edit\" spidmax=\"1026\" />\r\n</xml><![endif]-->\n <!--[if gte mso 9]><xml>\r\n<o:shapelayout v:ext=\"edit\">\r\n<o:idmap v:ext=\"edit\" data=\"1\" />\r\n</o:shapelayout></xml><![endif]-->\n <div class=\"WordSection1\">\n  <p class=\"MsoNormal\">\n  <o:p>\n    &nbsp;\n  </o:p></p>\n </div>\n</div>"</nowiki>
Reserved
 
  
=== messengers ===
+
=== Subject ===
Reserved
+
Returns the string from the email’s ''Subject'' field, if available
  
=== picture ===
+
'''Example''': Subject : "10/20 attempt #3"
Contact’s photo
 
  
=== external_ids ===
+
=== Text ===
Reserved
+
Returns the string from the email’s text body, if available; returns an array if the email object contains several HTML parts
  
 +
'''Example''': text : "\r\n\r\n"
  
 +
=== To ===
 +
Returns the email addresses and names (if available) of the email’s ''To'' field in an array of objects
  
 +
'''Example''':
  
</translate>
+
To: [
 +
            {
 +
                “address”: “alice@b.com”
 +
            }
 +
    ]

Latest revision as of 04:03, 29 May 2024

• 5.19 • 5.3 • 5.8

Standard Fields for CRM Objects

The following is a list of standard fields from CRM objects that are returned in the Bright Pattern Search Object block.

Note: Custom fields are stored with the custom_ prefix.

Activity History

_id

Identifier of the given activity history object

Example: _id: ObjectId("58c37dc25be74141236fc250")

account_id

For email activities, returns the internal identifier of the email scenario entry

Example: account_id: "B5A69B62-9E37-48A0-8864-5E71E19148EE"

assigned_by_first_name

Reserved

assigned_by_last_name

Reserved

assigned_by_user_id

Reserved

assigned_from_first_name

Reserved

assigned_from_last_name

Reserved

assigned_from_user_id

Reserved

case_ids

Returns identifiers of cases that the given activity relates to; note the following:

  • For chat and voice interactions, it may take multiple interactions to resolve a case
  • For email interactions and notes, a single case is allowed

Example: case_ids: [ObjectId("58b744a27477eb6d1076e645")]

created_time

For chat and voice interactions, returns the time at which the interaction started (i.e., when it was first detected in the system); for email interactions and notes, returns the time at which this record was created (e.g., inbound email was received, outbound email was sent)

Example: created_time: ISODate("2016-10-14T01:39:38.326Z")

direction

For interaction-handling activities, provides a media-specific direction; it displays one of the following: INBOUND, OUTBOUND, REPLY, FORWARD, AUTO_ACK

Note the following:

  • For chat interactions, it displays either INBOUND or OUTBOUND
  • For email interactions, it may display INBOUND, OUTBOUND, REPLY, FORWARD, or AUTO_ACK
  • For voice interactions, it displays either INBOUND or OUTBOUND

Example: direction: "OUTBOUND"

email_id

For email activities, returns the ID of the current email interaction

Example: email_id: ObjectId("579a651f7477eb3c65b652d8")

event

Reserved

flagged

Indicates whether an activity history record is flagged in the activity history of a case

Example: flagged: false

global_interaction_id

For interaction-handling activities, returns the global interaction identifier (GIID)

Example: global_interaction_id: "E9FF0804-A1E9-47CF-8D2F-60E684B21657"

has_voice_recording

If voice recordings are enabled, this indicates whether the interaction has a voice recording.

Example: has_voice_recording: false

media_type

Returns a value that indicates the type of interaction, which include the following: EMAIL, CHAT, VOICE, CASE, or NOTES

Example: media_type: "EMAIL"

original_email

For email activities, returns the ID of the original email interaction in the case

Example: original_email_id: ObjectId("5790099c7477eb673f327780")

parties

This returns an array of values associated with the parties involved in the activity; the party type will be one of the following: CONTACT, SCENARIO, USER, or UNIDENTIFIED. Note that USER applies to agents and supervisors.

Example:

parties: [
 	{
 	 	party_type: 'USER',
 	 	user_id: "93B68CAB-9271-4B0A-AFB6-B9238CD36875",
 	 	first_name: "Edna",
 	 	last_name: "Partee",
 	 	notes: "",
 	 	disposition: "Product sold",
 	 	party_id: "58c1e0297477eb3f8d6552ec",
	 	start_time: ISODate("2017-03-14T19:15:06.784Z"),
 	 	duration: 338,
 	 	custom_address_verified: true,
 	 	custom_name_verified: true
 	 	service_id: "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
 	}

 	{
 	 	party_type: 'CONTACT',
 	 	contact_id: ObjectId("552856a7e4b0acb4156ddd11"),
 	 	first_name: "John",
 	 	last_name: "Doe",
 	 	email: "john.doe@example.com",
 	 	party_id: "58c1e7137477eb3f8d655322",
 	 	start_time: ISODate("2017-03-14T19:15:44.784Z"),
 	 	duration: 300
	}

 	{
 	 	party_type: 'UNIDENTIFIED',
 	 	first_name: 'Wireless',
 	 	last_name:'Caller',
 	 	phone: '14155551212'
 	}

 	{
 	 	party_type: 'SCENARIO',
 	 	custom_address_verified: true,
 	 	custom_name_verified: true
 	}
]

pinned

Indicates whether an activity history record is pinned in the activity history of a case

Example: pinned: false

services

Provides a list of services that were involved in an activity; note that this is separate from the parties property because services may exist on abandoned/self-service attempts where there were no agent parties.

Example:

services: [		
	{
		service_id: "72452D33-A7B4-4A1A-914A-AFA4076A76C3",
		service_name: "Maintenance Renewal"
	}
]

subject

Returns the subject of the conversation

Example: subject: "TEST SUBJECT"

tenant_id

Returns the ID of the contact center

Example: tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"

thread_id

Returns the email thread ID, if configured

Example: thread_id: "JX54YYN91FZH"

transferred_from_first_name

Reserved

transferred_from_last_name

Reserved

transferred_from_user_id

Reserved

Case

_id

Identifier of the given case object

Example: _id: ObjectId("58c37dc25be74141236fc251")

case_number

The case number as defined in the Agent Desktop application

Example: case_number: "2451"

case_status

Returns one of the following case states: New, Open, Pending, Resolved, or Closed

Example: case_status: "Pending"

case_title

Case title, for emails, is copied from the original email subject line; agents can edit it when editing cases

Example: case_title: "Mid-april Bulk email #1060 on Mon Oct 19 15:49:28 PDT 2015"

category_id

Returns the ID of the case category

Example: category_id: "560AC234-D124-458F-8DFB-C11ADF48F1D2"

category_name

Returns the configured case category

Example: category_name: "Maintenance Renewal"

cc

Provides a list of on-copy contacts

Example:

cc: [	
	{	
		contact_id: "5800375a7477eb4f25c630a7",
		first_name: "Jane",
		last_name: "Doe"
	}	
]

created_time

When the case was first created; time is in GMT

Example: created_time: ISODate("2015-10-19T22:50:22.565Z")

customer_update_time

For email, this states when the last customer email was received. For voice and chat interactions, it coincides with the modified_time property.

Example: customer_update_time: ISODate("2016-11-03T23:49:41.454Z")

is_flagged

Indicates if a case is flagged; it is unrelated to the interaction flag

Example: is_flagged: true

is_pinned

Indicates if the case is pinned; it is unrelated to email pins

Example: is_pinned: true

modified_time

This provides the time when the last update on the case was made or a new activity was posted on the case. Typically, this reflects the end of the interaction (i.e., when an update is done); time is in GMT.

Example: modified_time: ISODate("2016-11-03T23:49:41.454Z")

open_time

Provides the time when the case was opened by the agent (i.e., when the its state is changed from the New state to the Open state)

Example: open_time: ISODate("2015-10-19T22:51:22.565Z")

pending_reason

Returns the contact center's configured Pending reasons; these are only present if a case is in the Pending state.

Example: pending_reason: "Waiting for info from customer"

pending_time

The time the case state was last set to Pending. The pending_time property is only present in cases in the Pending, Resolved, and Closed states. For multiple transitions to the Pending state, it will provide the time the last transition was used.

Example: pending_time: ISODate("2015-10-19T22:53:22.565Z")

priority

Reserved

reporter_first_name

The reporter’s (i.e., the customer/ person who contacted your call center) first name as it was at the moment it was collected

Example: reporter_first_name: "John"

reporter_id

The ID of the case reporter (i.e., the customer/ person who contacted your call center); it is taken from the contact on the original interaction from the case

Example: reporter_id: ObjectId("5581ef0de4b02187dd0a555f")

reporter_last_name

The reporter’s (i.e., the customer/ person who contacted your call center) last name as it was at the moment it was collected

Example: reporter_last_name: "Doe”

resolved_time

The time the case state was set to Resolved; it is used for automatic transition to the Closed state. The resolved_time property is only present in cases in the Resolved and Closed states. For multiple transitions to the Resolved state, it will provide the time the last transition was used.

Example: resolved_time: ISODate("2016-11-03T23:49:41.454Z")

response_sla_start_time

Reserved

response_sla_target_time

Reserved

response_sla_time

Reserved

sentiment

Provides the sentiment from the last customer interaction in numerical form; the score indicates how negative or positive the interaction was, based on sentiment analysis

Example: sentiment: 0.97

tenant_id

Returns the ID of the contact center

Example: tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"

users

This provides a list of agents who have participated in the handling of this case.

Example:

users: [		
		user_id: "93B68CAB-9271-4B0A-AFB6-B9238CD36875"
]

Company

_id

Identifier of the given company object

Example: _id: ObjectId("58c37dc25be74141236fc252")

company_name

The name of the company as defined in Agent Desktop

Example: company_name: "Warehousing Inc. 4"

created_time

When this company object was first created; time is in GMT

Example: created_time: ISODate("2015-03-24T23:57:13.440Z")

employees

The number of employees the company has as defined in Agent Desktop

Example: employees: "123"

modified_time

This provides the time when the last update for this company object was made; time is in GMT.

Example: modified_time: ISODate("2016-10-06T21:22:29.850Z")

revenue

The revenue of the company as defined in Agent Desktop

Example: revenue: "100 million"

tenant_id

Returns the ID of the contact center

Example: tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"

web_url

The company’s web URL as defined in Agent Desktop

Example: web_url: "www.example.com"

Contact

_id

Identifier of the given contact object

Example: _id: ObjectId("58c37dc25be74141236fc253")

addresses

The contact’s addresses as defined in Agent Desktop; possible values are PRIMARY, BILLING, SHIPPING, and OTHER

Example:

addresses: [		
	{	
		type: "PRIMARY",
		postcode: "90670",
		state: "CA",
		city: "Santa Fe Springs",
		address_line1: "1111 Bayhill Dr.",
		address_line2: "Suite 275",
		country: "USA",
		id: "579936537477eb39496a4bea"
	}	
]

bpo_client_id

Reserved

company_id

Returns the ID of the company that this contact is associated with

Example: company_id: ObjectId("5511f9d9e4b0033ff9b8bc99")

created_time

When the contact was first created; time is in GMT

Example: created_time: ISODate("2015-04-10T23:03:03.322Z")

dob

The contact’s date of birth (DOB) as defined in Agent Desktop

Example: dob: ISODate("2001-08-14T00:00:00.000Z")

emails

The contact’s email addresses as defined in Agent Desktop; possible values are PRIMARY, BUSINESS, and PRIVATE

Example:

emails: [		
	{	
		type: "PRIMARY",
		email_address: "something@brightpattern.com",
		id: "579936537477eb39496a4be9"
	}	
]

external_ids

Reserved

first_name

The contact’s first name as defined in Agent Desktop

Example: first_name: "Jeanne"

last_name

The contact’s last name as defined in Agent Desktop

Example: last_name: "Wengler"

messengers

The contact's messenger information, including messenger name/type (e.g., LINE), the contact center’s integration account ID, and the contact’s external messenger ID.

Example:

messengers [
	{
		type: "line",
		id: "3289396573",
		user_id: "U6b4b0a5c0e5a0269fcba1b06ccf09ea5"
	},
	{
		type: "facebook",
		id: "4937586736",
		user_id: "X7a3c1b6d1f6b1370gdcb2c17bbg10fb6"
	}
]

modified_time

This provides the time when the last update on the contact was made; time is in GMT.

Example: modified_time: ISODate("2016-09-24T00:11:48.205Z")

phone

The contact’s phone numbers as defined in Agent Desktop; possible values are BUSINESS, HOME, MOBILE, and FAX

Example:

phones: [		
	{	
		type: "MOBILE",
		phone: "16505551212",
		id: "579fff287477eb45790af319"
	},	
	{	
		type: "HOME",
		phone: "14155551212",
		id: "57e2d6437477eb660c92899d"
	},	
]

picture

Contact’s photo

position

The contact’s position as defined in Agent Desktop

Example: position: "Sr. Support Engineer"

segment

The contact’s segment as defined in Agent Desktop

Example: segment: "Gold"

social_links

Reserved

summary

The summary of the contact as defined in Agent Desktop

Example: summary: "Jeanne works in the main office M - Th; off-site office F"

tenant_id

Returns the ID of the contact center

Example: tenant_id: "EB95E6C6-A7A9-4581-83E7-7336FB8FC377"

title

The contact’s title as defined in Agent Desktop

Example: title: "Miss"

Email

_id

Identifier of the given email object

Example: _id: ObjectId("58c37dc25be74141236fc254")

CC

Returns the names and email addresses of the email’s Cc field in an array of objects, if available

Example:

CC: [
             {
                  “name”: “Alice B”, 
                  “address”: “alice@b.com”
             }
    ]

From

Returns the names and email addresses of the email’s From field in an array of objects

Example:

From: [
                {
                     “name”: “Alice B”, 
                     “address”: “alice@b.com”
                }
      ]

HTML

Returns the string from the email’s HTML body, if available; returns an array if the email object contains several HTML parts

Example:

html: "<div class=\"x-eml-message x-eml-level-0\" lang=\"EN-US\" link=\"blue\" vlink=\"purple\"> \n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=us-ascii\" />\n <meta name=\"Generator\" content=\"Microsoft Word 14 (filtered medium)\" />\n <style><!--\r\n/* Font Definitions */\r\n@font-face\r\n\t{font-family:\"Cambria Math\";\r\n\tpanose-1:2 4 5 3 5 4 6 3 2 4;}\r\n@font-face\r\n\t{font-family:Calibri;\r\n\tpanose-1:2 15 5 2 2 2 4 3 2 4;}\r\n/* Style Definitions */\r\np.MsoNormal, li.MsoNormal, div.MsoNormal\r\n\t{margin:0in;\r\n\tmargin-bottom:.0001pt;\r\n\tfont-size:11.0pt;\r\n\tfont-family:\"Calibri\",\"sans-serif\";}\r\na:link, span.MsoHyperlink\r\n\t{mso-style-priority:99;\r\n\tcolor:blue;\r\n\ttext-decoration:underline;}\r\na:visited, span.MsoHyperlinkFollowed\r\n\t{mso-style-priority:99;\r\n\tcolor:purple;\r\n\ttext-decoration:underline;}\r\nspan.EmailStyle17\r\n\t{mso-style-type:personal-compose;\r\n\tfont-family:\"Calibri\",\"sans-serif\";\r\n\tcolor:windowtext;}\r\n.MsoChpDefault\r\n\t{mso-style-type:export-only;\r\n\tfont-family:\"Calibri\",\"sans-serif\";}\r\n@page WordSection1\r\n\t{size:8.5in 11.0in;\r\n\tmargin:1.0in 1.0in 1.0in 1.0in;}\r\ndiv.WordSection1\r\n\t{page:WordSection1;}\r\n--></style>\n <!--[if gte mso 9]><xml>\r\n<o:shapedefaults v:ext=\"edit\" spidmax=\"1026\" />\r\n</xml><![endif]-->\n <!--[if gte mso 9]><xml>\r\n<o:shapelayout v:ext=\"edit\">\r\n<o:idmap v:ext=\"edit\" data=\"1\" />\r\n</o:shapelayout></xml><![endif]-->\n <div class=\"WordSection1\">\n  <p class=\"MsoNormal\">\n   <o:p>\n     \n   </o:p></p>\n </div>\n</div>"

Subject

Returns the string from the email’s Subject field, if available

Example: Subject : "10/20 attempt #3"

Text

Returns the string from the email’s text body, if available; returns an array if the email object contains several HTML parts

Example: text : "\r\n\r\n"

To

Returns the email addresses and names (if available) of the email’s To field in an array of objects

Example:

To: [
           {
                “address”: “alice@b.com”
           }

]

< Previous | Next >