{
  "name": "Ingest and enrich Q&A pairs then store in Data Table [1/2]",
  "nodes": [
    {
      "id": "c4fba515-9db2-495c-838e-25eb58413e94",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "24d9713e-12f0-4870-b150-b5d595efbd17",
      "name": "is n8n.io email?",
      "type": "n8n-nodes-base.if",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "7653d339-0a23-47b4-8bcb-03cf209b8cb9",
      "name": "isTrusted:true",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        -112
      ]
    },
    {
      "id": "7f97f6eb-4928-4b4b-a27e-e3da7ba9f856",
      "name": "isTrusted:false",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        80
      ]
    },
    {
      "id": "d451864a-2ef6-48cd-b479-414963e5ee3f",
      "name": "ref",
      "type": "n8n-nodes-base.noOp",
      "position": [
        720,
        -16
      ]
    },
    {
      "id": "1f90264e-a8eb-449c-8b10-40d175d01d73",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        896,
        160
      ]
    },
    {
      "id": "5d4d0bac-9515-494a-88fa-621225113798",
      "name": "Add tags",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        912,
        -16
      ]
    },
    {
      "id": "aa14ad57-c47c-4901-9e1b-33fc1422a110",
      "name": "Insert row",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1232,
        -16
      ]
    },
    {
      "id": "43f1e1bc-723a-4ebf-ac2a-bea8d004ab87",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -480
      ],
      "parameters": {
        "width": 400,
        "height": 256,
        "content": "## QA Ingest Template\n### Flow 1/2\nThis workflow lets users submit Question and Answer pairs, automatically enriches them by flagging trusted submissions based on email validation and using an LLM to "
      }
    }
  ],
  "connections": {
    "ref": {
      "main": [
        [
          {
            "node": "Add tags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add tags": {
      "main": [
        [
          {
            "node": "Insert row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert row": {
      "main": [
        []
      ]
    },
    "isTrusted:true": {
      "main": [
        [
          {
            "node": "ref",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "isTrusted:false": {
      "main": [
        [
          {
            "node": "ref",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "is n8n.io email?": {
      "main": [
        [
          {
            "node": "isTrusted:true",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "isTrusted:false",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Add tags",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "is n8n.io email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}