sergei

Sergei custom node for n8n

Package Information

Downloads: 1 weekly / 7 monthly
Latest Version: 1.0.0
Author: Sergei

Documentation

n8n-nodes-sergei

This is an n8n community node called "Sergei". It provides custom functionality for n8n workflows.

Features

The Sergei node supports two main operations:

1. Process Text

Transform text in various ways:

  • Uppercase: Convert text to uppercase
  • Lowercase: Convert text to lowercase
  • Reverse: Reverse the text

2. Generate Message

Generate different types of messages:

  • Greeting: Generate a welcome message
  • Farewell: Generate a goodbye message
  • Custom: Create your own custom message

Installation

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install
  3. Enter n8n-nodes-sergei in the Enter npm package name field
  4. Click Install

Manual Installation

  1. Navigate to your n8n installation directory (usually ~/.n8n/custom/)
  2. Clone or download this repository
  3. Run npm install to install dependencies
  4. Run npm run build to build the node
  5. Restart n8n

Local Development

If you want to develop this node locally:

# Clone the repository
cd /path/to/custom-node

# Install dependencies
npm install

# Build the node
npm run build

# Link to n8n (in development)
npm link
cd ~/.n8n/custom
npm link n8n-nodes-sergei

Usage

  1. Add the Sergei node to your workflow
  2. Select an operation:
    • Process Text: Transform text data
    • Generate Message: Create custom messages
  3. Configure the parameters based on your selected operation
  4. Connect it to other nodes in your workflow

Example Workflows

Example 1: Text Transformation

  1. Use a Webhook node to receive text input
  2. Connect to Sergei node with "Process Text" operation
  3. Select transformation type (uppercase, lowercase, or reverse)
  4. Output the transformed text

Example 2: Message Generation

  1. Add Sergei node at the start of your workflow
  2. Select "Generate Message" operation
  3. Choose message type or create a custom message
  4. Use the output in subsequent nodes

Development

To modify this node:

# Watch for changes during development
npm run dev

# Format code
npm run format

# Lint code
npm run lint

# Fix linting issues
npm run lintfix

Resources

License

MIT

Version History

1.0.0

  • Initial release
  • Process Text operation (uppercase, lowercase, reverse)
  • Generate Message operation (greeting, farewell, custom)

Discussion