Log Demo

Logs a message to the console

Overview

This node logs a predefined message to the console each time it is executed. It is useful for debugging or demonstrating how to output messages within an n8n workflow. For example, it can be used to confirm that a workflow has reached a certain step or to display a timestamped message for monitoring purposes.

Use Case Examples

  1. Logging a simple greeting message with a timestamp to verify workflow execution.
  2. Using the node to output custom messages during workflow development for debugging.

Output

JSON

  • message - The logged message text.
  • timestamp - The ISO string timestamp of when the message was logged.

Troubleshooting

  • If the node does not output the message, ensure the workflow is properly triggered and the node is connected in the workflow.
  • Check that the environment where n8n runs supports console logging and that no errors prevent execution.

Discussion