{
  "name": "AI-powered research assistant with Perplexity Sonar API",
  "nodes": [
    {
      "id": "5790066d-4157-4844-aeaa-47706140ed7a",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -60,
        -380
      ]
    },
    {
      "id": "311eb2bf-3b79-46cf-abb1-9d90791167c3",
      "name": "Set Prompt Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        -380
      ]
    },
    {
      "id": "4385053f-c9c8-4aae-b0d2-4cf7a7817164",
      "name": "Extract API Response",
      "type": "n8n-nodes-base.set",
      "position": [
        620,
        -380
      ]
    },
    {
      "id": "b8e3f54b-5148-4e04-a8b1-e3003a0ee128",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -480
      ],
      "parameters": {
        "width": 1080,
        "height": 300,
        "content": "## Perplexity Research Workflow Overview\nThis workflow takes a user query, formats it using a system prompt, and sends it to the Perplexity AI Sonar model for search.\nResponses are extracted and retur"
      }
    },
    {
      "id": "7b77de3d-279a-4c33-b4c1-a796ab94a7fa",
      "name": "Perplexity Research Content1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        -380
      ]
    }
  ],
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Set Prompt Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}