Insightshub: Report Execution icon

Insightshub: Report Execution

Collects workflow execution telemetry and sends it to InsightHub for analysis. Place this node at the end of your workflow.

Insightshub: Report Execution

AI-generated

Summary

Send workflow execution telemetry to InsightHub by either forwarding the native n8n execution data or building a structured payload from user-provided parameters.

Inputs

  • payloadMode (required) — Select 'Native N8n Execution' to send the raw execution data fetched via the n8n API or 'Structured' to construct a custom telemetry payload using parameters.
  • projectId (required) — Unique identifier for the project in InsightHub, mandatory for both payload modes.
  • environment (required) — Deployment environment of the workflow execution (e.g., dev, prod, staging, test).
  • n8nBaseUrl (required) — (Only for 'native' mode) Base URL of the n8n instance to fetch execution details.
  • n8nApiKey (required) — (Only for 'native' mode) API key with permission to read executions from n8n.
  • nativeConversation — (Only for 'native' mode) Optional parameters to extract conversation input/output fields from execution data.
  • projectName — Optional human-readable project name to include in the payload.
  • clientId — (Only for 'structured' mode) Optional numeric client identifier; omitted if zero.
  • workflowStatus — (Only for 'structured' mode) Final status of the workflow execution (e.g., success, failed).
  • startedAt — (Only for 'structured' mode) ISO 8601 timestamp when execution started; defaults to current time if empty.
  • durationMs — (Only for 'structured' mode) Execution duration in milliseconds.
  • triggerType — (Only for 'structured' mode) Type of trigger that started the workflow (e.g., webhook, schedule).
  • triggerPath — (Only for 'structured' mode) URL path or identifier of the trigger.
  • conversation — (Only for 'structured' mode) Optional conversation details including channel, customer ID, input, output, and language.
  • aiUsage — (Only for 'structured' mode) JSON array of AI model usage objects; API keys or tokens must not be included.
  • nodes — (Only for 'structured' mode) JSON array of telemetry objects for individual node executions.
  • errors — (Only for 'structured' mode) JSON array of error objects recorded during execution.
  • metadata — (Only for 'structured' mode) Additional metadata object; must not contain secrets or credentials.

Output shape

a single JSON object with success status, API response from InsightHub, and the sent telemetry payload

In case of failure and if 'Continue On Fail' is enabled, returns an array of error details per input item. Otherwise, throws an error. The node sends the telemetry to InsightHub's API endpoint and returns the collected result with the originally sent payload.

Links

Discussion