Module Values.LeadInteractionSource

Represents a specific interaction or touchpoint with a lead customer. This structure captures details about communications, meetings, or other engagement activities that help track the lead's progression and engagement history.

Sourcetype nonrec t = {
  1. sourceType : LeadSourceType.t;
    (*

    Specifies the type of source that generated the lead interaction, such as "Event", "Website", "Referral", or "Campaign". This categorization helps track lead generation effectiveness across different channels.

    *)
  2. sourceId : LeadSourceId.t;
    (*

    The unique identifier of the specific source that generated the lead interaction. This ID provides traceability back to the original lead generation activity.

    *)
  3. sourceName : LeadSourceName.t;
    (*

    The descriptive name of the source that generated the lead interaction, providing a human-readable identifier for the lead generation channel or activity.

    *)
  4. usecase : EngagementUseCase.t option;
    (*

    Describes the specific use case or business scenario discussed during the lead interaction. This helps categorize the customer's interests and potential solutions.

    *)
  5. interactionDate : DateTime.t option;
    (*

    The date and time when the lead interaction occurred, in ISO 8601 format (UTC). This timestamp helps track the chronology of lead engagement activities.

    *)
  6. customerAction : CustomerAction.t;
    (*

    Describes the action taken by the customer during or as a result of the interaction, such as requesting information, scheduling a meeting, or expressing interest in a solution.

    *)
  7. businessProblem : EngagementCustomerBusinessProblem.t option;
    (*

    Describes the business problem or challenge that the customer discussed during the interaction. This information helps qualify the lead and identify appropriate solutions.

    *)
  8. contact : LeadContact.t;
    (*

    Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.

    *)
}
Sourceval context_ : string
Sourceval make : ?usecase:??? -> ?interactionDate:??? -> ?businessProblem:??? -> sourceType:LeadSourceType.t -> sourceId:LeadSourceId.t -> sourceName:LeadSourceName.t -> customerAction:CustomerAction.t -> contact:LeadContact.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of LeadSourceType.t | `Structure of (string * [> `String of JobTitle.t ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t