{
  "name": "Generate AI case studies from Feedspace testimonials with Google Gemini and publish to WordPress",
  "nodes": [
    {
      "id": "91443bc7-6d23-4356-b92f-4eecb6400ae4",
      "name": "Feedspace Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -4256,
        1040
      ]
    },
    {
      "id": "4763e7fd-fbd5-4d56-b55c-06d96827de6f",
      "name": "Extract Testimonial Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -4000,
        1024
      ]
    },
    {
      "id": "a9941a48-be90-4b7b-857f-7325bc989cb8",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -3776,
        1024
      ]
    },
    {
      "id": "1bfd3606-dba1-4393-8f70-932e989afbe6",
      "name": "AI Agent - Generate Case Study & Title",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3408,
        1024
      ]
    },
    {
      "id": "12cad028-bbd2-41ae-8115-ab7cfe9aff26",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -3408,
        816
      ]
    },
    {
      "id": "630fc2a4-10cc-440c-a80c-c554cc84c761",
      "name": "Parse AI Agent Output",
      "type": "n8n-nodes-base.code",
      "position": [
        -3072,
        1024
      ]
    },
    {
      "id": "8739d5d5-46e9-4d7a-8c29-a09933a057ed",
      "name": "Memory Context Logger",
      "type": "n8n-nodes-base.code",
      "position": [
        -2832,
        1008
      ]
    },
    {
      "id": "dc896889-4f8a-4b6b-ab98-2c1af9649232",
      "name": "Prepare WordPress Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -2464,
        1040
      ]
    },
    {
      "id": "00dacaeb-cdfc-4ead-b1ba-92fbba3dbfcc",
      "name": "Create WordPress Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        -2192,
        1040
      ]
    },
    {
      "id": "a346166c-f91a-4e5d-ac75-3bdd189f7863",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -3296,
        1264
      ]
    },
    {
      "id": "48c7cb0a-5ad7-4fd5-bedf-9e0baae11066",
      "name": "Error Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -3744,
        1264
      ]
    },
    {
      "id": "722a8b3f-c369-4274-8a7e-452fd4db89ec",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        -1968,
        1024
      ]
    },
    {
      "id": "255e5d32-f55e-40b8-bd51-5bc2e41d9508",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4368,
        880
      ],
      "parameters": {
        "width": 816,
        "height": 672,
        "content": "## Webhook & Notification\nReceives Feedspace webhook, extracts data and checks if text feedback"
      }
    },
    {
      "id": "d64fba1d-d342-47f8-b873-24c0c2ca26c2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3488,
        704
      ],
      "parameters": {
        "width": 832,
        "height": 832,
        "content": "## Generate case study with AI Agent\n"
      }
    },
    {
      "id": "10d209e2-7e91-42d0-97b9-5eed34c03d09",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2576,
        752
      ],
      "parameters": {
        "width": 960,
        "height": 736,
        "content": "## Create Wordpress Post\nPrepare the wordpress data and creates a post on WP.\n"
      }
    },
    {
      "id": "1838b9a7-5ee5-41b6-8963-462966226e84",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5008,
        704
      ],
      "parameters": {
        "width": 544,
        "height": 800,
        "content": "## Generate AI Case Studies from Feedspace Testimonials\n**Who is this for?**\nTeams using Feedspace who want to automatically turn customer testimonials into SEO-optimized case studies and publish them"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "AI Agent - Generate Case Study & Title",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent - Generate Case Study & Title",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Feedspace Webhook": {
      "main": [
        [
          {
            "node": "Extract Testimonial Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Memory Context Logger": {
      "main": [
        [
          {
            "node": "Prepare WordPress Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Agent Output": {
      "main": [
        [
          {
            "node": "Memory Context Logger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare WordPress Data": {
      "main": [
        [
          {
            "node": "Create WordPress Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Testimonial Data": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - Generate Case Study & Title",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - Generate Case Study & Title": {
      "main": [
        [
          {
            "node": "Parse AI Agent Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}