CRM
Weekly Lapsed-Account Cohort Scoring from Snowflake to Salesforce
Scores account lapse risk weekly using engagement and revenue history modeled in Snowflake.
How it runs
The automated pipeline, trigger to output.
- TriggerWeekly schedule
- ActionRun cohort lapse-risk scoring query in SnowflakeSnowflake
- 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
- 1A weekly schedule triggers the run.
- 2Execute the cohort scoring query in Snowflake over usage, support, and revenue history to emit one scored row per account.
- 3Map continuous scores into decay flag tiers based on configurable cutoffs.
- 4Diff against the current Salesforce values so only changed accounts are updated.
- 5Bulk-update the score and decay flag fields on matching Salesforce accounts.
Set it up
What you configure once, before turning it on.
- 1Connect SnowflakeWarehouses, queries, shares.
- 2Connect SalesforceAccounts, opportunities, cases.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More CRM workflows
Dormant Account Check-In Call Scheduler
On the anniversary of an account's last touch, books a tentative check-in call on the owner's Google Calendar and emails the contact a scheduling invite.
Weekly Dormant-Anniversary Cohort Digest
Every week, groups dormant Attio accounts by which last-touch anniversary they hit that week, builds a prioritized digest.
AI-Personalized Dormant Account Win-Back
On a dormancy anniversary, an agent researches the account's history and recent public signals, drafts a genuinely personalized win-back email.
Backfill Intercom conversation topics onto stale HubSpot contacts
Finds HubSpot contacts with no recent Intercom topic, pulls their conversation history from Intercom, classifies the dominant topic with OpenAI.
Daily orphaned-opportunity sweep with manager Slack digest
Each morning this scans Salesforce for open opportunities owned by inactive users and posts a per-manager digest in Slack listing the orphaned deals that need a new owner.
Tag closed Intercom conversations onto Salesforce contacts in real time
On each Intercom conversation close, classifies the topic with OpenAI and appends it to the matching Salesforce contact's activity timeline so the topic never goes stale…
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
