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": "\ud83d\udcca Daily HR Summary",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 24
}
]
}
},
"id": "cron-hr-summary",
"name": "Every Day 8 AM",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
220,
300
]
},
{
"parameters": {
"method": "GET",
"url": "http://172.21.0.3:8000/api/attendance",
"options": {}
},
"id": "http-attendance",
"name": "Fetch Attendance",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
440,
300
]
},
{
"parameters": {
"method": "GET",
"url": "http://172.21.0.3:8000/api/leaves",
"options": {}
},
"id": "http-leaves",
"name": "Fetch Leaves",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
300
]
},
{
"parameters": {
"method": "GET",
"url": "http://172.21.0.3:8000/api/payroll",
"options": {}
},
"id": "http-payroll",
"name": "Fetch Payroll",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
880,
300
]
},
{
"parameters": {
"jsCode": "const attendance = $('Fetch Attendance').first().json;\nconst leaves = $('Fetch Leaves').first().json;\nconst payroll = $('Fetch Payroll').first().json;\n\nconst attArr = Array.isArray(attendance) ? attendance : [];\nconst leaveArr = Array.isArray(leaves) ? leaves : [];\nconst payArr = Array.isArray(payroll) ? payroll : [];\n\nconst today = new Date().toISOString().split('T')[0];\nconst presentToday = attArr.filter(a => a.date === today && a.status === 'PRESENT').length;\nconst lateToday = attArr.filter(a => a.date === today && a.status === 'LATE').length;\nconst absentToday = attArr.filter(a => a.date === today && a.status === 'ABSENT').length;\nconst pendingLeaves = leaveArr.filter(l => l.status === 'PENDING').length;\nconst approvedLeaves = leaveArr.filter(l => l.status === 'APPROVED').length;\nconst pendingPayroll = payArr.filter(p => p.status === 'PENDING').length;\nconst paidPayroll = payArr.filter(p => p.status === 'PAID').length;\n\nconst content = '\ud83d\udcca **Daily HR Summary** \u2014 ' + today + '\\n\\n' +\n '\ud83d\udcdd **Attendance Today**\\n' +\n ' \u2705 Present: ' + presentToday + '\\n' +\n ' \u23f0 Late: ' + lateToday + '\\n' +\n ' \u274c Absent: ' + absentToday + '\\n\\n' +\n '\ud83c\udfd6\ufe0f **Leave Requests**\\n' +\n ' \u23f3 Pending: ' + pendingLeaves + '\\n' +\n ' \u2705 Approved (all-time): ' + approvedLeaves + '\\n\\n' +\n '\ud83d\udcb0 **Payroll**\\n' +\n ' \u23f3 Pending: ' + pendingPayroll + '\\n' +\n ' \u2705 Paid: ' + paidPayroll + '\\n\\n' +\n '\ud83e\udd16 _Generated automatically by SynergyGig n8n_';\n\nreturn [{ json: { content } }];"
},
"id": "code-hr-summary",
"name": "Build Summary",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1100,
300
]
},
{
"parameters": {
"method": "POST",
"url": "http://172.21.0.3:8000/api/posts",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ author_id: 1, content: $json.content }) }}"
},
"id": "http-post-summary",
"name": "Post HR Summary",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1320,
300
]
}
],
"connections": {
"Every Day 8 AM": {
"main": [
[
{
"node": "Fetch Attendance",
"type": "main",
"index": 0
}
]
]
},
"Fetch Attendance": {
"main": [
[
{
"node": "Fetch Leaves",
"type": "main",
"index": 0
}
]
]
},
"Fetch Leaves": {
"main": [
[
{
"node": "Fetch Payroll",
"type": "main",
"index": 0
}
]
]
},
"Fetch Payroll": {
"main": [
[
{
"node": "Build Summary",
"type": "main",
"index": 0
}
]
]
},
"Build Summary": {
"main": [
[
{
"node": "Post HR Summary",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
π Daily HR Summary. Uses httpRequest. Scheduled trigger; 6 nodes.
Source: https://github.com/bouallegueMohamedSeji/synergygig-web/blob/b6561e161931abbe6239ad76431d5365dd31df9a/n8n-workflows/wf3_hr_summary.json β original creator credit. Request a take-down β
More Web Scraping workflows β Β· Browse all categories β
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Birthday Automation - Production (Fixed). Uses stopAndError, httpRequest, emailSend, bannerbear. Scheduled trigger; 86 nodes.
This template runs two scheduled workflows to govern Microsoft Entra ID (Azure AD) guest accounts by detecting stale users via Microsoft Graph, staging deletions in SharePoint with a 72-hour window, n
Jira-Allure-Auto-Qa. Uses httpRequest, jira. Scheduled trigger; 68 nodes.
Spotify-Sync-Surrealdb-V1. Uses httpRequest, n8n-nodes-surrealdb, spotify. Scheduled trigger; 62 nodes.
As n8n instances scale, teams often lose track of sub-workflowsβwho uses them, where they are referenced, and whether they can be safely updated. This leads to inefficiencies like unnecessary copies o