AutomationFlowsWeb Scraping › M1-b-minute2daily (15:01)

M1-b-minute2daily (15:01)

M1-B-Minute2Daily (15:01). Uses httpRequest. Scheduled trigger; 5 nodes.

Cron / scheduled trigger★★★★☆ complexity5 nodesHTTP Request
Web Scraping Trigger: Cron / scheduled Nodes: 5 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": "M1-B-Minute2Daily (15:01)",
  "nodes": [
    {
      "id": "trigger",
      "name": "\u5b9a\u65f6\u89e6\u53d1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "1 15 * * 1-5"
            }
          ]
        }
      }
    },
    {
      "id": "manual",
      "name": "\u624b\u52a8\u89e6\u53d1",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        200
      ]
    },
    {
      "id": "set-symbols",
      "name": "\u751f\u6210\u516d\u5927\u6307\u6570",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        200,
        100
      ],
      "parameters": {
        "jsCode": "const symbols = ['sh000001', 'sz399001', 'sz399006', 'sh000688', 'sh000300', 'sh000852'];\nreturn symbols.map(s => ({ json: { symbol: s } }));"
      }
    },
    {
      "id": "http",
      "name": "\u8c03\u7528\u672c\u5730 M1-B",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        400,
        100
      ],
      "parameters": {
        "method": "POST",
        "url": "http://host.docker.internal:8787/api/m1/run",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"script\": \"m1_minute_to_daily.py\",\n  \"symbol\": \"{{ $json.symbol }}\",\n  \"day\": \"{{ $today.toFormat('yyyy-MM-dd') }}\"\n}",
        "options": {}
      }
    },
    {
      "id": "parse",
      "name": "\u8f93\u51fa\u6267\u884c\u7ed3\u679c",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        600,
        100
      ],
      "parameters": {
        "jsCode": "return $input.all().map(item => {\n  let raw = item.json.stdout ? item.json.stdout.join('\\n') : '';\n  let summary = `M1-B \u274c \u672a\u77e5\u9519\u8bef`;\n  if (raw.includes('\u6210\u529f\uff01\u5408\u5e76\u751f\u6210\u4e86')) {\n    const match = raw.match(/\u6210\u529f\uff01\u5408\u5e76\u751f\u6210\u4e86 (.*) \u7684\u65e5\u7ebf: (.*)/);\n    if (match) {\n      summary = `M1-B \u2705 day=${match[1]}\\n\u5408\u5e76\u6210\u529f: ${match[2]}`;\n    }\n  } else if (raw.includes('\u274c')) {\n    const match = raw.match(/\u274c (.*)/);\n    if (match) summary = `M1-B \u274c \u5931\u8d25: ${match[1]}`;\n  }\n  return { json: { summary } };\n});"
      }
    }
  ],
  "connections": {
    "\u5b9a\u65f6\u89e6\u53d1": {
      "main": [
        [
          {
            "node": "\u751f\u6210\u516d\u5927\u6307\u6570",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u624b\u52a8\u89e6\u53d1": {
      "main": [
        [
          {
            "node": "\u751f\u6210\u516d\u5927\u6307\u6570",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u751f\u6210\u516d\u5927\u6307\u6570": {
      "main": [
        [
          {
            "node": "\u8c03\u7528\u672c\u5730 M1-B",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u8c03\u7528\u672c\u5730 M1-B": {
      "main": [
        [
          {
            "node": "\u8f93\u51fa\u6267\u884c\u7ed3\u679c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Pro

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

About this workflow

M1-B-Minute2Daily (15:01). Uses httpRequest. Scheduled trigger; 5 nodes.

Source: https://github.com/unana5577/a-stock-monitor/blob/472a2ef9e12b057d5733690ee535d88ff164a2ba/n8n-workflows/M1-B-Minute2Daily.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.

Web Scraping

Proactively alert to service endpoint changes and pod/container issues (Pending, Not Ready, Restart spikes) using Prometheus metrics, formatted and sent to Slack.

HTTP Request
Web Scraping

Tired of being let down by the Google Drive Trigger? Rather not exhaust system resources by polling every minute? Then this workflow is for you!

HTTP Request, Execute Workflow Trigger
Web Scraping

Triggers at a regular interval or via a webhook request. Solves AWS WAF challenge then makes a request to fetch the product page. Extracts product data from the retrieved HTML page. Compares the curre

N8N Nodes Capsolver, HTTP Request
Web Scraping

Automatically monitor billable Kimai projects every weekday morning and receive a formatted HTML email when a project deadline is approaching or its hour budget is running low. If nothing requires att

Email Send, HTTP Request
Web Scraping

Transform your business with intelligent deal monitoring and automated customer engagement! This AI-powered coupon aggregator continuously tracks competitor deals and creates personalized marketing ca

HTTP Request