{
  "name": "Supermemory synthetic ingestion smoke test",
  "active": false,
  "nodes": [
    {
      "id": "manual",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "parameters": {}
    },
    {
      "id": "payload",
      "name": "Synthetic payload",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        240,
        0
      ],
      "parameters": {
        "jsCode": "return [{json:{content:\"Demo preference: send the weekly summary on Monday.\",containerTag:\"demo-tenant-demo-user\",customId:\"demo-tenant-demo-user-preference-001\"}}];"
      }
    },
    {
      "id": "write",
      "name": "Ingest synthetic document",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.supermemory.ai/v3/documents",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBearerAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ $json }}",
        "options": {
          "timeout": 10000
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Synthetic payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Synthetic payload": {
      "main": [
        [
          {
            "node": "Ingest synthetic document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}