Description
@sentry/n8n-nodes-sentry
This is an n8n community node. It lets you send structured log messages to Sentry directly from your n8n workflows.
Sentry is an application monitoring and error tracking platform that helps developers identify, diagnose, and fix issues in real-time.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Installation
Follow the installation guide in the n8n community nodes documentation.
The package name is: @sentry/n8n-nodes-sentry
Operations
This node supports sending structured log messages to Sentry with the following capabilities:
- Send Log Messages: Send custom log messages to your Sentry project
- Multiple Severity Levels: Choose from trace, debug, info, warn, error, or fatal levels
- Custom Attributes: Add key-value pairs for additional context and metadata
- Data Passthrough: Enriches input items with Sentry log metadata
Credentials
This node does not use n8n credential authentication. Instead, you provide your Sentry DSN (Data Source Name) directly in the node configuration.
Prerequisites
- Create a Sentry account at sentry.io
- Create a new project in your Sentry organization
- Obtain your project's DSN from the project settings
Getting Your DSN
- Go to Settings → Projects → [Your Project] → Client Keys (DSN)
- Copy the DSN, which looks like:
https://examplePublicKey@o0.ingest.sentry.io/0 - Paste the DSN into the node's DSN field in your n8n workflow
Compatibility
- Minimum n8n version: 1.0.0
- Built with
@sentry/nodev10.21.0 - Uses n8n API version 1
- Compatible with the latest n8n versions
Usage
Basic Example
- Add the Sentry node to your workflow
- Configure the DSN with your Sentry project's DSN
- Set your log message and severity level
- Optionally add custom attributes for context (e.g., userId, environment, etc.)
Adding Custom Attributes
Custom attributes help you add context to your logs:
- Click "Add Attribute" to create key-value pairs
- Common examples:
userId,environment,requestId,workflow, etc. - Attributes are included with the log message in Sentry
Error Handling
The node supports n8n's continueOnFail mode:
- When enabled, errors won't stop your workflow
- Error details are included in the output data