diff --git a/packages/workflow/src/TelemetryHelpers.ts b/packages/workflow/src/TelemetryHelpers.ts index 32eef70c75..b53e609aea 100644 --- a/packages/workflow/src/TelemetryHelpers.ts +++ b/packages/workflow/src/TelemetryHelpers.ts @@ -171,13 +171,13 @@ export function generateNodesGraph( } catch (_) { nodeItem.domain = getDomainBase(node.parameters.url as string); } - } else if (node.type === 'n8n-nodes-base.httpRequest' && node.typeVersion === 2) { + } else if (node.type === 'n8n-nodes-base.httpRequest' && [2, 3].includes(node.typeVersion)) { const { authentication } = node.parameters as { authentication: string }; nodeItem.credential_type = { none: 'none', genericCredentialType: node.parameters.genericAuthType as string, - existingCredentialType: node.parameters.nodeCredentialType as string, + predefinedCredentialType: node.parameters.nodeCredentialType as string, }[authentication]; nodeItem.credential_set = node.credentials