{
  "name": "WordPress-to-Pipedrive integration: Automating contact & lead management",
  "nodes": [
    {
      "id": "51bde0f3-2300-4a85-89d3-cf7d7b43c94d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        0
      ],
      "parameters": {
        "width": 611,
        "height": 1168.7934508816131,
        "content": "### Webhook Setup for Contact Form 7 in WordPress\n* Install Contact Form 7: Begin by installing the Contact Form 7 plugin in your WordPress site. This plugin allows for easy creation and management of"
      }
    },
    {
      "id": "ba7c4fdd-5502-408b-ba04-484f3d3b6240",
      "name": "Create Lead",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        2020,
        400
      ]
    },
    {
      "id": "0a211c74-0ea2-4385-a19f-5d35603ca64f",
      "name": "Search Person in Pipedrive",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        900,
        420
      ]
    },
    {
      "id": "79fd1b5d-874f-4ffd-ab3c-1969fb71e7c2",
      "name": "Check if person is in Pipedrive and output the ID",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        420
      ]
    },
    {
      "id": "9664b373-11f8-4dbb-adcf-5db14498f03d",
      "name": "IF Person exists in Pipedrive",
      "type": "n8n-nodes-base.if",
      "position": [
        1320,
        420
      ]
    },
    {
      "id": "d98569ea-9879-4e65-b310-82f199abe436",
      "name": "Pipedrive",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        1540,
        520
      ]
    },
    {
      "id": "1afebef2-cb8c-4ef7-bb37-820b9d20f8fd",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        720,
        420
      ]
    },
    {
      "id": "67813ff5-2017-4850-b9b9-2267f1bc60e6",
      "name": "New Person ID",
      "type": "n8n-nodes-base.code",
      "position": [
        1820,
        400
      ]
    },
    {
      "id": "bd5b9b7d-0450-4739-9956-51aa8339d181",
      "name": "Create Note",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        2180,
        400
      ]
    },
    {
      "id": "b864919c-1438-4705-8822-0752c88f3a76",
      "name": "Create Activity",
      "type": "n8n-nodes-base.pipedrive",
      "position": [
        2340,
        400
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Search Person in Pipedrive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pipedrive": {
      "main": [
        [
          {
            "node": "New Person ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Lead": {
      "main": [
        [
          {
            "node": "Create Note",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Note": {
      "main": [
        [
          {
            "node": "Create Activity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "New Person ID": {
      "main": [
        [
          {
            "node": "Create Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Person in Pipedrive": {
      "main": [
        [
          {
            "node": "Check if person is in Pipedrive and output the ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Person exists in Pipedrive": {
      "main": [
        [
          {
            "node": "New Person ID",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Pipedrive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if person is in Pipedrive and output the ID": {
      "main": [
        [
          {
            "node": "IF Person exists in Pipedrive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}