{
  "nodes": [
    {
      "id": "a846f1c8-3746-4014-bd1d-147cdd21bf00",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        336
      ],
      "parameters": {
        "color": 7,
        "width": 416,
        "height": 320,
        "content": "## Schedule and configure\n\nStarts the workflow on the weekday hourly schedule and prepares runtime settings such as the ntfy topic and keyword list used downstream."
      },
      "typeVersion": 1
    },
    {
      "id": "9d85c2f7-3bc7-40a8-8894-57d911b07f6b",
      "name": "When Hourly on Weekdays",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1696,
        496
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 0 8-17 * * 1-5"
            }
          ]
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "19be3d51-075c-461f-ad80-c8185ca3ac23",
      "name": "Set Notification Parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        1920,
        496
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f6489e5c-1a84-4055-b2af-6672bf247fd3",
              "name": "ntfy_topic",
              "type": "string",
              "value": "your_ntfy_topic"
            },
            {
              "id": "418fdb69-0957-4aca-b87e-8743f3e20d81",
              "name": "keywords",
              "type": "string",
              "value": "javascript python"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b1e7077b-d15f-42d3-9164-9c81abd7162c",
      "name": "Post Jobs to Upwork Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2144,
        496
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/energizing_technology~cheapest-upwork-jobs-scraper/run-sync-get-dataset-items",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "keywords",
              "value": "={{ $json.keywords }}"
            },
            {
              "name": "minutes_since_last_offer",
              "value": "60"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "0237d070-eae5-499c-9909-bf04d5a178b6",
      "name": "Send NTFY Notification Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2368,
        496
      ],
      "parameters": {
        "url": "={{$('Set Notification Parameters').first().json.ntfy_topic ? 'https://ntfy.sh/' + $('Set Notification Parameters').first().json.ntfy_topic : ''}}",
        "body": "=[{{ $json.title }}]({{ $json.url }})",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "raw",
        "sendHeaders": true,
        "rawContentType": "text/markdown",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "text/markdown"
            }
          ]
        }
      },
      "typeVersion": 4.4
    },
    {
      "id": "6ea977e5-1dc8-4f32-9103-47428d6f917a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        304
      ],
      "parameters": {
        "width": 512,
        "height": 560,
        "content": "## Scrape Upwork Jobs & Get Notified for Free\n\n\n### How it works\n\nThis workflow runs hourly during weekday business hours to check for relevant Upwork jobs. It sets configuration values such as keywords and the ntfy topic, fetches matching jobs through an Apify HTTP request, and sends a notification through ntfy with the results.\n\n\n### Setup steps\n\n- Configure the schedule trigger to match the desired weekdays and business hours/time zone.\n- Update the Config node with the correct ntfy topic and keyword list for the Upwork searches.\n- Configure the Fetch Upwork Jobs HTTP request with the required Apify actor endpoint, API token, and request payload.\n- Verify the Send NTFY Notification HTTP request points to the correct ntfy server/topic and formats the notification body as desired.\n\n\n### Customization\n\nAdjust the keywords, schedule frequency, Apify actor settings, or notification content to target different job categories or change alert behavior."
      },
      "typeVersion": 1
    },
    {
      "id": "23fdd43e-88ff-48b0-b08c-92be943f0455",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2096,
        320
      ],
      "parameters": {
        "color": 7,
        "width": 416,
        "height": 368,
        "content": "## Fetch jobs and notify \ud83d\udd14\n\nCalls the Apify-based Upwork jobs endpoint using the configured search inputs, then posts the resulting notification to the configured ntfy topic."
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "When Hourly on Weekdays": {
      "main": [
        [
          {
            "node": "Set Notification Parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Jobs to Upwork Scraper": {
      "main": [
        [
          {
            "node": "Send NTFY Notification Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Notification Parameters": {
      "main": [
        [
          {
            "node": "Post Jobs to Upwork Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}