{
  "name": "DynaMail — update a Stat Counter",
  "active": false,
  "nodes": [
    {
      "parameters": {},
      "id": "a0d06459-00c6-4941-9c4a-f430ad781d10",
      "name": "Try manually",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [0, 0]
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "{\n  \"value\": 1250,\n  \"sourceVersion\": 1\n}",
        "options": {}
      },
      "id": "b66e238f-fd2e-4d90-b24a-0d35b0751f7e",
      "name": "Example source snapshot",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.5,
      "position": [260, 0]
    },
    {
      "parameters": {
        "method": "PUT",
        "url": "https://api.dynamail.io/widgets/REPLACE_WIDGET_ID/live-value",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "contentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ { value: $json.value, sourceVersion: $json.sourceVersion } }}",
        "options": {}
      },
      "id": "ee0db955-2346-478f-a626-7880c073ad69",
      "name": "Update Stat Counter",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.5,
      "position": [520, 0]
    }
  ],
  "connections": {
    "Try manually": {
      "main": [
        [
          {
            "node": "Example source snapshot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Example source snapshot": {
      "main": [
        [
          {
            "node": "Update Stat Counter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}
