{
  "name": "100mil.org Free Sample - Daily Idea Prompt",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "triggerAtHour": 9
            }
          ]
        }
      },
      "id": "d4cf0ac6-f9a2-4767-b901-efa2991072bc",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        480
      ]
    },
    {
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "5441f4d8-1329-45c4-af52-06ce76030b4f",
              "name": "chatId",
              "value": "SET_YOUR_CHAT_ID",
              "type": "string"
            },
            {
              "id": "ef9897ce-7767-42ce-ae88-733e08479bee",
              "name": "prompts",
              "value": "What question did someone ask you this week that you could answer in public?\nWhat is one mistake you made early on, and what would you do differently now?\nWhich tool or habit saved you the most time this month? Explain how you use it.\nWhat do beginners in your field usually get wrong? Write the short correction.\nDescribe one small process you repeat every week, step by step.\nWhat is something you changed your mind about this year, and why?\nPick one recent project. What worked, what did not, and what would you keep?",
              "type": "string"
            }
          ]
        },
        "includeOtherFields": false,
        "options": {}
      },
      "id": "5796e268-f15b-4ff6-bce3-d2cff9175786",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        480
      ]
    },
    {
      "parameters": {
        "jsCode": "// Picks one writing prompt per day from the list in Settings.\nconst settings = $('Settings').first().json;\nconst prompts = String(settings.prompts || '')\n  .split('\\n')\n  .map((line) => line.trim())\n  .filter(Boolean);\nif (!prompts.length) {\n  throw new Error('Settings > prompts is empty. Add at least one prompt, one per line.');\n}\nconst dayOfYear = DateTime.now().ordinal;\nconst prompt = prompts[dayOfYear % prompts.length];\nreturn [{ json: { text: `Idea prompt for today:\\n\\n${prompt}\\n\\nWrite down one idea while it is fresh.` } }];\n"
      },
      "id": "07cc3af6-b294-4fc0-8549-d9f3d24f662c",
      "name": "Pick Today's Prompt",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        440,
        480
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $('Settings').first().json.chatId }}",
        "text": "={{ $json.text }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "id": "cd9742a6-bd71-4de6-9edc-26e2eb90ecf0",
      "name": "Send to Telegram",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        660,
        480
      ]
    },
    {
      "parameters": {
        "content": "## Free sample from 100mil.org\nThis free sample is **not** part of the paid Creator Automation Kit. Every morning it sends you one writing prompt on Telegram.\n\n### Setup\n1. Create a bot with BotFather in Telegram and add a **Telegram API** credential in n8n.\n2. **Settings**: set `chatId` to your Telegram chat ID and edit the prompts (one per line).\n3. **Send to Telegram**: select your Telegram credential.\n4. Click Test workflow, then activate.\n\nThe full Creator Automation Kit contains 12 workflows: idea capture, research digest, AI drafts with a human approval step, repurposing, scheduled publishing, reminders and reports. Available at 100mil.org.",
        "height": 364,
        "width": 520,
        "color": 4
      },
      "id": "9fa69367-f52e-49f1-826f-2bd7bf077ace",
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -60,
        56
      ]
    }
  ],
  "pinData": {},
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Pick Today's Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pick Today's Prompt": {
      "main": [
        [
          {
            "node": "Send to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
