Nodes Overview
Nodes are the fundamental building blocks of LearningFlow. Each node represents a specific function or action in your AI-powered workflow, from displaying content to processing data with AI models. By connecting nodes together, you create interactive learning experiences and automated workflows.
What Are Nodes?
Nodes are modular components that perform specific tasks within a flow. Each node has:
- Inputs: Connection points that receive data from upstream nodes
- Outputs: Connection points that send data to downstream nodes
- Configuration: Settings that control how the node behaves
By connecting the output of one node to the input of another, you create a flow of data and logic that powers your learning experience.
Node Categories
LearningFlow organizes nodes into several categories based on their primary function:
Display Nodes
Display nodes present information to users in various formats:
- Widgets: Interactive UI components for rich user experiences
- Wait: Pause execution for a specified duration
- Online Video Player: Embed and play video content
These nodes are essential for creating engaging, visual learning experiences.
Input Nodes
Input nodes collect data from users or external sources:
- Google Drive: Import files and content from Google Drive
Input nodes enable user interaction and data collection within your flows.
Processing Nodes
Processing nodes transform, analyze, and manipulate data:
AI-Powered Nodes
- AI General Prompt: Process prompts using various AI models with customizable settings
- AI General Feedback: Generate personalized feedback using AI
- Simple AI General Prompt: Streamlined AI processing for quick tasks
- AI Output Splitter: Parse and extract structured data from AI responses
- Text to Speech: Convert text to natural-sounding audio
- Text to Speech Streaming: Stream audio generation in real-time
- Transcribe Speech: Convert audio to text
- Generate Image: Create images from text descriptions
- Describe Image: Analyze and describe image content
- Knowledge Bank: Store reference documents for AI context
Data Processing Nodes
- CSV Builder: Create and format CSV data
- File Uploader: Handle file uploads
- Google Spreadsheet: Integrate with Google Sheets
- Document Download: Generate downloadable documents
Communication Nodes
- Send Gmail: Send emails through Gmail integration
- API Call: Make HTTP requests to external services
Logic & Control Nodes
- Scenario Branch: Create conditional logic paths
- Branching Node: Direct flow based on conditions
Flow Control Nodes
Flow control nodes manage the execution path of your workflow:
- Branching Node: Create conditional paths based on user input or data values
These nodes enable dynamic, adaptive learning experiences that respond to user actions.
Common Concepts
Connecting Nodes
Nodes are connected by dragging from an output port to an input port. The data flows from left to right through your workflow, with each node processing the data it receives and passing results to the next node.
Node Configuration
Most nodes have configuration panels where you can:
- Set parameters and options
- Choose AI models and settings
- Define custom prompts or instructions
- Upload files or reference materials
Data Flow
Data flows through your workflow in a specific order:
- Start Node initiates the flow
- Input Nodes collect user data
- Processing Nodes transform and analyze data
- Display Nodes present results to users
- Flow Control Nodes determine the next steps
AI Model Selection
Many processing nodes allow you to choose from various AI models:
- GPT-4o: Advanced reasoning and sophisticated responses
- GPT-4o-mini: Fast and cost-effective for most tasks
- GPT-3.5: Efficient for simpler tasks
- Gemini 1.5 Pro: Google's advanced AI model
- Claude: Anthropic's AI with strong reasoning capabilities
Choose the model that best balances performance, cost, and your specific use case.
Temperature Settings
AI nodes often include temperature controls:
- Low (0.0-0.3): Focused, consistent, deterministic outputs
- Medium (0.4-0.7): Balanced creativity and coherence
- High (0.8-1.0): Creative, diverse, unpredictable outputs
Getting Started
Ready to build with nodes? Here's how to begin:
- Explore the Node Categories: Browse the documentation for each node type
- Review Example Workflows: See how nodes work together in practice
- Start Building: Create your first flow using basic nodes
- Experiment: Try different combinations and configurations
- Iterate: Refine your flows based on testing and feedback
Each node's documentation page provides detailed information about inputs, outputs, configuration options, and example use cases.