In AI Content Labs, all nodes in a flow share some common elements that allow for efficient customization and management of the flow.
Common Elements in Nodes
Node Title
Each node has a title that serves to identify it in the flow graph.
Output Settings
In the output settings, you will find options to customize the node’s result. These options include:
- Hide Output: Used to hide the node’s result. This is useful when the node is an intermediate step that feeds into other nodes and its result is not needed in the final output of the flow.
- Add Prefix: Allows you to add specific text at the beginning of the node’s result. Useful for adding titles or subtitles to sections.
- Add Suffix: Allows you to add specific text at the end of the node’s result.
Types of Nodes in Flows
Input Node
Input nodes represent the inputs that will start the flow. These inputs will be entered by the user and have the same settings as variables in templates. For more details on their options, see the section on template variables.
Repeatable Input Node
This special input node is used to enter a structured list that can be increased or decreased according to the user’s requirements. Each value in this type of input is at the same level and can be processed independently in the following nodes.
Additionally, this repeatable input can be associated with another repeatable input to form groups or have children, creating a kind of tree diagram. This setting is useful for establishing a hierarchical outline, such as H2, H3, and H4 subtitles, where the groupings among the inputs determine to which subtitle each group belongs. You can only have a parent-child relationship up to a maximum of 3 levels.
Users will be able to add or remove inputs with the “+” and “-” buttons.
Prompt Node
This node executes a generative AI text model based on a prompt and variable assignment. Its settings are the same as those for templates, so you can explore that section for more details.
Text Splitter Node
This node is used to split a text result from a previous node into multiple parts based on a division pattern. The default pattern is a newline.
To add it to the flow, go to “More Tools” and then drag the node to the canvas.
Usage Example
A common use of the Text Splitter Node is to divide a list of items into individual elements. This division will cause all nodes dependent on this division to process each divided value. For example, you can split an outline of subtitles into individual subtitles to process each one independently.
1. Introduction
2. Objectives
3. Marketing Strategy
4. Financial Plan
5. Conclusion
Each line above would be split into an independent item, allowing for the creation of content for each part separately, providing greater flexibility for creating personalized content.
A newline is not the only division pattern; you can set custom division patterns, which is useful for having more control over the split text that may include more than one line of content. The pattern can be set in “Output Settings”.
Example of Custom Division Pattern
Suppose you want to split the text each time the word “Section” appears. You can set “Section” as the division pattern in the node’s output settings.
1: Company History.
Founded in 1995, our company has steadily grown thanks to our dedication to quality and customer service.
Section
2: Mission and Vision.
Our mission is to provide innovative products that improve our customers' lives, and our vision is to be a leader in the industry.
Section
3: Marketing Strategy.
We use a combination of digital and traditional marketing to effectively reach our customers.
Section
4: Financial Plan.
Our financial plan includes detailed income and expense projections for the next five years.
This way, the divided part will include more information for further use.
Text Splitter nodes can be chained up to a maximum of 3 times.
Image Generator Node
This node creates an image based on a text prompt. You can set the prompt as the alt value of the image in “Output Settings”.
Fixed Text Node
This node creates text based on previous content or fixed text. It is useful for generating reusable text throughout the flow. You can set variables to provide greater flexibility.
By understanding and using these node types, you can create powerful and customized flows to generate content tailored to your specific needs, leveraging the full capabilities of AI in AI Content Labs.