The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "API - Get Tokens",
"nodes": [
{
"parameters": {
"httpMethod": "GET",
"path": "get-tokens",
"options": {}
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json.headers['x-acl-auth-key']}}",
"operation": "equal",
"value2": "={{$env.ACL_AUTH_KEY}}"
}
]
}
},
"name": "Auth Check",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
200,
0
]
},
{
"parameters": {
"operation": "find",
"collection": "tokens",
"options": {}
},
"name": "Get Tokens from Mongo",
"type": "n8n-nodes-base.mongoDb",
"typeVersion": 1,
"position": [
400,
0
],
"credentials": {
"mongoDb": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\n \"success\": true,\n \"data\": {\n \"tokens\": {{$json}},\n \"university\": \"AcademicChain University\"\n }\n}",
"options": {}
},
"name": "Respond Data",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
600,
0
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\"error\": \"Unauthorized\"}",
"options": {
"responseCode": 401
}
},
"name": "Respond 401",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
200,
200
]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Auth Check",
"type": "main",
"index": 0
}
]
]
},
"Auth Check": {
"main": [
[
{
"node": "Get Tokens from Mongo",
"type": "main",
"index": 0
}
],
[
{
"node": "Respond 401",
"type": "main",
"index": 0
}
]
]
},
"Get Tokens from Mongo": {
"main": [
[
{
"node": "Respond Data",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
mongoDb
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
API - Get Tokens. Uses mongoDb. Webhook trigger; 5 nodes.
Source: https://github.com/Aether-Connect-Labs/AcademicChain-Ledger/blob/main/n8n/workflows/get-tokens.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Interview Prep Flow. Uses httpRequest, mongoDb. Webhook trigger; 4 nodes.
ACL - Efficiency Dashboard. Uses mongoDb. Webhook trigger; 2 nodes.
Orquestador Multichain AcademicChain. Uses httpRequest, moveBinaryData, mongoDb. Webhook trigger; 23 nodes.
⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n ins