{
  "name": "Sync Shopify customers to Zoho CRM contacts with value-based scoring",
  "nodes": [
    {
      "id": "d5a45ed7-4e37-4261-91a3-9193a27c347a",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -2560,
        224
      ]
    },
    {
      "id": "b363f35a-c792-463c-89ec-a7d65a964c84",
      "name": "Extract Customer Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -2000,
        224
      ]
    },
    {
      "id": "dbba9633-e915-40c8-8346-86c5a965b9cf",
      "name": "Search for Existing Contact",
      "type": "n8n-nodes-base.zohoCrm",
      "position": [
        -1760,
        224
      ]
    },
    {
      "id": "82fb867d-c567-4b7f-95d6-c9f10b730a19",
      "name": "Create New Contact",
      "type": "n8n-nodes-base.zohoCrm",
      "position": [
        -576,
        336
      ]
    },
    {
      "id": "1b1965a3-58e5-4dc8-8ade-7d0f2710997f",
      "name": "Update Existing Contact",
      "type": "n8n-nodes-base.zohoCrm",
      "position": [
        -592,
        160
      ]
    },
    {
      "id": "73054692-cac3-42ac-98e9-8d54b58905f5",
      "name": "Contact Exists?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1088,
        224
      ]
    },
    {
      "id": "05d8bd07-acc2-4f3d-a73b-1b6ab147c9c1",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3632,
        -96
      ],
      "parameters": {
        "width": 496,
        "height": 688,
        "content": "# How It Works\n### This workflow automates the synchronization of Shopify customer activity with Zoho CRM, ensuring sales and support teams have up-to-date purchase history and engagement metrics.\n\n# "
      }
    },
    {
      "id": "7cbd833f-746c-4c43-ab71-4cd60ed3719e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2992,
        16
      ],
      "parameters": {
        "width": 720,
        "height": 496,
        "content": "## Shopify Trigger & Set Configuration\nThe process begins with a Shopify Trigger listening for new customers or orders created in your store. This is followed by a Workflow Configuration node that est"
      }
    },
    {
      "id": "4a116ce9-7419-4e8a-af5b-7f486b7857ef",
      "name": "Trigger on New Customer or Order",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        -2800,
        224
      ]
    },
    {
      "id": "8eadec49-e00a-49b9-8070-a6037b7df313",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2208,
        16
      ],
      "parameters": {
        "width": 784,
        "height": 496,
        "content": "## Data Extraction & CRM Search\nThis stage processes the raw shopify data by using the Extract Customer Data node to calculate key engagement metrics, such as lifetime spend, order frequency and high-"
      }
    },
    {
      "id": "95c533aa-cf89-452f-bf0c-394da380a60c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        16
      ],
      "parameters": {
        "width": 1072,
        "height": 496,
        "content": "## Conditional Routing & CRM Synchronization\nThe final stage uses a Contact Exists? IF node to determine the appropriate path in Zoho CRM based on whether a matching record was found. If the contact i"
      }
    }
  ],
  "connections": {
    "Contact Exists?": {
      "main": [
        [
          {
            "node": "Update Existing Contact",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create New Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Customer Data": {
      "main": [
        [
          {
            "node": "Search for Existing Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Extract Customer Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search for Existing Contact": {
      "main": [
        [
          {
            "node": "Contact Exists?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger on New Customer or Order": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}