Send Prey missing-device alerts with Claude and Slack and log events to Sheets
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model, Slack and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Route by Event Type (Switch): routes items into 1 branches
- Set Alert Data Fields (Edit Fields (Set)): sets 9 fields: event_type, device_key, device_name…
- Set Log Entry Fields (Edit Fields (Set)): sets 7 fields: timestamp, event_type, device_id…
- Content Analysis Agent (AI Agent): runs an AI agent, with model: Claude Chat Model
- Append Log to Sheets (Google Sheets): append
- Post Alert to Slack (Slack): uses Slack
- Prepare Missing Event Log (Edit Fields (Set)): sets 7 fields: timestamp, event_type, device_id…
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Anthropic + Google Sheets templates (261) · Other Anthropic + Slack templates (204)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow receives Prey device webhook events, sends devicemissing incidents to Anthropic Claude to generate an urgent Slack alert, and appends both missing and non-missing device lifecycle events to a Google Sheets audit log. How it works…