{
 "name": "RecipeAgents: Weekly link roundup from your saved bookmarks",
 "nodes": [
  {
   "parameters": {
    "rule": {
     "interval": [
      {
       "field": "weeks",
       "triggerAtDay": [
        1
       ],
       "triggerAtHour": 8
      }
     ]
    }
   },
   "id": "993ec119-0882-474d-94b2-a1f31d06db14",
   "name": "Schedule Trigger",
   "type": "n8n-nodes-base.scheduleTrigger",
   "typeVersion": 1.2,
   "position": [
    240,
    300
   ]
  },
  {
   "parameters": {
    "modelId": {
     "__rl": true,
     "value": "gpt-4o-mini",
     "mode": "list",
     "cachedResultName": "GPT-4O-MINI"
    },
    "messages": {
     "values": [
      {
       "content": "=For each link, write one sentence (under 25 words) on why it's worth reading, based on my note. Keep my opinions; don't add new claims about the content. Links: {{ JSON.stringify($json) }}"
      }
     ]
    },
    "jsonOutput": true,
    "options": {}
   },
   "id": "79b0200a-14a6-4d25-9fc2-24abea121c0a",
   "name": "AI step",
   "type": "@n8n/n8n-nodes-langchain.openAi",
   "typeVersion": 1.8,
   "position": [
    500,
    300
   ]
  },
  {
   "parameters": {
    "sendTo": "you@example.com",
    "subject": "RecipeAgents result",
    "emailType": "text",
    "message": "={{ typeof $json.message.content === 'string' ? $json.message.content : JSON.stringify($json.message.content, null, 2) }}",
    "options": {}
   },
   "id": "65f8539a-86be-4d29-b96b-553437dad020",
   "name": "Email me",
   "type": "n8n-nodes-base.gmail",
   "typeVersion": 2.1,
   "position": [
    760,
    300
   ]
  },
  {
   "parameters": {
    "content": "## Weekly link roundup from your saved bookmarks\nFrom recipeagents.usestarbase.com/recipes/newsletter-link-roundup\n\n1. Connect credentials on each node (Google, OpenAI, Slack).\n2. Pick your sheet/folder/channel and model.\n3. Run once with test data and check the output before activating.\nKeep a human check on anything customer-facing.",
    "height": 260,
    "width": 420
   },
   "id": "4084ded5-024b-4123-addd-0a34fa4422f9",
   "name": "Read me",
   "type": "n8n-nodes-base.stickyNote",
   "typeVersion": 1,
   "position": [
    200,
    20
   ]
  }
 ],
 "connections": {
  "Schedule Trigger": {
   "main": [
    [
     {
      "node": "AI step",
      "type": "main",
      "index": 0
     }
    ]
   ]
  },
  "AI step": {
   "main": [
    [
     {
      "node": "Email me",
      "type": "main",
      "index": 0
     }
    ]
   ]
  }
 },
 "pinData": {},
 "active": false,
 "settings": {
  "executionOrder": "v1"
 },
 "meta": {
  "templateCredsSetupCompleted": false
 },
 "tags": []
}