Lilypad Generic Job icon

Lilypad Generic Job

Execute custom Lilypad job

Overview

This node, named "Lilypad Generic Job," allows users to execute custom jobs on the Lilypad platform by specifying a module and providing input parameters. It is designed for scenarios where you want to run arbitrary Lilypad modules with dynamic inputs, enabling flexible data transformation or processing workflows.

Practical examples include:

  • Running a text transformation module like "cowsay" to generate ASCII art from input strings.
  • Executing any other custom Lilypad job by specifying its module identifier and passing required inputs dynamically.

Properties

Name Meaning
Module The identifier of the Lilypad module to execute, e.g., "cowsay:v0.0.3".
Inputs A collection of custom input name-value pairs to pass to the Lilypad module. Each input consists of:
- Name: The input parameter name expected by the module.
- Value: The corresponding value for that input parameter.

Output

The node outputs an array of JSON objects, each representing the result of executing the specified Lilypad module with the given inputs for each item processed. The output JSON structure corresponds directly to the response returned by the Lilypad job execution.

If the node encounters an error during execution for an item and "Continue On Fail" is enabled, it appends an error field alongside the original JSON data for that item.

No binary data output is produced by this node.

Dependencies

  • Requires valid credentials for accessing the Lilypad API (an API key or token must be configured in n8n).
  • Depends on an external function (queueLilypadJob) which handles queuing and executing the Lilypad job via the API.
  • The node expects the Lilypad service to be reachable and the specified module to exist and be accessible with the provided credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Specifying a non-existent or incorrectly named module will result in errors from the Lilypad API.
    • Incorrect input names or values may cause the job to fail or return unexpected results.
  • Error messages:

    • Errors thrown during job execution are wrapped as operation errors with the item index for easier debugging.
    • If "Continue On Fail" is disabled, the node stops execution on the first error.
    • To resolve errors, verify credentials, module names, and input parameters carefully.

Links and References

Discussion