Library / Deal hygiene / deal-hygiene-001

Stale deal alert: no activity in 14 days

Deal hygiene Sales Hub Professional Deal Intermediate ~30 min to build

Outcome. Reps and their managers get notified automatically when an open deal has had no logged activity for 14 days, so deals stop dying quietly in the pipeline.

Workflow mapEnrollment, branches and actions at a glance
flowchart TD
    A[Deal enrolls: stage open, no activity 14d+] --> B{Stale Deal Flag = true?}
    B -->|yes| Z[Exit, already flagged]
    B -->|no| C[Set Stale Deal Flag = true]
    C --> D[Create task for owner]
    D --> E[Notify owner]
    E --> F[Delay 14 days]
    F --> G{Still stale after 28 days total?}
    G -->|yes| H[Notify manager - escalation]
    G -->|no| I[Reset Stale Deal Flag = false, exit]

When to use it / when not to

Prerequisites

Enrollment

Steps

  1. If/then branch: Stale Deal Flag is equal to true
    • Yes: exit workflow (already flagged, avoid duplicate notifications)
    • No: continue
  2. Set property value: Stale Deal Flag = true
  3. Create task: type "To-do", title "Deal stale - no activity 14+ days: {{deal.dealname}}", assigned to record owner, due in 1 business day
  4. Send internal email notification to: record owner, subject "No activity on {{deal.dealname}} in 14+ days"
  5. Delay for 14 days
  6. If/then branch: Last Activity Date is still more than 14 days ago AND Deal stage is still not Closed Won/Closed Lost
    • Yes: Send internal email notification to: manager property (or Teams hierarchy contact), subject "Escalation: {{deal.dealname}} stale for 28+ days"
    • No: Set property value: Stale Deal Flag = false, then exit

Known pitfalls

Test plan

  1. Create a test deal in an open, non-excluded stage and leave Last Activity Date blank or older than 14 days.
  2. Activate the workflow with "enroll existing records" checked, or wait for the next evaluation cycle.
  3. Open Automation > Workflows > this workflow > History tab, confirm the deal enrolled and each action shows success.
  4. Check the deal record's timeline for the created task and the internal notification event.
  5. Log a call against the deal, confirm Last Activity Date updates, then confirm Stale Deal Flag resets to false after the escalation branch resolves on the next cycle.

Variants

Build spec

trigger:
  type: filter_based
  reenrollment: true
  reenrollment_property: notes_last_updated
  object: deal
  criteria:
    - property: dealstage
      operator: not_in
      value: [closedwon, closedlost]
    - property: notes_last_updated
      operator: more_than_days_ago
      value: 14
    - property: stale_deal_flag
      operator: not_equal
      value: true
actions:
  - type: if_then_branch
    condition: stale_deal_flag == true
    if_true:
      - type: exit_workflow
    if_false:
      - type: set_property_value
        property: stale_deal_flag
        value: true
      - type: create_task
        task_type: todo
        title: "Deal stale - no activity 14+ days: {{deal.dealname}}"
        assigned_to: record_owner
        due: +1_business_day
      - type: send_internal_email_notification
        to: record_owner
        subject: "No activity on {{deal.dealname}} in 14+ days"
      - type: delay
        duration: 14_days
      - type: if_then_branch
        condition: notes_last_updated more_than_days_ago 14 AND dealstage not_in [closedwon, closedlost]
        if_true:
          - type: send_internal_email_notification
            to: manager_property
            subject: "Escalation: {{deal.dealname}} stale for 28+ days"
        if_false:
          - type: set_property_value
            property: stale_deal_flag
            value: false
This spec is one of the five free ones, complete as shown. Download all 5 free specs as PDF, Markdown and properties JSON. Paid packs add the same files for every spec in the pack, plus the custom coded actions.
Everything add-on Install this workflow in my portal Two clicks: authorise your portal, confirm. Properties created, workflow delivered switched off, ready to review. Coming to Everything and Pro buyers first.