Org21-Observer
AI-generatedSummary
Sniff workflow execution metadata, items, timing, and errors, and send the collected payload either to the Org21 OTLP collector, a sub-flow webhook URL, or a sub-flow workflow triggered via the n8n API.
Inputs
- authMethod — Choose the authentication method: None, Org21 OAuth2 (service-key credentials), or deprecated API Key.
- triggerMode (required) — Select where to send the sniffed data: OTLP Export (requires Org21 OAuth2), Webhook POST, or deprecated n8n API trigger.
- otlpEndpoint (required) — Base URL of the Org21 OTLP collector, required if Trigger Mode is OTLP Export.
- otlpSignal — Which OTLP signal to export: Logs or Traces, used when Trigger Mode is OTLP Export.
- webhookUrl (required) — Sub-flow webhook URL to post sniffed data to when Trigger Mode is Webhook POST.
- workflowId (required) — ID of the sub-flow workflow to trigger when using the deprecated n8n API Trigger Mode.
- includeMetadata — Whether to include workflow and execution identifiers with timestamp and node info in the payload.
- includeItemData — Whether to include the actual JSON data items passing through the node in the payload.
- includeTiming — Whether to include execution timing data and item counts in the payload.
- includeErrors — Whether to include error information from items that have errors.
- passThrough — Whether to return original workflow items (true) or replace output with the sniffed payload (false).
- customFields — Add custom key-value pairs with specified types (string, number, boolean, array, object, binary) to the payload metadata.
- additionalHeaders — Add custom HTTP headers to the outbound request.
Output shape
a single item containing the JSON sniffed payload if Pass Through is false, otherwise the original input items; output shape matches n8n standard items array shape.
Payload content depends on toggles for inclusion of metadata, items, timing, errors, and custom fields. On error, returns an error object if 'Continue On Fail' is enabled; otherwise, throws a node error. Sends data as OTLP/HTTP+JSON to Org21 collector (when using OTLP Export with OAuth2), or as POST JSON to specified webhook URL or sub-workflow API.