CRM

Weekly Lapsed-Account Cohort Scoring from Snowflake to Salesforce

Scores account lapse risk weekly using engagement and revenue history modeled in Snowflake.

CategoryCRM
Enginesim
Difficultyadvanced
Triggerschedule
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule
  • ActionRun cohort lapse-risk scoring query in SnowflakeSnowflakeSnowflake
  • LogicMap scores into decay flag tiers
  • LogicDiff against current Salesforce field values
  • OutputBulk-write score + decay flag back to Salesforce accountsSalesforce

What it does

Runs a warehouse-side cohort query that blends product usage, support, and revenue trend signals to produce a lapse-risk score per account, then writes that score plus a tiered decay flag (Healthy / Cooling / Lapsing / Dormant) back into Salesforce custom fields.

When to use it

Use this when your richest engagement signals live in the data warehouse, not the CRM, and you want reps to see a trustworthy risk tier directly on the account record instead of in a separate report.

How it works

  1. 1A weekly schedule triggers the run.
  2. 2Execute the cohort scoring query in Snowflake over usage, support, and revenue history to emit one scored row per account.
  3. 3Map continuous scores into decay flag tiers based on configurable cutoffs.
  4. 4Diff against the current Salesforce values so only changed accounts are updated.
  5. 5Bulk-update the score and decay flag fields on matching Salesforce accounts.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SnowflakeWarehouses, queries, shares.
  2. 2
    Connect SalesforceAccounts, opportunities, cases.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.