AccountScoringRuleset
An Account Scoring Ruleset: fit rules plus one Lead Scoring Ruleset whose Activity and Engagement adjustments roll up to the account inside a rolling window.
type AccountScoringRuleset {
id: ID!
name: String!
brand: Brand
active: Boolean!
is_default: Boolean!
engagement_ruleset: LeadScoreRuleset
engagement_window_days: Int!
rollup_method: AccountScoringRollupMethod!
rollup_top_n: Int!
anonymous_visit_points: Int!
contact_filter: Segment
rules: [AccountScoringRule!]!
weights: [AccountScoringWeight!]!
accounts_scored: Int!
created_at: DateTime!
created_by: User
updated_at: DateTime!
updated_by: User
}
Fields
AccountScoringRuleset.id ● ID! non-null scalar
AccountScoringRuleset.name ● String! non-null scalar
AccountScoringRuleset.brand ● Brand object
AccountScoringRuleset.active ● Boolean! non-null scalar
AccountScoringRuleset.is_default ● Boolean! non-null scalar
AccountScoringRuleset.engagement_ruleset ● LeadScoreRuleset object
The Lead Scoring Ruleset whose Activity and Engagement adjustments roll up to the account.
AccountScoringRuleset.engagement_window_days ● Int! non-null scalar
Rolling window, in days, over which contact adjustments count toward engagement.
AccountScoringRuleset.rollup_method ● AccountScoringRollupMethod! non-null enum
How the contacts' weighted points inside the window become the account's engagement score.
AccountScoringRuleset.rollup_top_n ● Int! non-null scalar
How many of the most-engaged contacts count under TOP_N; ignored by the other methods.
AccountScoringRuleset.anonymous_visit_points ● Int! non-null scalar
Points each anonymous visit adds to its account's engagement, flat: no contact weight, contact filter or rollup method applies. 0 turns anonymous visits off. While above 0, undefined contacts' Lead Score adjustments no longer roll up, so a visitor is never counted twice. Changing one non-zero value to another applies to new visits only: visits already counted keep their points until they leave the window. Setting 0 removes the counted visits and re-scores every account at once; turning it back on counts only visits from then on.
AccountScoringRuleset.contact_filter ● Segment object
The hidden segment that decides whose activity rolls up. Applies to new activity only. Null when the ruleset has no filter.
AccountScoringRuleset.rules ● [AccountScoringRule!]! non-null object
AccountScoringRuleset.weights ● [AccountScoringWeight!]! non-null object
AccountScoringRuleset.accounts_scored ● Int! non-null scalar
How many accounts hold a score under this ruleset.
AccountScoringRuleset.created_at ● DateTime! non-null scalar
AccountScoringRuleset.created_by ● User object
AccountScoringRuleset.updated_at ● DateTime! non-null scalar
AccountScoringRuleset.updated_by ● User object
Returned By
accountScoringRuleset query ● createAccountScoringRuleset mutation ● deleteAccountScoringRuleset mutation ● updateAccountScoringRuleset mutation
Member Of
AccountScoreSummary object ● AccountScoringPause object ● AccountScoringRulesetsResponse object ● AccountScoringThreshold object


