Skip to content

Langflow Factory is a comprehensive collection of custom components designed to extend Langflow's capabilities with powerful integrations, data processing tools, and AI-powered generators.

Notifications You must be signed in to change notification settings

Victor-w-Madeira/langflow-factory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏭 Langflow Factory

Custom Component Library for Langflow - Extending AI Workflow Capabilities

License: MIT Python 3.8+ Langflow

🌟 Overview

Langflow Factory is a comprehensive collection of custom components designed to extend Langflow's capabilities with powerful integrations, data processing tools, and AI-powered generators. Built with production-ready patterns and extensive error handling.

🚀 Features

🔗 API Integrations

  • Google Cloud Platform: BigQuery, Cloud Scheduler, Drive integration
  • WhatsApp/Evolution API: Complete messaging automation
  • Google Sheets: Read, write, and query operations
  • Apollo: Organization search capabilities
  • Astra DB: Vector database operations

📊 Data Processing

  • Enhanced DataFrame Operations: Advanced data manipulation
  • File Processing: Multi-format support with encoding detection
  • Structured Output: Type-safe data transformation
  • Data Validation: Robust input/output validation

🎨 AI Generators

  • Image Generation: OpenAI DALL-E, Google Imagen
  • Audio Generation: ElevenLabs, OpenAI TTS
  • Text Processing: Advanced natural language operations

🛠️ Utilities

  • API Request Builder: Dynamic HTTP client with authentication
  • Conditional Router: Smart flow control
  • Dynamic UI Components: Real-time field updates

📁 Project Structure

langflow-factory/
├── .cursor/                    # Development rules and guidelines
│   ├── index.mdc              # Project-wide Cursor rules
│   └── rules/                 # Context-specific rules
├── components/                # Custom Langflow components
│   ├── api_request/           # HTTP request builders
│   ├── audio_management/      # Audio generation components
│   ├── gcp/                   # Google Cloud integrations
│   ├── google_sheets/         # Sheets API components
│   ├── image_generators/      # Image generation tools
│   └── [other categories]/
└── scripts/                   # Utility scripts

🎯 Getting Started

📋 Templates Available

Ready-to-use Langflow templates are available at: https://github.com/Empreiteiro/langflow-templates

This repository includes 56+ pre-built templates organized by:

  • AI Patterns: Agentic RAG, Document Intelligence, Multi-Modal Processing, Structured Output Generation
  • Business Functions: Data Analytics, Financial Services, Sales & Marketing Automation, Social & Brand Intelligence, Programming & Developer Productivity

🔧 Component Categories

📡 API & External Services

  • api_request_builder.py - Dynamic HTTP request construction
  • enchanced_api_request.py - Advanced API client with retry logic
  • apollo_organization_search.py - Company data retrieval
  • astra_db.py - Vector database operations

☁️ Google Cloud Platform

  • cloud_scheduler - Automated job scheduling
  • enchanced_big_query.py - BigQuery data operations
  • google_drive_uploader.py - File upload automation
  • google_sheets/ - Complete Sheets API integration

💬 Communication

  • audio_management/ - Voice and audio generation
  • whatsapp_evolution.py - WhatsApp automation
  • telegram.py - Telegram bot integration

🎥 Multi-Modal Processing

  • multi-modal_input.py - Audio, video, and image processing with AI analysis
    • YouTube video download and analysis
    • Audio transcription using OpenAI Whisper
    • Image analysis using GPT-4V
    • Supports direct URLs, YouTube, and Google Drive links

📊 Data Processing

  • core_data_operations.py - Advanced data manipulation
  • dataFrame_operations - Pandas DataFrame utilities
  • enchanced_structured_output.py - Type-safe outputs

📚 Documentation

Component Development Guidelines

  • Follow the patterns in .cursor/rules/langflow-components.mdc
  • Use proper error handling with self.log()
  • Implement input validation
  • Return structured Data/Message/DataFrame objects

Flow Development

  • Reference .cursor/rules/flow-development.mdc
  • Design for reusability and modularity
  • Include proper error handling paths

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-component)
  3. Follow the development guidelines in .cursor/rules/
  4. Add tests for new components
  5. Commit with descriptive messages
  6. Push and create a Pull Request

🔐 Security

  • Store API keys securely using Langflow's secret management
  • Validate all inputs to prevent injection attacks
  • Use HTTPS for external API calls
  • Follow the security guidelines in component documentation

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Support


Made with ❤️ for the Langflow community

About

Langflow Factory is a comprehensive collection of custom components designed to extend Langflow's capabilities with powerful integrations, data processing tools, and AI-powered generators.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%