Templates / Detect idle device activity from Prey screenshots with Claude Vision

Detect idle device activity from Prey screenshots with Claude Vision

Unknown

by Patricio · 1 views · created 2026-09-17 · Engineering, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Prey (community). It also calls api.anthropic.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Set — Window config (Edit Fields (Set)): sets 5 fields: window_minutes, min_reports, min_span_minutes…
  2. Code: runs custom JavaScript code
  3. If: checks a condition and branches into true / false
  4. Get device reports (Prey): get device reports
  5. Code: runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. HTTP — Download screenshot (HTTP Request): calls an HTTP API
  8. Code: runs custom JavaScript code
  9. HTTP — Claude vision (Anthropic) (HTTP Request): calls api.anthropic.com (POST)
  10. Code: runs custom JavaScript code

Services it uses

Prey (community)

HTTP calls to: api.anthropic.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @preyproject/n8n-nodes-prey is verified or supports 3.0 (used in Get device reports).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (8)

From the author

Quick Overview This workflow detects device idleness by sampling recent Prey screenshot reports and analyzing them with Anthropic Claude Vision, returning a JSON verdict (idle true/false plus summary) while enforcing a configurable cooldown and minimum data…

Excerpt from Patricio's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.