Section 2 · Step 2
n8n nightly sweep, machine identity
A scheduled workflow that flags stale loans. Registered in Descope as a machine identity — authenticates via client_credentials, secrets live in the Connections vault.
n8n·northwind / nightly-stale-loans
last ran 02:00 UTC · 28 records
- Schedule triggerCron
- Fetch stale loans · HubSpotHTTPDescope vault · client_credentials
- Enrich borrower · external APIHTTPDescope vault · ek_l…uM91
- Flag risky loans · Slack #risk-opsSlackDescope vault · OAuth
n8n node config — for the curious
{
"name": "Fetch stale loans",
"type": "n8n-nodes-base.httpRequest",
"credentials": {
"descopeConnection": "hubspot-client-credentials"
}
}
// No client_id, no client_secret, no API key.
// The Descope node resolves the credential at run time.Descope Console·Connections / Vault
Stored credentials
2 entries- HubSpotOAuthscope: hubspot:read·for machine client_n8nBatch…7p2missued 12m agoexpires in 48m
- Enrichment API (clearbit-style)API keyscope: ek_l…uM91·for machine client_n8nBatch…7p2missued 12 days agoexpires no expiry
Operate
Each action runs against the mock state — no real services are called.