{
  "name": "Daily B2B lead monitoring: Website visitor digest with ProspectPro and Gmail",
  "nodes": [
    {
      "id": "87d718ee-2815-4598-a782-e0377dc5095c",
      "name": "Set Filter Time",
      "type": "n8n-nodes-base.code",
      "position": [
        112,
        -48
      ]
    },
    {
      "id": "440986e2-fa17-450b-84ba-6a1d67875ffe",
      "name": "Get Prospects",
      "type": "@bedrijfsdatanl/n8n-nodes-prospectpro.prospectpro",
      "position": [
        352,
        -48
      ]
    },
    {
      "id": "4559b076-c8ab-46d6-b4ba-0ea6aae3a495",
      "name": "Select Prospects",
      "type": "n8n-nodes-base.code",
      "position": [
        592,
        -48
      ]
    },
    {
      "id": "b90e8b83-98b3-4d7e-adc5-ddb45dd19fa2",
      "name": "Has Prospects?",
      "type": "n8n-nodes-base.if",
      "position": [
        832,
        -48
      ]
    },
    {
      "id": "e56eaccd-3c77-45e6-8dc3-ba9d921c6fd8",
      "name": "Create a Prospect List",
      "type": "n8n-nodes-base.code",
      "position": [
        1072,
        -48
      ]
    },
    {
      "id": "d569ca35-3e5f-4695-9272-ea604b01ac04",
      "name": "No Prospects, No Email",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1552,
        352
      ]
    },
    {
      "id": "f6ea9470-3801-4b16-afa4-fd6f1a18332b",
      "name": "Error: ProspectPro",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1552,
        800
      ]
    },
    {
      "id": "931d0e27-3ac3-4164-9b7f-5dc086d97b40",
      "name": "Error: Gmail",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1552,
        992
      ]
    },
    {
      "id": "d1527b38-dc02-437a-a93c-eca2e8af2066",
      "name": "Send Notification",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1312,
        -48
      ]
    },
    {
      "id": "167a0dbb-b5e0-42bf-b6ca-c17f844c2963",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        560
      ],
      "parameters": {
        "width": 224,
        "height": 624,
        "content": "## Error handling\nPlease always handle potential errors properly.\n\n**For example**: log in Google Sheet, send Slack/Telegram/email notification."
      }
    },
    {
      "id": "17d67b78-8e99-438b-8bc6-6ab8f88aa2b2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        160
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## No Results\nCancel workflow when there isn't any activity to report."
      }
    },
    {
      "id": "0b9e9258-f39b-4cb6-a63a-1a6a53d2cd12",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1216,
        -240
      ],
      "parameters": {
        "width": 896,
        "height": 704,
        "content": "## Template: Send ProspectPro notifications\nThis workflow collects all prospects that have visited your website in the last 24 hours, and wraps it up in a daily email notification.\n\n*Important:* This "
      }
    },
    {
      "id": "e246ccd6-bb7f-4fc6-b033-3bd42273b42c",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Trigger: Daily\nWorkflow executes daily at 07:50."
      }
    },
    {
      "id": "6fc153df-c3b5-4bf2-9a7a-0b3a081ca9da",
      "name": "Daily, 07:50",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -128,
        -48
      ]
    },
    {
      "id": "21d82f5f-e1d7-44fc-a39d-e19a33bb5fee",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Set Filter Time\nSimple code for daily notifications. Adjust when changing your execution interval. "
      }
    },
    {
      "id": "e4503162-05b9-483f-9478-c4166f6471fa",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Get Prospects\nGet all prospects that have been modified in the last 24 hours."
      }
    },
    {
      "id": "080fc58b-065a-45a8-8ffd-0069c1a81018",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Filter Prospects\nRemove disqualified prospects and prospects that haven't visited your website in the last 24 hours."
      }
    },
    {
      "id": "b874fbbb-721c-46cc-bc49-cb9ff1258850",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Check Results\nCheck if there are any prospects to report."
      }
    },
    {
      "id": "51c294be-9422-416e-8ca2-f52921b558c4",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Prospect List\nDefine what prospect data you want to include in your email notification."
      }
    },
    {
      "id": "c32792e4-b4cf-4347-a264-d470ada67d6f",
      "name": "Notification",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Notification\nConfigure and compose your notification."
      }
    },
    {
      "id": "b7c748b7-be60-4346-a92d-669f0bd20a1b",
      "name": "Done",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1552,
        -48
      ]
    },
    {
      "id": "01b2a038-0160-4416-ad7b-cee00b8b3e12",
      "name": "Notification1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        -240
      ],
      "parameters": {
        "width": 224,
        "height": 384,
        "content": "## Workflow Completed\nOptionally add following steps, like logging."
      }
    }
  ],
  "connections": {
    "Daily, 07:50": {
      "main": [
        [
          {
            "node": "Set Filter Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Prospects": {
      "main": [
        [
          {
            "node": "Select Prospects",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error: ProspectPro",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Prospects?": {
      "main": [
        [
          {
            "node": "Create a Prospect List",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Prospects, No Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Filter Time": {
      "main": [
        [
          {
            "node": "Get Prospects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select Prospects": {
      "main": [
        [
          {
            "node": "Has Prospects?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Notification": {
      "main": [
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error: Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a Prospect List": {
      "main": [
        [
          {
            "node": "Send Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}