{
  "id": "pattern-unapproved-ai-action",
  "name": "Synthetic pattern - AI action without approval",
  "active": false,
  "nodes": [
    {
      "id": "pattern-agent",
      "name": "Reply Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2,
      "position": [0, 0],
      "parameters": {
        "promptType": "define",
        "text": "={{ $json.message }}"
      }
    },
    {
      "id": "pattern-email-tool",
      "name": "Email Tool",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2,
      "position": [260, 0],
      "parameters": {
        "fromEmail": "clinic@example.test",
        "toEmail": "recipient@example.test",
        "subject": "Synthetic message",
        "text": "={{ $json.output }}"
      },
      "credentials": {
        "smtp": {
          "id": "synthetic-smtp",
          "name": "Synthetic SMTP"
        }
      }
    }
  ],
  "connections": {
    "Email Tool": { "ai_tool": [[{ "node": "Reply Agent", "type": "ai_tool", "index": 0 }]] }
  },
  "settings": {}
}
