INPUT_OBJECT

EmailSequenceEnrolledFilterInput

Filter conditions for EmailSequenceEnrolled records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

link GraphQL Schema definition

  • input EmailSequenceEnrolledFilterInput {
  • # Matches records that meet at least one of the listed filters.
  • OR: [EmailSequenceEnrolledFilterInput!]
  • # Matches records that meet all of the listed filters.
  • AND: [EmailSequenceEnrolledFilterInput!]
  • # Matches records that do not meet this filter.
  • NOT: EmailSequenceEnrolledFilterInput
  • # Search term matched against the fields that the global search covers for this
  • # entity.
  • globalSearchQuery: String
  • # Unique identifier of entity.
  • id: EntityFilterStringField
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: EntityFilterDateTimeField
  • # Creation time.
  • created: EntityFilterDateTimeField
  • # Id of the enrolled account.
  • accountId: EntityFilterStringField
  • # Id of the user who triggered the enrolment, or empty for runs triggered by
  • # automation.
  • actorId: EntityFilterStringField
  • # Id of the application (e.g. browser, automation, third-party integration) the
  • # enrolment was triggered in.
  • applicationId: EntityFilterStringField
  • # Id of the enrolled contact.
  • contactId: EntityFilterStringField
  • # Id of the activity log run that produced this enrolment.
  • emailSequenceActivityLogId: EntityFilterStringField
  • # Id of the email sequence this enrolment belongs to.
  • emailSequenceId: EntityFilterStringField
  • # Why the enrolment ended: Finished after all steps, Unenrolled when the record
  • # was removed before finishing, or NoReason while the enrolment is still active.
  • endReason: EmailSequenceEndReasonEnumFilterInput
  • # Timestamp when the enrolment ended (completed or unenrolled). Empty while the
  • # enrolment is active.
  • endTime: EntityFilterDateTimeField
  • # Id of the enrolled record: the account, contact, lead, opportunity or project
  • # that is set. Read-only.
  • entityId: EntityFilterStringField
  • # Type of the enrolled entity (e.g. Account, Contact, Lead). Read-only.
  • entityType: BaseEntityTypeEnumFilterInput
  • # True when this enrolment is excluded from sequence statistics (e.g. after a
  • # stats reset).
  • excludedFromStats: Boolean
  • # Id of the enrolled lead.
  • leadId: EntityFilterStringField
  • # Id of the enrolled opportunity.
  • opptyId: EntityFilterStringField
  • # Id of the enrolled project.
  • projectId: EntityFilterStringField
  • # Timestamp when the enrolment started.
  • startTime: EntityFilterDateTimeField
  • # Number of steps the enrolment has reached. Read-only.
  • stepCount: EntityFilterNumberField
  • # Display name of the enrolled record, formatted according to the calling user's
  • # preferred name format. Empty when the underlying record has been deleted.
  • name: EntityFilterStringField
  • # Email address used for delivery of this enrolment.
  • address: EntityFilterStringField
  • # Zero-based index of the next step the enrolment will execute (i.e. one past the
  • # highest stepIndex recorded in EmailSequenceEnrolledStatus). Empty before the
  • # first step runs.
  • stepIndex: Int
  • # Status of the enrolment's most recent sequence run (e.g. Ok, Warning, Error).
  • # Empty before the first run.
  • status: ProcessStatusEnum
  • # Name of the enrolled entity (Account, Contact, Lead, Opportunity, or Project),
  • # derived from entityType.
  • entityName: EntityNameEnum
  • # Account that was enrolled, when the trigger entity is an Account; otherwise
  • # empty. Matches records where a related record meets these conditions.
  • account: AccountFilterInput
  • # User who triggered the enrolment, or empty for runs triggered by automation.
  • # Matches records where a related record meets these conditions.
  • actor: ClientFilterInput
  • # Application context the enrolment was triggered in. Matches records where a
  • # related record meets these conditions.
  • application: ApplicationFilterInput
  • # Contact that was enrolled, when the trigger entity is a Contact; otherwise
  • # empty. Matches records where a related record meets these conditions.
  • contact: ContactFilterInput
  • # Activity log run that produced this enrolment. Matches records where a related
  • # record meets these conditions.
  • emailSequenceActivityLog: EmailSequenceActivityLogFilterInput
  • # Email sequence this enrolment belongs to. Matches records where a related record
  • # meets these conditions.
  • emailSequence: EmailSequenceFilterInput
  • # Lead that was enrolled, when the trigger entity is a Lead; otherwise empty.
  • # Matches records where a related record meets these conditions.
  • lead: LeadFilterInput
  • # Opportunity that was enrolled, when the trigger entity is an Opportunity;
  • # otherwise empty. Matches records where a related record meets these conditions.
  • oppty: OpportunityFilterInput
  • # Project that was enrolled, when the trigger entity is a Project; otherwise
  • # empty. Matches records where a related record meets these conditions.
  • project: ProjectFilterInput
  • }