AutomationFlowsData & Sheets › Notion Learning Plan → Glance

Notion Learning Plan → Glance

Notion Learning Plan → Glance. Uses httpRequest. Webhook trigger; 4 nodes.

Webhook trigger★★★★☆ complexity4 nodesHTTP Request
Data & Sheets Trigger: Webhook Nodes: 4 Complexity: ★★★★☆ Added:

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 →

Download .json
{
  "name": "Notion Learning Plan \u2192 Glance",
  "nodes": [
    {
      "parameters": {
        "path": "learning",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "15c15cfa-7bb4-42b5-bffd-dd8c8fb60281",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        48,
        -96
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.notion.com/v1/databases/2466914a68328083a576cc791fb27c2e/query",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_NOTION_API_KEY"
            },
            {
              "name": "Notion-Version",
              "value": "2022-06-28"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": []
        },
        "options": {}
      },
      "id": "3dd91f08-55a0-47bb-8344-2be6aedd84d6",
      "name": "Query Notion",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        288,
        -96
      ]
    },
    {
      "parameters": {
        "jsCode": "const results = $input.first().json.results || [];\n\nconst phases = results.map(page => {\n  const props = page.properties;\n  const name = props['Phases']?.title?.[0]?.plain_text ?? 'Untitled';\n  const phase = props['Phase']?.multi_select?.[0]?.name ?? '\u2014';\n  const status = props['Status']?.status?.name ?? 'Not Started';\n  const end_date = props['End Date']?.date?.start ?? '\u2014';\n\n  // Parse number from formula string like \"\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\ud83d\udfe9\u2b1c\u2b1c\u2b1c\u2b1c\u2b1c\u2b1c 45%\"\n  const cpRaw = props['Completion Percentage']?.formula?.string ?? '';\n  const match = cpRaw.match(/(\\d+)%/);\n  const progress = match ? parseInt(match[1]) : 0;\n\n  return { name, phase, status, progress, end_date };\n});\n\nconst avg = phases.length\n  ? Math.round(phases.reduce((s, p) => s + p.progress, 0) / phases.length)\n  : 0;\n\nconst active = phases.find(p => p.status === 'In Progress')\n  ?? phases.find(p => p.progress > 0 && p.progress < 100)\n  ?? phases[0]\n  ?? { name: '\u2014', phase: '\u2014', progress: 0, status: '\u2014', end_date: '\u2014' };\n\nreturn [{\n  json: {\n    overall_progress: avg,\n    active_name: active.name,\n    active_phase: active.phase,\n    active_progress: active.progress,\n    active_status: active.status,\n    active_end_date: active.end_date,\n    phases: phases.map(p => ({ name: p.name, progress: p.progress }))\n  }\n}];"
      },
      "id": "ab11b485-df07-457c-a76a-3b80310c2358",
      "name": "Transform Data",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        528,
        -96
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $json }}",
        "options": {}
      },
      "id": "d4263b80-5067-4bf3-a7b4-a18fc63cb43b",
      "name": "Respond",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        768,
        -96
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Query Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Query Notion": {
      "main": [
        [
          {
            "node": "Transform Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform Data": {
      "main": [
        [
          {
            "node": "Respond",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": true
  },
  "versionId": "5fdabc21-c180-4202-ac27-abc81fc07735",
  "id": "hG8BHRCTTZ9gQmQK",
  "tags": []
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Notion Learning Plan → Glance. Uses httpRequest. Webhook trigger; 4 nodes.

Source: https://github.com/AdilAmejoud/Life-OS/blob/main/workflows/learning-plan.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

This premium n8n workflow harnesses the power of DataForSEO's API combined with Airtable's relational database capabilities to transform your keyword research process, providing deeper insights for co

HTTP Request, Airtable
Data & Sheets

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Airtable, HTTP Request, Google Drive +1
Data & Sheets

This workflow automates the entire lifecycle of a service-based client, combining four distinct business flows into a single view: Intake Leads: Receives a webhook from your form builder, validates th

Airtable, Notion, Google Calendar +3
Data & Sheets

It intelligently syncs confirmed sales orders from your Airtable base to QuickBooks, automatically creating new customers if they don't exist before generating a perfectly matched invoice. It then log

Airtable, QuickBooks, HTTP Request
Data & Sheets

WorkFlow 12. Uses notion, httpRequest. Webhook trigger; 35 nodes.

Notion, HTTP Request