Detect and triage risky OAuth apps with Anthropic Claude and Slack
Needs changesWhat this workflow does
This AI workflow has 20 nodes and runs on a schedule (every 30 minutes). Along the way it connects Anthropic Chat Model and Slack.
How it runs
Trigger: On a schedule (every 30 minutes).
- HTTP - Fetch Authorized OAuth Apps (HTTP Request): calls an HTTP API
- HTTP - Fetch Baseline Whitelist (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- JS - Diff Against Baseline (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- HTTP - Enrich App Reputation (HTTP Request): calls an HTTP API (POST)
- JS - Attach Reputation to Flagged Apps (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Claude - OAuth Risk Scoring (AI Agent): runs an AI agent, with model: Anthropic - Risk Scoring Model
- JS - Parse Risk Scores (Code): runs custom JavaScript code
…plus 7 more steps. See the full node list below.
Services it uses
Other Anthropic + Slack templates (204)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Claude - OAuth Risk Scoring (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Claude - OAuth Risk Scoring (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs every 30 minutes to detect new or changed OAuth-authorized apps, enriches them with publisher reputation data, scores risk with Anthropic Claude, and then auto-revokes high-risk grants or posts Slack alerts for review while…