{
  "workflow": {
    "id": 2610,
    "name": "Smartlead to HubSpot performance analytics",
    "views": 1948,
    "recentViews": 0,
    "totalViews": 1948,
    "createdAt": "2024-12-05T13:51:28.938Z",
    "description": "\n*Smartlead to HubSpot Performance Analytics\nA streamlined workflow to analyze your Smartlead performance metrics by tracking lifecycle stages in HubSpot and generating automated reports.*\n\n## **Who is this for?**\n\n(Outbound) Automation Agencies, Sales and marketing teams using Smartlead for outreach campaigns who want to track their performance metrics and lead progression in HubSpot.\n\n**What problem does this workflow solve?**\n\nManual tracking of lead performance across Smartlead and HubSpot is time-consuming and error-prone. This workflow automates performance reporting by connecting your Smartlead data with HubSpot lifecycle stages, providing clear insights into your outreach campaign effectiveness.\n\n**What this workflow does**\n\nAutomatically pulls performance data from your Smartlead campaigns\nCross-references contact status with HubSpot lifecycle stages\nGenerates comprehensive performance reports in Google Sheets\nProvides customizable reporting schedules to match your team's needs\n\n## **Setup Requirements**\n\n### **PostgreSQL Database**\n\nSet up your PostgreSQL instance (includes $300 free GCP credits)\nFollow our step-by-step setup guide: [Find a step-by-step guide here](https://github.com/wukimidaire/postgres_table_templates)\n\n\n### **Google Account Integration**\n\nConnect your Google Account to n8n\n[Find the guide here](https://docs.n8n.io/integrations/builtin/credentials/google/#compatible-nodes)\n\n\n### **Smartlead Configuration**\n\nConnect your Smartlead instance:\nDetailed connection guide included in workflow\n\n\n\n### **How to customize this workflow**\n\nConfigure the Trigger node to adjust report frequency\nModify the Google Sheets template to match your specific KPIs\nCustomize HubSpot lifecycle stage mapping in the Function node\nAdjust PostgreSQL queries to track additional metrics\n\nNeed assistance or have suggestions? \nlmk [**here**](https://www.linkedin.com/in/victordecoster/)",
    "workflow": {
      "meta": {
        "instanceId": "a2435d996b378e3a6fdef0468d70285e3aa0fbd0004de817bfc80e80afee4e7b"
      },
      "nodes": [
        {
          "id": "8a4ba8b8-b76e-4572-becd-e7f8fbea2651",
          "name": "EXTRACT CAMPAIGN DATA",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            500,
            960
          ],
          "parameters": {
            "url": "=https://server.smartlead.ai/api/v1/campaigns/{{ $json.id }}/leads-export",
            "options": {
              "batching": {
                "batch": {
                  "batchSize": 0
                }
              }
            },
            "sendQuery": true,
            "queryParameters": {
              "parameters": [
                {
                  "name": "api_key",
                  "value": "={{ $json['API KEY'] }}"
                }
              ]
            }
          },
          "typeVersion": 4.2
        },
        {
          "id": "90011ed6-180d-4170-8932-ac3aa7d0e5df",
          "name": "FETCH ALL CAMPAIGNS",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            -20,
            940
          ],
          "parameters": {
            "url": "https://server.smartlead.ai/api/v1/campaigns",
            "options": {
              "batching": {
                "batch": {
                  "batchSize": 0
                }
              }
            },
            "sendQuery": true,
            "queryParameters": {
              "parameters": [
                {
                  "name": "api_key",
                  "value": "={{ $json['API KEY'] }}"
                }
              ]
            }
          },
          "typeVersion": 4.2
        },
        {
          "id": "c41afcf1-9256-47fa-ad99-3e1af880e53d",
          "name": "Loop Over Items",
          "type": "n8n-nodes-base.splitInBatches",
          "position": [
            200,
            940
          ],
          "parameters": {
            "options": {
              "reset": "={{ $node['Loop Over Items'].context[\"done\"] }}"
            }
          },
          "typeVersion": 3
        },
        {
          "id": "606bfc18-1d70-4d64-ac70-ae6f42bf0dbb",
          "name": "UPDATE CAMPAIGN",
          "type": "n8n-nodes-base.postgres",
          "position": [
            720,
            1220
          ],
          "parameters": {
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "ce_campaign",
              "cachedResultName": "ce_campaign"
            },
            "schema": {
              "__rl": true,
              "mode": "list",
              "value": "outbound_activities",
              "cachedResultName": "outbound_activities"
            },
            "columns": {
              "value": {
                "name": "={{ $json.name }}",
                "status": "={{ $json.status }}",
                "user_id": "={{ $json.user_id }}",
                "client_id": "={{ $json.client_id }}",
                "created_at": "={{ $json.created_at }}",
                "updated_at": "={{ $json.updated_at }}",
                "campaign_id": "={{ $json.id }}",
                "track_settings": "={{ $json.track_settings }}",
                "unsubscribe_text": "={{ $json.unsubscribe_text }}",
                "max_leads_per_day": "={{ $json.max_leads_per_day }}",
                "parent_campaign_id": "={{ $json.parent_campaign_id }}",
                "send_as_plain_text": "={{ $json.send_as_plain_text }}",
                "stop_lead_settings": "={{ $json.stop_lead_settings }}",
                "follow_up_percentage": "={{ $json.follow_up_percentage }}",
                "min_time_btwn_emails": "={{ $json.min_time_btwn_emails }}",
                "scheduler_cron_value": "={{ $json.scheduler_cron_value }}",
                "enable_ai_esp_matching": "={{ $json.enable_ai_esp_matching }}",
                "psg_last_update_timestamp": "={{ $now }}"
              },
              "schema": [
                {
                  "id": "campaign_id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": true,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "user_id",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "user_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "created_at",
                  "type": "dateTime",
                  "display": true,
                  "required": true,
                  "displayName": "created_at",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "updated_at",
                  "type": "dateTime",
                  "display": true,
                  "required": true,
                  "displayName": "updated_at",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "status",
                  "type": "string",
                  "display": true,
                  "required": true,
                  "displayName": "status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "name",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "track_settings",
                  "type": "array",
                  "display": true,
                  "required": false,
                  "displayName": "track_settings",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "scheduler_cron_value",
                  "type": "object",
                  "display": true,
                  "required": false,
                  "displayName": "scheduler_cron_value",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "min_time_btwn_emails",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "min_time_btwn_emails",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "max_leads_per_day",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "max_leads_per_day",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "stop_lead_settings",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "stop_lead_settings",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "enable_ai_esp_matching",
                  "type": "boolean",
                  "display": true,
                  "required": false,
                  "displayName": "enable_ai_esp_matching",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "send_as_plain_text",
                  "type": "boolean",
                  "display": true,
                  "required": false,
                  "displayName": "send_as_plain_text",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "follow_up_percentage",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "follow_up_percentage",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "unsubscribe_text",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "unsubscribe_text",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "parent_campaign_id",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "parent_campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "client_id",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "client_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "psg_last_update_timestamp",
                  "type": "dateTime",
                  "display": true,
                  "required": false,
                  "displayName": "psg_last_update_timestamp",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "campaign_id"
              ]
            },
            "options": {
              "queryBatching": "independently"
            },
            "operation": "upsert"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "typeVersion": 2.5
        },
        {
          "id": "b9f61fd6-9327-428e-9e78-4ca0779476ea",
          "name": "Merge",
          "type": "n8n-nodes-base.merge",
          "position": [
            1220,
            980
          ],
          "parameters": {
            "mode": "combine",
            "options": {},
            "combineBy": "combineByPosition"
          },
          "typeVersion": 3
        },
        {
          "id": "b8c1082d-a12f-4e56-af8c-73641b45da67",
          "name": "Code",
          "type": "n8n-nodes-base.code",
          "notes": "// Retrieve the CSV-like data from the 'data' field in the input\nconst csvData = $json['data']; // Ensure that 'data' is the correct field name\n\n// Check if csvData exists and is not empty\nif (!csvData) {\n  console.log(\"Input data structure:\", $json); // Debugging output to inspect input structure\n  throw new Error('No CSV data provided. Ensure the correct field reference is being used.');\n}\n\n// Split the CSV into rows\nconst rows = csvData.split('\\n');\n\n// Extract the headers\nconst headers = rows[0].replace(/\"/g, '').split(',');\n\n// Iterate over each data row and map it to an object\nconst output = rows.slice(1).map(row => {\n  const values = row.match(/(\".*?\"|[^\",]+)(?=\\s*,|\\s*$)/g).map(value => {\n    // Remove surrounding quotes from each value if present\n    return value.startsWith('\"') && value.endsWith('\"') ? value.slice(1, -1) : value;\n  });\n\n  const item = {};\n  headers.forEach((header, index) => {\n    item[header] = values[index] || null;\n  });\n\n  return { json: item };\n});\n\nreturn output;",
          "position": [
            720,
            960
          ],
          "parameters": {
            "jsCode": "// Retrieve the CSV-like data from the 'data' field in the input\nconst csvData = items[0].json.data; // Ensure that 'data' is the correct field name\n\n// Check if csvData exists and is not empty\nif (!csvData) {\n  console.log(\"Input data structure:\", ); // Debugging output to inspect input structure\n  throw new Error('No CSV data provided. Ensure the correct field reference is being used.');\n}\n\nif (typeof csvData !== 'string') {\n  throw new Error('CSV data is not a string. Please check the input data format.');\n}\n\n// Preprocess the CSV data to handle missing values\nconst preprocessedCsvData = csvData.replace(/,,/g, ',\"\",');\n\n// Split the CSV into rows\nconst rows = preprocessedCsvData.split(/\\r?\\n/); // Adjust to handle different line endings\n\n// Define the expected number of columns based on CSV structure\nconst expectedNumberOfColumns = 22;\n\n// Iterate over each data row starting from the second row (index 1) and map it to an object\nconst output = rows.slice(1).map((row, index) => {\n  // Split the row into values, accounting for empty columns using regex\n  const values = row.split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/).map(value => {\n    // Remove surrounding quotes from each value if present and trim whitespace\n    return value.startsWith('\"') && value.endsWith('\"') ? value.slice(1, -1).trim() : value.trim();\n  });\n\n  // Ensure that the number of values matches the expected number of columns\n  while (values.length < expectedNumberOfColumns) {\n    values.push(\"\"); // Add empty strings for missing values\n  }\n\n  // Check if the number of values matches expected columns\n  if (values.length !== expectedNumberOfColumns) {\n    console.warn(`Row ${index + 1} doesn't have the expected number of columns. Skipping this entry.`);\n    return null; // Skip this row if it doesn't match the expected columns\n  }\n\n  // Create an item object with a fixed structure\n  const item = {\n    id: values[0] || null,\n    campaign_lead_map_id: values[1] || null,\n    status: values[2] || null,\n    category: values[3] || null,\n    is_interested: values[4] === 'true', // Convert to boolean\n    created_at: values[5] || null,\n    first_name: values[6] || null,\n    last_name: values[7] || null,\n    email: values[8] || null,\n    phone_number: values[9] || null,\n    company_name: values[10] || null,\n    website: values[11] || null,\n    location: values[12] || null,\n    custom_fields: values[13] || null,\n    linkedin_profile: values[14] || null,\n    company_url: values[15] || null,\n    is_unsubscribed: values[16] === 'true', // Convert to boolean\n    unsubscribed_client_id_map: values[17] || null,\n    last_email_sequence_sent: values[18] || null,\n    open_count: parseInt(values[19], 10) || 0, // Convert to number\n    click_count: parseInt(values[20], 10) || 0, // Convert to number\n    reply_count: parseInt(values[21], 10) || 0  // Convert to number\n  };\n\n  return { json: item };\n}).filter(item => item !== null); // Remove null entries from output\n\n// Return the structured output\nreturn output;\n"
          },
          "typeVersion": 2,
          "alwaysOutputData": true
        },
        {
          "id": "f6550deb-0479-475e-b3ba-9507a4ac8911",
          "name": "Loop Over Items1",
          "type": "n8n-nodes-base.splitInBatches",
          "position": [
            180,
            160
          ],
          "parameters": {
            "options": {
              "reset": "={{ $node['Loop Over Items1'].context[\"done\"] }}"
            }
          },
          "typeVersion": 3
        },
        {
          "id": "a183df85-17a2-4886-adc9-68b5ab5fa8b0",
          "name": "HubSpot",
          "type": "n8n-nodes-base.hubspot",
          "position": [
            420,
            180
          ],
          "parameters": {
            "operation": "getAll",
            "authentication": "oAuth2",
            "additionalFields": {}
          },
          "credentials": {
            "hubspotOAuth2Api": {
              "id": "credential-id",
              "name": "hubspotOAuth2Api Credential"
            }
          },
          "executeOnce": false,
          "typeVersion": 2.1,
          "alwaysOutputData": true
        },
        {
          "id": "da7e2980-6f82-4867-a460-306095234f5f",
          "name": "If",
          "type": "n8n-nodes-base.if",
          "position": [
            640,
            180
          ],
          "parameters": {
            "options": {},
            "conditions": {
              "options": {
                "version": 2,
                "leftValue": "",
                "caseSensitive": true,
                "typeValidation": "strict"
              },
              "combinator": "and",
              "conditions": [
                {
                  "id": "e77d0ee2-bb31-483b-98ee-b0acb0b54bb4",
                  "operator": {
                    "type": "boolean",
                    "operation": "false",
                    "singleValue": true
                  },
                  "leftValue": "={{ $json.companyId.isEmpty() }}",
                  "rightValue": ""
                }
              ]
            }
          },
          "typeVersion": 2.2
        },
        {
          "id": "9247f4c5-05dd-48a4-8bf9-c67a8936570c",
          "name": "Schedule Trigger",
          "type": "n8n-nodes-base.scheduleTrigger",
          "position": [
            -1340,
            980
          ],
          "parameters": {
            "rule": {
              "interval": [
                {}
              ]
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "16623c02-5fb6-40cd-835b-2557eddbbf85",
          "name": "UPSERT CAMPAIGN ACTIVITY",
          "type": "n8n-nodes-base.postgres",
          "onError": "continueErrorOutput",
          "position": [
            980,
            960
          ],
          "parameters": {
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "ce_campaign_activity",
              "cachedResultName": "ce_campaign_activity"
            },
            "schema": {
              "__rl": true,
              "mode": "list",
              "value": "outbound_activities",
              "cachedResultName": "outbound_activities"
            },
            "columns": {
              "value": {
                "id": "={{ $json.id }}",
                "email": "={{ $json.email }}",
                "status": "={{ $json.status }}",
                "website": "={{ $json.email.extractDomain() }}",
                "category": "={{ $json.category }}",
                "location": "={{ $json.location }}",
                "last_name": "={{ $json.last_name }}",
                "created_at": "={{ $json.created_at }}",
                "first_name": "={{ $json.first_name }}",
                "open_count": "={{ $json.open_count }}",
                "campaign_id": "={{ $('Loop Over Items').item.json.id }}",
                "click_count": "={{ $json.click_count }}",
                "company_url": "={{ $json.company_url }}",
                "reply_count": "={{ $json.reply_count }}",
                "company_name": "={{ $json.company_name }}",
                "phone_number": "={{ $json.phone_number }}",
                "custom_fields": "={{ JSON.stringify(JSON.parse($json.custom_fields.replace(/\"\"/g, '\"'))) }}",
                "is_interested": "={{ $json.is_interested }}",
                "is_unsubscribed": "={{ $json.is_unsubscribed }}",
                "linkedin_profile": "={{ $json.linkedin_profile }}",
                "campaign_lead_map_id": "={{ $json.campaign_lead_map_id }}",
                "last_email_sequence_sent": "={{ $json.last_email_sequence_sent }}",
                "psg_last_update_timestmap": "={{ $now }}",
                "unsubscribed_client_id_map": "={{ $json.unsubscribed_client_id_map }}"
              },
              "schema": [
                {
                  "id": "id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": true,
                  "displayName": "id",
                  "defaultMatch": true,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_lead_map_id",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "campaign_lead_map_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "status",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "category",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "category",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "is_interested",
                  "type": "boolean",
                  "display": true,
                  "required": false,
                  "displayName": "is_interested",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "created_at",
                  "type": "dateTime",
                  "display": true,
                  "required": true,
                  "displayName": "created_at",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "first_name",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "first_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "last_name",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "last_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "email",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "email",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "phone_number",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "phone_number",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "company_name",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "company_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "website",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "website",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "location",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "location",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "custom_fields",
                  "type": "object",
                  "display": true,
                  "required": false,
                  "displayName": "custom_fields",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "linkedin_profile",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "linkedin_profile",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "company_url",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "company_url",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "is_unsubscribed",
                  "type": "boolean",
                  "display": true,
                  "required": false,
                  "displayName": "is_unsubscribed",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "unsubscribed_client_id_map",
                  "type": "object",
                  "display": true,
                  "required": false,
                  "displayName": "unsubscribed_client_id_map",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "last_email_sequence_sent",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "last_email_sequence_sent",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "open_count",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "open_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "click_count",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "click_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "reply_count",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "reply_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "psg_last_update_timestmap",
                  "type": "dateTime",
                  "display": true,
                  "required": false,
                  "displayName": "psg_last_update_timestmap",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "campaign_id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "id"
              ]
            },
            "options": {
              "queryBatching": "independently"
            },
            "operation": "upsert"
          },
          "credentials": {},
          "typeVersion": 2.5
        },
        {
          "id": "be550807-7ec6-45bc-b522-ae958200e90e",
          "name": "HUBSPOT TABLE",
          "type": "n8n-nodes-base.postgres",
          "position": [
            900,
            160
          ],
          "parameters": {
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "hubspot",
              "cachedResultName": "hubspot"
            },
            "schema": {
              "__rl": true,
              "mode": "list",
              "value": "outbound_activities",
              "cachedResultName": "outbound_activities"
            },
            "columns": {
              "value": {
                "campaign_id": "={{ $node['Loop Over Items1'].data.campaign_id}}",
                "lifecyclestage": "={{ $json.properties.lifecyclestage.value }}",
                "hs_num_open_deals": "={{ $json.properties.hs_num_open_deals.value }}",
                "hubspot_company_id": "={{ $json.companyId }}"
              },
              "schema": [
                {
                  "id": "hubspot_company_id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": true,
                  "displayName": "hubspot_company_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_id",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "lifecyclestage",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "lifecyclestage",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "hs_num_open_deals",
                  "type": "number",
                  "display": true,
                  "required": false,
                  "displayName": "hs_num_open_deals",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                },
                {
                  "id": "last_engagement_date",
                  "type": "dateTime",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "last_engagement_date",
                  "defaultMatch": false,
                  "canBeUsedToMatch": false
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "hubspot_company_id"
              ]
            },
            "options": {
              "queryBatching": "independently"
            },
            "operation": "upsert"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "typeVersion": 2.5
        },
        {
          "id": "328b900e-8c21-4578-b6a4-8c17fbccca26",
          "name": "SEARCH",
          "type": "n8n-nodes-base.postgres",
          "position": [
            -40,
            160
          ],
          "parameters": {
            "query": "SELECT\n    ca.id,\n    ca.campaign_id,\n    ca.email,\n    MIN(ca.first_name) AS first_name,\n    MIN(ca.last_name) AS last_name,\n    SUM(ca.reply_count) AS reply_count,\n    max(hb_lifecyclestage_check_timestamp) as hb_lifecyclestage_check_timestamp,\n    CASE\n        -- Check if there is a comma and handle the extraction first\n        WHEN MIN(ca.linkedin_profile) LIKE '%,%' \n            THEN \n                -- Replace /sales/people/ with /in/ on the extracted part before the comma\n                REPLACE(LEFT(MIN(ca.linkedin_profile), POSITION(',' IN MIN(ca.linkedin_profile)) - 1), '/sales/people/', '/in/')\n        ELSE \n            -- For profiles without a comma, check for the replacement directly\n            REPLACE(MIN(ca.linkedin_profile), '/sales/people/', '/in/')\n    END AS linkedin_profile,\n    MAX(ca.company_url) AS company_profile,\n    -- Extracting domain from email to create the website column\n    SUBSTRING(ca.email FROM POSITION('@' IN ca.email) + 1) AS website,\n    c.created_at,\n    c.updated_at,\n    c.status,\n    c.name\nFROM\n    outbound_activities.ce_campaign_activity ca\nJOIN\n    outbound_activities.ce_campaign c ON ca.campaign_id = c.campaign_id\n--left join outbound_activities.hubspot hb on \n\nWHERE \n  hb_lifecyclestage_check_timestamp IS NULL \n  OR hb_lifecyclestage_check_timestamp < NOW() - INTERVAL '24 hours'\n\n  \nGROUP BY\n    ca.id,\n    ca.campaign_id,\n    ca.email,\n    c.created_at,\n    c.updated_at,\n    c.status,\n    c.name\n\n\nlimit 5000",
            "options": {},
            "operation": "executeQuery"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "typeVersion": 2.5
        },
        {
          "id": "c403ef52-894d-476a-aaba-6527c7cb2184",
          "name": "Postgres1",
          "type": "n8n-nodes-base.postgres",
          "position": [
            640,
            380
          ],
          "parameters": {
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "ce_campaign_activity",
              "cachedResultName": "ce_campaign_activity"
            },
            "schema": {
              "__rl": true,
              "mode": "list",
              "value": "outbound_activities",
              "cachedResultName": "outbound_activities"
            },
            "columns": {
              "value": {
                "id": "={{ $('Loop Over Items1').item.json.id }}",
                "hb_lifecyclestage_check_timestamp": "={{ $now }}"
              },
              "schema": [
                {
                  "id": "id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": true,
                  "displayName": "id",
                  "defaultMatch": true,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_lead_map_id",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "campaign_lead_map_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "status",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "category",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "category",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "is_interested",
                  "type": "boolean",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "is_interested",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "created_at",
                  "type": "dateTime",
                  "display": true,
                  "removed": true,
                  "required": true,
                  "displayName": "created_at",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "first_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "first_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "last_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "last_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "email",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "email",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "phone_number",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "phone_number",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "company_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "company_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "website",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "website",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "location",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "location",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "custom_fields",
                  "type": "object",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "custom_fields",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "linkedin_profile",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "linkedin_profile",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "company_url",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "company_url",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "is_unsubscribed",
                  "type": "boolean",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "is_unsubscribed",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "unsubscribed_client_id_map",
                  "type": "object",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "unsubscribed_client_id_map",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "last_email_sequence_sent",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "last_email_sequence_sent",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "open_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "open_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "click_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "click_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "reply_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "reply_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "psg_last_update_timestmap",
                  "type": "dateTime",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "psg_last_update_timestmap",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_id",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "hb_lifecyclestage_check_timestamp",
                  "type": "dateTime",
                  "display": true,
                  "required": false,
                  "displayName": "hb_lifecyclestage_check_timestamp",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "id"
              ]
            },
            "options": {},
            "operation": "update"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "typeVersion": 2.5
        },
        {
          "id": "671f168b-a720-42e6-964d-a7f2871d2d6e",
          "name": "UPDATE HUBSPOT ACTIVITY TABLE",
          "type": "n8n-nodes-base.postgres",
          "position": [
            1120,
            160
          ],
          "parameters": {
            "table": {
              "__rl": true,
              "mode": "list",
              "value": "ce_campaign_activity",
              "cachedResultName": "ce_campaign_activity"
            },
            "schema": {
              "__rl": true,
              "mode": "list",
              "value": "outbound_activities",
              "cachedResultName": "outbound_activities"
            },
            "columns": {
              "value": {
                "id": "={{ $('Loop Over Items1').item.json.id }}",
                "hb_lifecyclestage_check_timestamp": "={{ $now }}"
              },
              "schema": [
                {
                  "id": "id",
                  "type": "number",
                  "display": true,
                  "removed": false,
                  "required": true,
                  "displayName": "id",
                  "defaultMatch": true,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_lead_map_id",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "campaign_lead_map_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "status",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "category",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "category",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "is_interested",
                  "type": "boolean",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "is_interested",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "created_at",
                  "type": "dateTime",
                  "display": true,
                  "removed": true,
                  "required": true,
                  "displayName": "created_at",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "first_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "first_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "last_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "last_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "email",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "email",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "phone_number",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "phone_number",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "company_name",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "company_name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "website",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "website",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "location",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "location",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "custom_fields",
                  "type": "object",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "custom_fields",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "linkedin_profile",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "linkedin_profile",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "company_url",
                  "type": "string",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "company_url",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "is_unsubscribed",
                  "type": "boolean",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "is_unsubscribed",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "unsubscribed_client_id_map",
                  "type": "object",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "unsubscribed_client_id_map",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "last_email_sequence_sent",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "last_email_sequence_sent",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "open_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "open_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "click_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "click_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "reply_count",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "reply_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "psg_last_update_timestmap",
                  "type": "dateTime",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "psg_last_update_timestmap",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "campaign_id",
                  "type": "number",
                  "display": true,
                  "removed": true,
                  "required": false,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "hb_lifecyclestage_check_timestamp",
                  "type": "dateTime",
                  "display": true,
                  "required": false,
                  "displayName": "hb_lifecyclestage_check_timestamp",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "id"
              ]
            },
            "options": {},
            "operation": "update"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "typeVersion": 2.5
        },
        {
          "id": "6ebe6482-0f31-465a-8532-abaf3822ad72",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -140,
            -60
          ],
          "parameters": {
            "color": 3,
            "width": 1531.405758029468,
            "height": 669.051063941859,
            "content": "## HUBSPOT LIFECYCLESTAGE (LEAD STATUS)"
          },
          "typeVersion": 1
        },
        {
          "id": "31ea75c2-a228-4390-b125-8f2ac0b96a07",
          "name": "Sticky Note1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -140,
            760
          ],
          "parameters": {
            "color": 3,
            "width": 1831,
            "height": 669,
            "content": "## SMARTLEAD CAMPAIGN DATA"
          },
          "typeVersion": 1
        },
        {
          "id": "8d7e4883-74e2-4758-b2d9-504eb7301cbd",
          "name": "SET SMARTLEAD API KEY",
          "type": "n8n-nodes-base.set",
          "position": [
            -1040,
            980
          ],
          "parameters": {
            "options": {},
            "assignments": {
              "assignments": [
                {
                  "id": "7f81531d-f76f-42c7-b536-2b7b70563e12",
                  "name": "API KEY",
                  "type": "string",
                  "value": "<< ADD YOUR API KEY HERE >>"
                }
              ]
            }
          },
          "typeVersion": 3.4
        },
        {
          "id": "1742845b-2ce5-4184-a7b0-6f5606714fcb",
          "name": "Sticky Note2",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1100,
            780
          ],
          "parameters": {
            "height": 400,
            "content": "## Search for your smartlead API key [here](https://app.smartlead.ai/app/settings/profile)"
          },
          "typeVersion": 1
        },
        {
          "id": "e10205a7-3859-4a31-85ba-59c5cc0b69f7",
          "name": "Postgres",
          "type": "n8n-nodes-base.postgres",
          "position": [
            -40,
            1700
          ],
          "parameters": {
            "query": "SELECT \n    h.campaign_id,\n        c.status,\n    c.name,\n    COUNT(DISTINCT h.hubspot_company_id) AS total_companies,\n    SUM(CASE WHEN h.lifecyclestage = 'lead' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS lead_count,\n    SUM(CASE WHEN h.lifecyclestage = 'marketingqualifiedlead' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS marketingqualifiedlead_count,\n    SUM(CASE WHEN h.lifecyclestage = 'salesqualifiedlead' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS salesqualifiedlead_count,\n    SUM(CASE WHEN h.lifecyclestage = 'opportunity' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS opportunity_count,\n    SUM(CASE WHEN h.lifecyclestage = 'customer' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS customer_count,\n    SUM(CASE WHEN h.lifecyclestage = '140669943' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS lifecyclestage_140669943_count,\n    SUM(CASE WHEN h.lifecyclestage = '140669942' AND h.hs_num_open_deals != 0 THEN 1 ELSE 0 END) AS lifecyclestage_140669942_count\nFROM \n    outbound_activities.hubspot h\nJOIN \n    outbound_activities.ce_campaign c ON h.campaign_id = c.campaign_id\nGROUP BY \n    h.campaign_id, c.status, c.name",
            "options": {
              "queryBatching": "independently"
            },
            "operation": "executeQuery"
          },
          "credentials": {
            "postgres": {
              "id": "credential-id",
              "name": "postgres Credential"
            }
          },
          "retryOnFail": true,
          "typeVersion": 2.5
        },
        {
          "id": "19a80be4-f81f-44f7-8108-a20f6af8e315",
          "name": "Sticky Note3",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -1300,
            1340
          ],
          "parameters": {
            "width": 740,
            "height": 400,
            "content": "## POSTGRES INSTALATION [Guide](https://github.com/wukimidaire/postgres_table_templates)\n\n## Follow this step by step guide, focus on the next 3 table creations for this flow:\n## - ce_campaign_activity\n## - ce_campaign\n## - hubspot"
          },
          "typeVersion": 1
        },
        {
          "id": "7bc235d2-65c8-41fd-b429-26b2422cbfa8",
          "name": "Sticky Note4",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            -120,
            1580
          ],
          "parameters": {
            "color": 3,
            "width": 1060,
            "height": 1313.3157639300548,
            "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Campaign Analytics Report Documentation\n\nOverview\n\nThis report provides a high-level summary of campaign performance, designed to help stakeholders quickly assess the outcomes of marketing or sales campaigns. It includes data on campaign activity, targeted audiences, and progression metrics, allowing for a holistic view of campaign effectiveness.\n\n## Key Metrics\n\n\t1\t**Campaign Identification and Status**\n\n        •\tCampaign ID: A unique identifier assigned to each campaign for tracking purposes.\n\t•\tStatus: Indicates the current state of the campaign:\n\t•\tActive: Campaign is ongoing.\n\t•\tPaused: Campaign is temporarily on hold.\n\t•\tArchived: Campaign has concluded.\n\n2       **Targeting and Reach**\n\n\t•\tTotal Companies: Number of companies targeted within the campaign scope.\n\n\n3\t**Pipeline Metrics**\n\n\t•\tLead Count: Total number of leads generated by the campaign.\n\t•\tMarketing Qualified Leads (MQLs): Leads that meet predefined marketing qualification criteria.\n\t•\tSales Qualified Leads (SQLs): Leads that are validated as sales-ready by the team.\n\t•\tOpportunities: Potential deals created from campaign engagement.\n\t•\tCustomers: Number of deals successfully closed, converting leads into customers.\n\n\n4\t**Lifecycle Stages**\n\n\t•\tLifecycle Stage Metrics: Counts of entities (e.g., leads, opportunities, or customers) at specific lifecycle stages. These stages represent the journey from lead generation to conversion.\n\n\n\n## How to Use This Report\n\n\t•\t**Evaluate Campaign Success**: Compare metrics like total companies, leads, and customers to understand campaign impact.\n\t•\t**Understand Pipeline Health**: Analyze how many entities progress through the funnel (e.g., from MQL to SQL to Opportunity).\n\t•\t**Monitor Campaign Status**: Use the status column to focus on active campaigns or review the outcomes of archived ones.\n\t•\t**Assess Engagement**: Check opportunity and customer counts to gauge how effective the campaign is in driving conversions."
          },
          "typeVersion": 1
        },
        {
          "id": "0af663c4-faa9-49ae-a5d3-3bcb6ea7888a",
          "name": "Google Sheets",
          "type": "n8n-nodes-base.googleSheets",
          "position": [
            180,
            1700
          ],
          "parameters": {
            "columns": {
              "value": {
                "name": "={{ $json.name }}",
                "status": "={{ $json.status }}",
                "lead_count": "={{ $json.lead_count }}",
                "campaign_id": "={{ $json.company_id }}",
                "customer_count": "={{ $json.customer_count\n}}\n",
                "total_companies": "={{ $json.total_companies }}",
                "opportunity_count": "={{ $json.opportunity_count\n }}",
                "salesqualifiedlead_count": "={{ $json.salesqualifiedlead_count }}",
                "marketingqualifiedlead_count": "={{ $json.marketingqualifiedlead_count }}",
                "lifecyclestage_140669942_count": "={{ $json.lifecyclestage_140669942_count\n}}\n",
                "lifecyclestage_140669943_count": "={{ $json.lifecyclestage_140669943_count\n}}\n"
              },
              "schema": [
                {
                  "id": "campaign_id",
                  "type": "string",
                  "display": true,
                  "removed": false,
                  "required": false,
                  "displayName": "campaign_id",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "status",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "status",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "name",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "name",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "total_companies",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "total_companies",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "lead_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "lead_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "marketingqualifiedlead_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "marketingqualifiedlead_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "salesqualifiedlead_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "salesqualifiedlead_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "opportunity_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "opportunity_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "customer_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "customer_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "lifecyclestage_140669943_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "lifecyclestage_140669943_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                },
                {
                  "id": "lifecyclestage_140669942_count",
                  "type": "string",
                  "display": true,
                  "required": false,
                  "displayName": "lifecyclestage_140669942_count",
                  "defaultMatch": false,
                  "canBeUsedToMatch": true
                }
              ],
              "mappingMode": "defineBelow",
              "matchingColumns": [
                "campaign_id"
              ]
            },
            "options": {},
            "operation": "appendOrUpdate",
            "sheetName": {
              "__rl": true,
              "mode": "list",
              "value": "gid=0",
              "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1kG5uXCzOJdUTapA6p-IbH3D8sjpGZ5MQm_IhhvPvIGE/edit#gid=0",
              "cachedResultName": "Sheet1"
            },
            "documentId": {
              "__rl": true,
              "mode": "list",
              "value": "1kG5uXCzOJdUTapA6p-IbH3D8sjpGZ5MQm_IhhvPvIGE",
              "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1kG5uXCzOJdUTapA6p-IbH3D8sjpGZ5MQm_IhhvPvIGE/edit?usp=drivesdk",
              "cachedResultName": "Smartlead Reporting - TEMPLATE"
            }
          },
          "credentials": {
            "googleSheetsOAuth2Api": {
              "id": "credential-id",
              "name": "googleSheetsOAuth2Api Credential"
            }
          },
          "typeVersion": 4.5
        }
      ],
      "pinData": {},
      "connections": {
        "If": {
          "main": [
            [
              {
                "node": "HUBSPOT TABLE",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Postgres1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Code": {
          "main": [
            [
              {
                "node": "UPSERT CAMPAIGN ACTIVITY",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Merge": {
          "main": [
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "SEARCH": {
          "main": [
            [
              {
                "node": "Loop Over Items1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "HubSpot": {
          "main": [
            [
              {
                "node": "If",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Postgres": {
          "main": [
            [
              {
                "node": "Google Sheets",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Postgres1": {
          "main": [
            [
              {
                "node": "Loop Over Items1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "HUBSPOT TABLE": {
          "main": [
            [
              {
                "node": "UPDATE HUBSPOT ACTIVITY TABLE",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Loop Over Items": {
          "main": [
            null,
            [
              {
                "node": "EXTRACT CAMPAIGN DATA",
                "type": "main",
                "index": 0
              },
              {
                "node": "UPDATE CAMPAIGN",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "UPDATE CAMPAIGN": {
          "main": [
            [
              {
                "node": "Merge",
                "type": "main",
                "index": 1
              }
            ]
          ]
        },
        "Loop Over Items1": {
          "main": [
            null,
            [
              {
                "node": "HubSpot",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Schedule Trigger": {
          "main": [
            [
              {
                "node": "SET SMARTLEAD API KEY",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "FETCH ALL CAMPAIGNS": {
          "main": [
            [
              {
                "node": "Loop Over Items",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "EXTRACT CAMPAIGN DATA": {
          "main": [
            [
              {
                "node": "Code",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "SET SMARTLEAD API KEY": {
          "main": [
            [
              {
                "node": "FETCH ALL CAMPAIGNS",
                "type": "main",
                "index": 0
              },
              {
                "node": "Postgres",
                "type": "main",
                "index": 0
              },
              {
                "node": "SEARCH",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "UPSERT CAMPAIGN ACTIVITY": {
          "main": [
            [
              {
                "node": "Merge",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Merge",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "UPDATE HUBSPOT ACTIVITY TABLE": {
          "main": [
            [
              {
                "node": "Loop Over Items1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 16,
    "workflowInfo": {
      "nodeCount": 23,
      "nodeTypes": {
        "n8n-nodes-base.if": {
          "count": 1
        },
        "n8n-nodes-base.set": {
          "count": 1
        },
        "n8n-nodes-base.code": {
          "count": 1
        },
        "n8n-nodes-base.merge": {
          "count": 1
        },
        "n8n-nodes-base.hubspot": {
          "count": 1
        },
        "n8n-nodes-base.postgres": {
          "count": 7
        },
        "n8n-nodes-base.stickyNote": {
          "count": 5
        },
        "n8n-nodes-base.httpRequest": {
          "count": 2
        },
        "n8n-nodes-base.googleSheets": {
          "count": 1
        },
        "n8n-nodes-base.splitInBatches": {
          "count": 2
        },
        "n8n-nodes-base.scheduleTrigger": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "victor de coster",
      "username": "vliegendepater",
      "bio": "",
      "verified": false,
      "links": [
        "https://www.linkedin.com/in/victordecoster/"
      ],
      "avatar": "https://gravatar.com/avatar/b30d31c33606cb6d6809c7f88d7eaf5b8bdd2b50dcbd3287f2f9fc0c769ecd90?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 18,
        "icon": "file:googleSheets.svg",
        "name": "n8n-nodes-base.googleSheets",
        "codex": {
          "data": {
            "alias": [
              "CSV",
              "Sheet",
              "Spreadsheet",
              "GS"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/love-at-first-sight-ricardos-n8n-journey/",
                  "icon": "❤️",
                  "label": "Love at first sight: Ricardo’s n8n journey"
                },
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/",
                  "icon": "🎫",
                  "label": "Supercharging your conference registration process with n8n"
                },
                {
                  "url": "https://n8n.io/blog/creating-triggers-for-n8n-workflows-using-polling/",
                  "icon": "⏲",
                  "label": "Creating triggers for n8n workflows using polling"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/migrating-community-metrics-to-orbit-using-n8n/",
                  "icon": "📈",
                  "label": "Migrating Community Metrics to Orbit using n8n"
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/your-business-doesnt-need-you-to-operate/",
                  "icon": " 🖥️",
                  "label": "Hey founders! Your business doesn't need you to operate"
                },
                {
                  "url": "https://n8n.io/blog/how-honest-burgers-use-automation-to-save-100k-per-year/",
                  "icon": "🍔",
                  "label": "How Honest Burgers Use Automation to Save $100k per year"
                },
                {
                  "url": "https://n8n.io/blog/how-a-digital-strategist-uses-n8n-for-online-marketing/",
                  "icon": "💻",
                  "label": "How a digital strategist uses n8n for online marketing"
                },
                {
                  "url": "https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/",
                  "icon": "🧠",
                  "label": "Why this Product Manager loves workflow automation with n8n"
                },
                {
                  "url": "https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/",
                  "icon": "🙌",
                  "label": "Sending Automated Congratulations with Google Sheets, Twilio, and n8n "
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"
                }
              ]
            },
            "categories": [
              "Data & Storage",
              "Productivity"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"input\",\"output\"]",
        "defaults": {
          "name": "Google Sheets"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGZpbGw9IiMyOEI0NDYiIGQ9Ik0zNS42OSAxIDUyIDE3LjIyNXYzOS4wODdhMy42NyAzLjY3IDAgMCAxLTEuMDg0IDIuNjFBMy43IDMuNyAwIDAgMSA0OC4yOTMgNjBIMTIuNzA3YTMuNyAzLjcgMCAwIDEtMi42MjMtMS4wNzhBMy42NyAzLjY3IDAgMCAxIDkgNTYuMzEyVjQuNjg4YTMu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lsbD0iIzZBQ0U3QyIgZD0iTTM0LjY5IDAgNTEgMTYuMjI1SDM4LjM5N2MtMi4wNTQgMC0zLjcwNy0xLjgyOS0zLjcwNy0zLjg3MnoiLz48cGF0aCBmaWxsPSIjMjE5QjM4IiBkPSJNMzguMjExIDE2LjIyNSA1MSAyMS40OHYtNS4yNTV6Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE5LjEyIDMwLjk3NWMwLS44MTcuNjYyLTEuNDc1IDEuNDgzLTEuNDc1aDE3Ljc5NGMuODIxIDAgMS40ODIuNjU4IDEuNDgyIDEuNDc1djE1LjQ4N2MwIC44MTgtLjY2MSAxLjQ3NS0xLjQ4MiAxLjQ3NUgyMC42MDNhMS40NzYgMS40NzYgMCAwIDEtMS40ODItMS40NzRWMzAuOTc0em0yLjIyNSAxLjQ3NWg2LjY3MnYyLjIxMmgtNi42NzJ6bTAgNS4xNjJoNi42NzJ2Mi4yMTNoLTYuNjcyem0wIDUuMTYzaDYuNjcydjIuMjEyaC02LjY3MnptOS42MzgtMTAuMzI1aDYuNjcydjIuMjEyaC02LjY3MnptMCA1LjE2Mmg2LjY3MnYyLjIxM2gtNi42NzJ6bTAgNS4xNjNoNi42NzJ2Mi4yMTJoLTYuNjcyeiIvPjwvZz48L3N2Zz4="
        },
        "displayName": "Google Sheets",
        "typeVersion": 5,
        "nodeCategories": [
          {
            "id": 3,
            "name": "Data & Storage"
          },
          {
            "id": 4,
            "name": "Productivity"
          }
        ]
      },
      {
        "id": 19,
        "icon": "file:httprequest.svg",
        "name": "n8n-nodes-base.httpRequest",
        "codex": {
          "data": {
            "alias": [
              "API",
              "Request",
              "URL",
              "Build",
              "cURL"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/learn-how-to-automatically-cross-post-your-content-with-n8n/",
                  "icon": "✍️",
                  "label": "Learn how to automatically cross-post your content with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/",
                  "icon": "🛳",
                  "label": "Running n8n on ships: An interview with Maranics"
                },
                {
                  "url": "https://n8n.io/blog/what-are-apis-how-to-use-them-with-no-code/",
                  "icon": " 🪢",
                  "label": "What are APIs and how to use them with no code"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/world-poetry-day-workflow/",
                  "icon": "📜",
                  "label": "Celebrating World Poetry Day with a daily poem in Telegram"
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/automate-designs-with-bannerbear-and-n8n/",
                  "icon": "🎨",
                  "label": "Automate Designs with Bannerbear and n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/",
                  "icon": "📱",
                  "label": "Building an expense tracking app in 10 minutes"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/",
                  "icon": "🧰",
                  "label": "How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"
                },
                {
                  "url": "https://n8n.io/blog/learn-how-to-use-webhooks-with-mattermost-slash-commands/",
                  "icon": "🦄",
                  "label": "Learn how to use webhooks with Mattermost slash commands"
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/",
                  "icon": "📈",
                  "label": "A low-code bitcoin ticker built with QuestDB and n8n.io"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/automations-for-activists/",
                  "icon": "✨",
                  "label": "How Common Knowledge use workflow automation for activism"
                },
                {
                  "url": "https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/",
                  "icon": "🤟",
                  "label": "Creating scheduled text affirmations with n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"
                }
              ]
            },
            "categories": [
              "Development",
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "HTTP Request",
          "color": "#0004F5"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MCAyMEM0MCA4Ljk1MzE0IDMxLjA0NjkgMCAyMCAwQzguOTUzMTQgMCAwIDguOTUzMTQgMCAyMEMwIDMxLjA0NjkgOC45NTMxNCA0MCAyMCA0MEMzMS4wNDY5IDQwIDQwIDMxLjA0NjkgNDAgMjBaTTIwIDM2Ljk0NThDMTguODg1MiAzNi45NDU4IDE3LjEzNzggMzUuOTY3IDE1LjQ5OTggMzIuNjk4NUMxNC43OTY0IDMxLjI5MTggMTQuMTk2MSAyOS41NDMxIDEzLjc1MjYgMjcuNjg0N0gyNi4xODk4QzI1LjgwNDUgMjkuNTQwMyAyNS4yMDQ0IDMxLjI5MDEgMjQuNTAwMiAzMi42OTg1QzIyLjg2MjIgMzUuOTY3IDIxLjExNDggMzYuOTQ1OCAyMCAzNi45NDU4Wk0xMi45MDY0IDIwQzEyLjkwNjQgMjEuNjA5NyAxMy4wMDg3IDIzLjE2NCAxMy4yMDAzIDI0LjYzMDVIMjYuNzk5N0MyNi45OTEzIDIzLjE2NCAyNy4wOTM2IDIxLjYwOTcgMjcuMDkzNiAyMEMyNy4wOTM2IDE4LjM5MDMgMjYuOTkxMyAxNi44MzYgMjYuNzk5NyAxNS4zNjk1SDEzLjIwMDNDMTMuMDA4NyAxNi44MzYgMTIuOTA2NCAxOC4zOTAzIDEyLjkwNjQgMjBaTTIwIDMuMDU0MTlDMjEuMTE0OSAzLjA1NDE5IDIyLjg2Mj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zc0MyAxNi44NDI1IDMuMDU0MTkgMTguMzk3IDMuMDU0MTkgMjBaTTI2LjI3NjYgMzUuNzQyN0MyNy42MzY1IDMzLjYzOTMgMjguNzExIDMwLjg2OCAyOS4zNzc0IDI3LjY4NDdIMzUuMTA0NkMzMy4yNTEgMzEuMzMyMiAzMC4xMDY4IDM0LjIxNzkgMjYuMjc2NiAzNS43NDI3Wk0xMy43MjM0IDM1Ljc0MjdDOS44OTM2OSAzNC4yMTc5IDYuNzUxNTUgMzEuMzMyNCA0Ljg5MjkzIDI3LjY4NDdIMTAuNjIyNkMxMS4yODkgMzAuODY4IDEyLjM2MzUgMzMuNjM5MyAxMy43MjM0IDM1Ljc0MjdaIiBmaWxsPSIjM0E0MkU5Ii8+Cjwvc3ZnPgo="
        },
        "displayName": "HTTP Request",
        "typeVersion": 4,
        "nodeCategories": [
          {
            "id": 5,
            "name": "Development"
          },
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 20,
        "icon": "fa:map-signs",
        "name": "n8n-nodes-base.if",
        "codex": {
          "data": {
            "alias": [
              "Router",
              "Filter",
              "Condition",
              "Logic",
              "Boolean",
              "Branch"
            ],
            "details": "The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.",
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/",
                  "icon": "🏭",
                  "label": "Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"
                },
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/",
                  "icon": "🏷️",
                  "label": "How to automatically manage contributions to open-source projects"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/",
                  "icon": "🧠",
                  "label": "Why this Product Manager loves workflow automation with n8n"
                },
                {
                  "url": "https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/",
                  "icon": "🙌",
                  "label": "Sending Automated Congratulations with Google Sheets, Twilio, and n8n "
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "If",
          "color": "#408000"
        },
        "iconData": {
          "icon": "map-signs",
          "type": "icon"
        },
        "displayName": "If",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 24,
        "icon": "file:merge.svg",
        "name": "n8n-nodes-base.merge",
        "codex": {
          "data": {
            "alias": [
              "Join",
              "Concatenate",
              "Wait"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/how-to-sync-data-between-two-systems/",
                  "icon": "🏬",
                  "label": "How to synchronize data between two systems (one-way vs. two-way sync"
                },
                {
                  "url": "https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/",
                  "icon": "🎫",
                  "label": "Supercharging your conference registration process with n8n"
                },
                {
                  "url": "https://n8n.io/blog/migrating-community-metrics-to-orbit-using-n8n/",
                  "icon": "📈",
                  "label": "Migrating Community Metrics to Orbit using n8n"
                },
                {
                  "url": "https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/",
                  "icon": "👦",
                  "label": "Build your own virtual assistant with n8n: A step by step guide"
                },
                {
                  "url": "https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/",
                  "icon": "🙌",
                  "label": "Sending Automated Congratulations with Google Sheets, Twilio, and n8n "
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.merge/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow",
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Merge"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTc3XzUxOCkiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTAgNDhDMCAyMS40OTAzIDIxLjQ5MDMgMCA0OCAwSDExMkMxMzguNTEgMCAxNjAgMjEuNDkwMyAxNjAgNDhWNTZIMTk2LjI1MkMyNDAuNDM1IDU2IDI3Ni4yNTIgOTEuODE3MiAyNzYuMjUyIDEzNlYxOTJDMjc2LjI1MiAyMTQuMDkxIDI5NC4xNjEgMjMyIDMxNi4yNTIgMjMySDM1MlYyMjRDMzUyIDE5Ny40OSAzNzMuNDkgMTc2IDQwMCAxNzZINDY0QzQ5MC41MSAxNzYgNTEyIDE5Ny40OSA1MTIgMjI0VjI4OEM1MTIg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AyODQuNDE4IDQwMCAyODBWMjMyQzQwMCAyMjcuNTgyIDQwMy41ODIgMjI0IDQwOCAyMjRINDU2Wk0xMTIgNDA4QzExMiA0MDMuNTgyIDEwOC40MTggNDAwIDEwNCA0MDBINTZDNTEuNTgxNyA0MDAgNDggNDAzLjU4MiA0OCA0MDhWNDU2QzQ4IDQ2MC40MTggNTEuNTgxNyA0NjQgNTYgNDY0SDEwNEMxMDguNDE4IDQ2NCAxMTIgNDYwLjQxOCAxMTIgNDU2VjQwOFoiIGZpbGw9IiM1NEI4QzkiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTc3XzUxOCI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="
        },
        "displayName": "Merge",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 30,
        "icon": "file:postgres.svg",
        "name": "n8n-nodes-base.postgres",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/love-at-first-sight-ricardos-n8n-journey/",
                  "icon": "❤️",
                  "label": "Love at first sight: Ricardo’s n8n journey"
                },
                {
                  "url": "https://n8n.io/blog/why-i-chose-n8n-over-zapier-in-2020/",
                  "icon": "😍",
                  "label": "Why I chose n8n over Zapier in 2020"
                },
                {
                  "url": "https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/",
                  "icon": "📡",
                  "label": "Database Monitoring and Alerting with n8n"
                },
                {
                  "url": "https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/",
                  "icon": "🛳",
                  "label": "Running n8n on ships: An interview with Maranics"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-honest-burgers-use-automation-to-save-100k-per-year/",
                  "icon": "🍔",
                  "label": "How Honest Burgers Use Automation to Save $100k per year"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/postgres/"
                }
              ]
            },
            "categories": [
              "Development",
              "Data & Storage"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Postgres"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNzkgODEiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTc3LjM5MSA0Ny45MjJjLS40NjYtMS40MTItMS42ODgtMi4zOTYtMy4yNjgtMi42MzItLjc0NS0uMTExLTEuNTk4LS4wNjQtMi42MDguMTQ0LTEuNzYuMzYzLTMuMDY1LjUwMS00LjAxOC41MjggMy41OTYtNi4wNzIgNi41MjEtMTIuOTk3IDguMjA0LTE5LjUxNSAyLjcyMi0xMC41NCAxLjI2OC0xNS4zNDEtLjQzMi0xNy41MTNDNzAuNzcgMy4x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
        "displayName": "Postgres",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 3,
            "name": "Data & Storage"
          },
          {
            "id": 5,
            "name": "Development"
          }
        ]
      },
      {
        "id": 38,
        "icon": "fa:pen",
        "name": "n8n-nodes-base.set",
        "codex": {
          "data": {
            "alias": [
              "Set",
              "JS",
              "JSON",
              "Filter",
              "Transform",
              "Map"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/",
                  "icon": "🏭",
                  "label": "Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"
                },
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/database-monitoring-and-alerting-with-n8n/",
                  "icon": "📡",
                  "label": "Database Monitoring and Alerting with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/",
                  "icon": "📱",
                  "label": "Building an expense tracking app in 10 minutes"
                },
                {
                  "url": "https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/",
                  "icon": "📹",
                  "label": "The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/",
                  "icon": "🧰",
                  "label": "Learn to Build Powerful API Endpoints Using Webhooks"
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/",
                  "icon": "📈",
                  "label": "A low-code bitcoin ticker built with QuestDB and n8n.io"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Edit Fields"
        },
        "iconData": {
          "icon": "pen",
          "type": "icon"
        },
        "displayName": "Edit Fields (Set)",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 39,
        "icon": "fa:sync",
        "name": "n8n-nodes-base.splitInBatches",
        "codex": {
          "data": {
            "alias": [
              "Loop",
              "Concatenate",
              "Batch",
              "Split",
              "Split In Batches"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow"
              ]
            }
          }
        },
        "group": "[\"organization\"]",
        "defaults": {
          "name": "Loop Over Items",
          "color": "#007755"
        },
        "iconData": {
          "icon": "sync",
          "type": "icon"
        },
        "displayName": "Loop Over Items (Split in Batches)",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 76,
        "icon": "file:hubspot.svg",
        "name": "n8n-nodes-base.hubspot",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/how-to-sync-data-between-two-systems/",
                  "icon": "🏬",
                  "label": "How to synchronize data between two systems (one-way vs. two-way sync"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/your-business-doesnt-need-you-to-operate/",
                  "icon": " 🖥️",
                  "label": "Hey founders! Your business doesn't need you to operate"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.hubspot/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/hubspot/"
                }
              ]
            },
            "categories": [
              "Sales"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "HubSpot"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zO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uODI4LTIuMjggNS40OTh6Ii8+PC9zeW1ib2w+PC9zdmc+"
        },
        "displayName": "HubSpot",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 2,
            "name": "Sales"
          }
        ]
      },
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 834,
        "icon": "file:code.svg",
        "name": "n8n-nodes-base.code",
        "codex": {
          "data": {
            "alias": [
              "cpde",
              "Javascript",
              "JS",
              "Python",
              "Script",
              "Custom Code",
              "Function"
            ],
            "details": "The Code node allows you to execute JavaScript in your workflow.",
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"
                }
              ]
            },
            "categories": [
              "Development",
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers",
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Code"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8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Tc2QzM3NC45NzggMjAyLjk3OCAzODUuMjUxIDIyNy41NTcgNDAyLjA5OCAyNDYuMDM5QzQwNy4xNTMgMjUxLjU4NCA0MDcuMTUzIDI2MC40MTYgNDAyLjA5OCAyNjUuOTYxQzM4NS4yNTEgMjg0LjQ0MyAzNzQuOTc4IDMwOS4wMjIgMzc0Ljk3OCAzMzZWNDMyQzM3NC45NzggNDQ5LjY3MyAzNjAuNjUyIDQ2NCAzNDIuOTc5IDQ2NEgzMTdDMzEwLjM3MyA0NjQgMzA1IDQ2OS4zNzMgMzA1IDQ3NlY1MDBDMzA1IDUwNi42MjcgMzEwLjM3MyA1MTIgMzE3IDUxMkgzNDIuOTc5QzM4Ny4xNjEgNTEyIDQyMi45NzggNDc2LjE4MyA0MjIuOTc4IDQzMlYzMzZDNDIyLjk3OCAzMDUuMDcyIDQ0OC4wNTEgMjgwIDQ3OC45NzkgMjgwSDQ5MEM0OTYuNjI3IDI4MCA1MDIgMjc0LjYyOCA1MDIgMjY4VjI0NEM1MDIgMjM3LjM3MyA0OTYuNjI4IDIzMiA0OTAgMjMyTDQ3OC45NzkgMjMyQzQ0OC4wNTEgMjMyIDQyMi45NzggMjA2LjkyOCA0MjIuOTc4IDE3NlY4MEM0MjIuOTc4IDM1LjgxNzIgMzg3LjE2MSAwIDM0Mi45NzkgMEgzMTdDMzEwLjM3MyAwIDMwNSA1LjM3MjU4IDMwNSAxMlYzNloiIGZpbGw9IiNGRjk5MjIiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTcxXzQ0MSI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="
        },
        "displayName": "Code",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 5,
            "name": "Development"
          },
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 839,
        "icon": "fa:clock",
        "name": "n8n-nodes-base.scheduleTrigger",
        "codex": {
          "data": {
            "alias": [
              "Time",
              "Scheduler",
              "Polling",
              "Cron",
              "Interval"
            ],
            "resources": {
              "generic": [],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"trigger\",\"schedule\"]",
        "defaults": {
          "name": "Schedule Trigger",
          "color": "#31C49F"
        },
        "iconData": {
          "icon": "clock",
          "type": "icon"
        },
        "displayName": "Schedule Trigger",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 39,
        "name": "CRM"
      }
    ],
    "image": []
  }
}