Hello World icon

Hello World

Simple Hello World node for testing n8n Community Nodes

Overview

This node generates a personalized greeting message based on user input. It is useful in scenarios where you want to send customized greetings within an automation workflow, such as welcoming new users, sending notifications, or creating friendly reminders.

For example:

  • Sending a simple "Hello, John!" message.
  • Creating a formal greeting like "Good day, Jane! It's a pleasure to meet you."
  • Producing an enthusiastic welcome with emojis for more engaging communication.

The node can optionally include a timestamp indicating when the greeting was generated.

Properties

Name Meaning
Name The name of the person to greet.
Message Type The style of the greeting message. Options: Simple Hello, Formal Greeting, Enthusiastic.
Include Timestamp Whether to add the current timestamp to the output (true/false).

Output

The node outputs JSON data containing the original input merged with a helloWorld object that includes:

  • success: Boolean indicating if the greeting was generated successfully.
  • message: The generated greeting string.
  • name: The name used in the greeting.
  • messageType: The type of greeting selected.
  • nodeVersion: Version of the node implementation.
  • timestamp (optional): ISO string of the current date and time if enabled.

Example output JSON snippet:

{
  "helloWorld": {
    "success": true,
    "message": "Hello, World!",
    "name": "World",
    "messageType": "simple",
    "nodeVersion": "1.0.3",
    "timestamp": "2024-06-01T12:00:00.000Z"
  }
}

Dependencies

  • No external services or API keys are required.
  • The node runs entirely within n8n without additional configuration.

Troubleshooting

  • Common issues:

    • If the Name property is left empty, the node defaults to "World".
    • Errors during execution will stop the workflow unless "Continue On Fail" is enabled.
  • Error messages:

    • Any unexpected error will be reported with the error message in the output JSON under error.
    • To resolve errors, ensure all required properties are correctly set and valid.

Links and References

Discussion