Documentation Index
Fetch the complete documentation index at: https://docs.trendteller.com.br/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Understanding these key concepts will help you work effectively with Trendteller’s platform and make the most of its capabilities.Medallion Architecture
Trendteller implements a Medallion Architecture for data processing, organizing data into three distinct layers:Bronze Layer (Raw Data)
Purpose: Store raw, unprocessed data exactly as received from source systems.
- Data is ingested from Airbyte connectors
- Maintains original source format and structure
- Provides full audit trail and data lineage
- No transformations applied
Silver Layer (Standardized)
Purpose: Clean, standardize, and deduplicate data across sources.
- Applies data quality rules and validations
- Standardizes data types and formats
- Deduplicates records across brands
- Adds business keys and metadata
Multi-Brand Consolidation
Brand Aggregation
Trendteller consolidates data from 11 different brands across 9 e-commerce platforms into a unified analytics system.Supported E-commerce Platforms
Supported E-commerce Platforms
- Bling - Brazilian ERP and e-commerce platform
- VNDA - Fashion retail platform
- Shoppub - Marketplace integration
- Tiny - ERP and inventory management
- Microvix - Retail management system
- Braavo - E-commerce platform
- JetERP - Enterprise resource planning
- Google Shopping - Product feed integration
- Totvs Moda - Fashion industry ERP
Data Consolidation Strategy
Data Consolidation Strategy
Each brand’s data is:
- Extracted via custom Airbyte connectors
- Loaded into Bronze layer with brand identifier
- Standardized in Silver layer using common schema
- Aggregated in Gold layer for cross-brand analytics
- Cross-brand performance comparisons
- Consolidated inventory management
- Unified customer analytics
- Portfolio-wide forecasting
Brand Isolation vs. Consolidation
- Isolated Views
- Consolidated Views
- Each brand’s data remains separately accessible
- Brand-specific dashboards and reports
- Individual brand performance tracking
- Maintains data privacy between brands
Data Integration Patterns
Source-to-Warehouse Pattern
- Full Refresh: Some sources perform complete data refresh
- Incremental Sync: Most sources use incremental updates based on modification timestamp
- Change Data Capture: Tracks changes at the source level
- Error Handling: Failed syncs are logged and can be retried
API-First Architecture
Trendteller exposes all data through a GraphQL API powered by Hasura V2:GraphQL Benefits
- Type-safe queries
- Flexible data fetching
- Real-time subscriptions
- Automatic schema generation
Hasura Features
- BigQuery federation
- PostgreSQL integration
- Role-based access control
- Performance optimization
AI-Powered Analytics
Insights Generation
Trendteller uses AI models to generate actionable insights:Forecasting
Forecasting
- Sales forecasting using historical trends
- Inventory optimization predictions
- Demand forecasting by product category
- Seasonality detection and modeling
Trend Detection
Trend Detection
- Identifies emerging product trends
- Detects anomalies in sales patterns
- Analyzes customer behavior shifts
- Market trend correlation
Automated Reporting
Automated Reporting
- Daily/weekly automated insights
- Performance summaries by brand
- Exception reporting (low stock, unusual patterns)
- Executive dashboards with AI commentary
Web Crawling
Kestra scripts use Puppeteer for competitive intelligence:- Competitor pricing monitoring
- Market availability tracking
- Product catalog comparison
- Review and sentiment analysis
Type-Safe Development
Frontend Type Safety
The platform frontend uses Genql for type-safe GraphQL queries:Backend Type Safety
Airbyte connectors are built with TypeScript:- Compile-time type checking
- IDE autocomplete for API schemas
- Reduced runtime errors
- Better maintainability
Authentication & Authorization
Auth0 Integration
Role-Based Access
- Admin: Full access to all brands and data
- Brand Manager: Access to specific brand(s) data
- Analyst: Read-only access to analytics
- API User: Programmatic API access
Data Quality & Validation
Quality Checks
Dataform implements multiple data quality layers:Schema Validation
- Required fields enforcement
- Data type validation
- Format standardization
- Referential integrity
Business Rules
- Logical value constraints
- Cross-field validations
- Deduplication logic
- Historical consistency checks
Monitoring & Alerting
- Data freshness monitoring
- Pipeline failure alerts
- Data quality score tracking
- Anomaly detection
Next Steps
System Overview
Review the complete system architecture
Components
Explore individual system components
Architecture
Deep dive into architectural decisions
API Reference
Start building with the API

