Create List
Create List is a simple tool that lets you turn any number of separate text entries into a single list that other parts of your workflow can use. Think of it as a “text to list” converter that prepares data for further processing.
How it Works
When you add the Create List component to your dashboard, you type or paste each piece of text you want in the list into the Texts field. The component then builds a list where each item is wrapped in a Data
object. This list is returned as the component’s output, ready to be fed into other components that expect a list of data items.
Inputs
Input Fields
- Texts: Enter one or more texts.
This is the only input for this component. You can type each text on a new line or separate them with commas.
Outputs
- Data List: The component outputs a list of
Data
objects, one for each text you entered. This list can be used by downstream components that need a collection of data items.
Usage Example
- Drag the Create List component onto your canvas.
- In the Texts field, type:
AppleBananaCherry
- Connect the Data List output to the next component in your workflow (for example, a component that processes each fruit name).
- Run the workflow. The next component will receive a list containing three
Data
objects, each holding one of the fruit names.
Related Components
- Text Splitter – Breaks a single string into multiple parts.
- Text Joiner – Combines a list of strings into one string.
- Data Filter – Filters a list of
Data
objects based on conditions.
Tips and Best Practices
- Keep each text entry on its own line for clarity.
- Use this component early in a workflow to structure raw text before passing it to more complex processing steps.
- If you need to add dynamic text, connect the Texts input to a previous component that generates the strings.
Security Considerations
This component only handles text data locally and does not send any information outside of your Nappai environment. No special security settings are required.