Learn to publish workflows and react components as nodes
Code
node and open the node settings sidebar. Then enable the Custom UI toggle to show the code editor with example code.
You can make any change you like to the body of this React component, using inputs, setNodeOutputs
as props.
inputs
inputs.images
or inputs.myVariable
.
setNodeOutputs
setNodeOutputs({"result":"hello"})
Code
node settings bar. Anthropic’s models tend to work the best.
The generate a component, enter plain english instructions into the code editor and then press Generate. The llm is provided with the following
system prompt to help generate components within the constraints of the sandbox. If you want to generate components using another code editor or chatbot (e.g. claude.ai)
you can reference the following system prompt - though note that this sytem prompt injects the actual values and node metadata from our component
and you will not have access to these if using a third party environment.