SALES

Daily Renewal Health Score Rollup into Salesforce

Computes a daily renewal-risk health score from product usage and writes it back to each Salesforce opportunity, tripping a Slack alert when an account crosses into the red band.

CategorySales
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule starts the scoring run
  • ActionPull usage, login recency, and ticket volumePostgreSQLPostgres
  • LogicCompute weighted 0-100 health score and risk band
  • ActionWrite score and band onto Salesforce renewal opportunitiesSalesforce
  • LogicIsolate accounts newly crossing into the red band
  • OutputAlert the team in Slack about new red accountsSlack

What it does

Each morning it blends product usage trend, login recency, and support-ticket volume into a single 0-100 renewal health score per account, writes the score and risk band onto the matching Salesforce renewal opportunity, and alerts the team only when an account newly drops into the red.

When to use it

Use this when leadership wants renewal risk visible inside Salesforce reports and pipeline views, not buried in a separate dashboard nobody opens.

How it works

  1. 1A daily schedule starts the scoring run.
  2. 2Postgres pulls usage trend, last-login age, and 30-day ticket count per account.
  3. 3A logic step computes a weighted 0-100 health score and assigns a band: green, yellow, or red.
  4. 4A Salesforce action upserts the score, band, and last-scored date onto each open renewal opportunity.
  5. 5A logic step isolates accounts that moved from green/yellow into red since yesterday.
  6. 6A Slack message lists the new red accounts with their score drop and a link to each opportunity.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect SalesforceAccounts, opportunities, cases.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.