{
  "name": "Daily AI news digest with Perplexity AI and Gmail automation",
  "nodes": [
    {
      "id": "b2ccab91-022a-4f4a-aea6-52aa17cfc1f3",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        0
      ]
    },
    {
      "id": "3703b88f-e3b2-4d44-b270-a2e4225fe21a",
      "name": "Message a model",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        240,
        0
      ]
    },
    {
      "id": "911914a8-c51d-4baf-b777-33052415108e",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        624,
        -64
      ]
    },
    {
      "id": "b8d259f9-030a-4bb1-9d35-08cc8ce3aa90",
      "name": "Generate Preview of New",
      "type": "n8n-nodes-base.html",
      "position": [
        624,
        432
      ]
    },
    {
      "id": "587c682c-00b9-4125-94fd-aaf87bb8609c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -416
      ],
      "parameters": {
        "width": null,
        "height": 560,
        "content": "### **1. Schedule Trigger**\n\n* **Purpose**: This node starts the workflow automatically at a scheduled time.\n* **Configuration**:\n\n  * Runs daily at **10:00 AM**.\n* **Role**: Ensures the workflow fetc"
      }
    },
    {
      "id": "86f03734-8291-41d7-9f5d-06dbbe779f74",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -416
      ],
      "parameters": {
        "width": 400,
        "height": 560,
        "content": "### **2. Message a Model (Perplexity API)**\n\n* **Purpose**: Fetches the latest AI and Tech news from the last 24 hours using the **Perplexity AI API**.\n* **Configuration**:\n\n  * **Model**: `sonar-pro`"
      }
    },
    {
      "id": "e5d11515-3484-42b3-9e1d-33f41aeba9e3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -416
      ],
      "parameters": {
        "width": 320,
        "height": 512,
        "content": "### **3. Send a Message (Gmail)**\n\n* **Purpose**: Sends the AI news email to selected recipients.\n* **Configuration**:\n\n  * **Recipients**: `xyz@gmail.com`.\n  * **Subject**: *Latest Tech and AI news u"
      }
    },
    {
      "id": "0c273c05-2445-47fc-9f03-7465f97f99b2",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        112
      ],
      "parameters": {
        "width": 320,
        "height": 480,
        "content": "### **4. HTML Node**\n\n* **Purpose**: Processes and structures the AI news into valid HTML.\n* **Configuration**:\n\n  * Input: `{{ $json.message }}` → The message generated by the Perplexity model.\n* **R"
      }
    }
  ],
  "connections": {
    "Message a model": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}