AutomationFlowsGeneral › Weekly Forecast Digest (sunday 21:00 Et)

Weekly Forecast Digest (sunday 21:00 Et)

Weekly forecast digest (Sunday 21:00 ET). Uses executeCommand. Scheduled trigger; 4 nodes.

Cron / scheduled trigger★★☆☆☆ complexity4 nodesExecute Command
General Trigger: Cron / scheduled 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": "Weekly forecast digest (Sunday 21:00 ET)",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 21 * * 0"
            }
          ]
        }
      },
      "id": "cron",
      "name": "Sundays 9pm ET",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [
        240,
        320
      ]
    },
    {
      "parameters": {
        "command": "=cd /opt/gtm-engineering && python automations/05-forecasting-suite/weekly_tracker.py --csv data/pipeline_current.csv --previous data/pipeline_last_week.csv --out outputs/forecast_week.md"
      },
      "id": "tracker",
      "name": "Run weekly tracker",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        460,
        320
      ]
    },
    {
      "parameters": {
        "command": "=cd /opt/gtm-engineering && python automations/05-forecasting-suite/renewal_risk_model.py score --features data/renewal_features.csv --model-path models/renewal_risk.pkl --out outputs/renewal_risk.csv"
      },
      "id": "risk-score",
      "name": "Score renewal risk",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        680,
        320
      ]
    },
    {
      "parameters": {
        "command": "=cd /opt/gtm-engineering && python automations/05-forecasting-suite/slack_digest.py --forecast outputs/forecast_week.md --risk outputs/renewal_risk.csv"
      },
      "id": "digest",
      "name": "Post Slack digest",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        900,
        320
      ]
    }
  ],
  "connections": {
    "Sundays 9pm ET": {
      "main": [
        [
          {
            "node": "Run weekly tracker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run weekly tracker": {
      "main": [
        [
          {
            "node": "Score renewal risk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Score renewal risk": {
      "main": [
        [
          {
            "node": "Post Slack digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "forecast-digest-v1",
  "tags": [
    "forecasting",
    "revenue",
    "weekly"
  ]
}
Pro

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

About this workflow

Weekly forecast digest (Sunday 21:00 ET). Uses executeCommand. Scheduled trigger; 4 nodes.

Source: https://github.com/elikem2021/gtm-engineering/blob/main/n8n/weekly-forecast-digest.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Execute a command that gives the hard disk memory used on the host machine. Uses executeCommand, twilio, noOp. Scheduled trigger; 5 nodes.

Execute Command, Twilio
General

RECON-NIGHTLY-001. Uses executeCommand. Scheduled trigger; 4 nodes.

Execute Command
General

Paren Pulse — weekly snapshot to #Data. Uses executeCommand. Scheduled trigger; 2 nodes.

Execute Command
General

JobSearch Weekly Report. Uses executeCommand, emailSend. Scheduled trigger; 6 nodes.

Execute Command, Email Send
General

Daily Rackspace Ticket Report. Uses executeCommand, emailSend. Scheduled trigger; 5 nodes.

Execute Command, Email Send