{
  "nodes": [
    {
      "id": "burrow-lead",
      "name": "Burrow: Lead",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "workflowId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultName": "Burrow Event"
        },
        "workflowInputs": {
          "mappingMode": "defineBelow",
          "value": {
            "client": "acme",
            "events": "={{ [{ event: 'automations.lead.created', externalEventId: 'n8n:' + $execution.id + ':lead', properties: { leadId: String($json.id), crmTarget: 'hubspot', sourceDetail: 'contact-form' }, tags: { modality: 'workflow' } }] }}"
          },
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false,
          "schema": [
            {
              "id": "client",
              "displayName": "client",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "canBeUsedToMatch": true,
              "type": "string"
            },
            {
              "id": "events",
              "displayName": "events",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "canBeUsedToMatch": true,
              "type": "array"
            }
          ]
        },
        "mode": "once",
        "options": {
          "waitForSubWorkflow": false
        }
      },
      "onError": "continueRegularOutput"
    },
    {
      "id": "burrow-run",
      "name": "Burrow: Run",
      "type": "n8n-nodes-base.executeWorkflow",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ],
      "parameters": {
        "workflowId": {
          "__rl": true,
          "mode": "list",
          "value": "",
          "cachedResultName": "Burrow Event"
        },
        "workflowInputs": {
          "mappingMode": "defineBelow",
          "value": {
            "client": "acme",
            "events": "={{ [{ event: 'automations.workflow.completed', externalEventId: 'n8n:run:' + $execution.id, properties: { workflowName: $workflow.name, externalRunId: String($execution.id) }, tags: { workflowId: String($workflow.id) } }] }}"
          },
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false,
          "schema": [
            {
              "id": "client",
              "displayName": "client",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "canBeUsedToMatch": true,
              "type": "string"
            },
            {
              "id": "events",
              "displayName": "events",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "canBeUsedToMatch": true,
              "type": "array"
            }
          ]
        },
        "mode": "once",
        "options": {
          "waitForSubWorkflow": false
        }
      },
      "onError": "continueRegularOutput",
      "executeOnce": true
    }
  ],
  "connections": {}
}
