Create Agents with Custom Node Generation using LLM


Sample Prompts


For more examples of custom nodes prompts and how they can be used to build AI agents, check out our Example Agents page. The page includes sample agents like:

Each example demonstrates different node configurations and capabilities to be captured in prompts that you can use as inspiration for your own custom nodes prompts.


Prompting Tips for Editing a Node

  1. Custom Node
    • If you want to modify the inputs or outputs of a custom node, explicitly mention this in the prompt.
    • Use keywords like remove, add, or modify along with the name of the input/output.
    • For changes in the code logic, simply describe the desired change in the prompt.
    • You can specify multiple changes at the same time.
  2. Template Node
    • The AI will generate values for the template configs based on the prompt.
    • Input mappings will be updated by identifying workflow variables that share the same name as the output names of other nodes. A basic schema for the inputs will also be generated.