- Create a node that takes a topic as input and responds with a story using LLM.
- Create a node that takes a query and a document from the user as inputs and returns the content of the document along with the original query.
- Create a node that takes a topic as input and an optional website link from the user. The node returns a news article on the topic along with a short summary.
- Create a node that accepts the following inputs from the user: title, genre, character name, and target audience. The node returns a plan for generating a story and a new title.
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:
- File Analyzer for extracting information from documents
- Story Plan Generator for creative writing
- News Reporter for generating articles
- Email Replier with LLM-generated responses
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.
- 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.
- 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.