Check JWT security of API endpoints with HTTP requests and Google Sheets
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set Sheet Variables (Edit Fields (Set)): sets 3 fields: sheet_id, endpoints_sheet, results_sheet
- Read from Sheets (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Loop Over Endpoint Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Decode JWT and Build Tokens (Code): runs custom JavaScript code
- Validate Token via HTTP (HTTP Request): calls an HTTP API
- Extract Valid Token Status (Code): runs custom JavaScript code
- Check Valid Token Pass (If): checks a condition and branches into true / false
- HTTP Request: calls an HTTP API
- Tampered Token HTTP Request (HTTP Request): calls an HTTP API
…plus 10 more steps. See the full node list below.
Services it uses
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 (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter
From the author
Quick Overview This workflow reads API endpoints and JWTs from Google Sheets, tests each endpoint with multiple token scenarios using HTTP requests, and writes a risk-scored security summary back to Google Sheets. How it works 1. Triggers manually (or on an…