Skip to content

Not contacted in 48 hours

{ "tool": "query_records", "type": "contact",
"filters": [{ "field": "lifecycle", "op": "in", "value": ["lead", "prospect"] },
{ "field": "doNotContact", "op": "eq", "value": false },
{ "field": "lastContactedAt", "op": "lt_or_null", "value": "now-48h" }],
"sort": "lastContactedAt:asc:nulls_first",
"fields": ["fullName", "email", "lastContactedAt", "organizations"] }

Why it works:

  • lt_or_null matches “older than 48 hours or never set”. Plain lt would skip the leads nobody ever contacted, usually the ones that matter most.
  • nulls_first puts the never-contacted at the top.
  • doNotContact eq false respects people who asked not to be contacted.
  • lastContactedAt moves only for emails, calls, meetings and messages that are not internal: a note does not count as contact.

For just the count, pipeline_metrics returns totals.staleContacts48h with the same definition.

Run it on a schedule with an API key, and send Mety-Agent-Run (for example stale-48h-2026-11-15) so the people can see what each run did.