CRM

Last-Touch Gap Crosses Threshold, Alert the Owner

Watches Salesforce activity events and fires the moment an account's gap since its last logged touch crosses a configured limit.

CategoryCRM
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSalesforce account activity eventSalesforce
  • LogicRecompute last-touch gap and check threshold crossing
  • LogicSuppress if alert already sent in cooldown window
  • ActionDraft account-specific re-engagement suggestion with OpenAIOpenAI
  • OutputPost threshold alert to owner in SlackSlack

What it does

Listens for account activity changes and recomputes the days-since-last-touch on each event. When an account silently crosses its allowed gap (for example 30 days with no call, email, or meeting), it raises a single deduplicated alert to the owner rather than waiting for a batch report.

When to use it

Use this when timing matters and a weekly digest is too slow. It catches an account the day it tips into neglect, so the owner can act while the relationship is still warm.

How it works

  1. 1A Salesforce activity/event change triggers the flow.
  2. 2Recompute the last-touch gap for the affected account.
  3. 3Branch: only continue if the gap just crossed the threshold and no alert was sent in the cooldown window.
  4. 4Generate a short, account-specific re-engagement suggestion with OpenAI from recent context.
  5. 5Post the alert and suggested next step to the owner in Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SalesforceAccounts, opportunities, cases.
  2. 2
    Connect OpenAIModels, embeddings, files.
  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.