Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zie619/n8n-workflows
/ functions
Functions
246 in github.com/Zie619/n8n-workflows
⨍
Functions
246
◇
Types & classes
54
↳
Endpoints
54
↓ 40 callers
Method
close
()
src/database.js:663
↓ 14 callers
Method
run
Run the enhanced API server
src/enhanced_api.py:535
↓ 12 callers
Method
get_stats
Get database statistics.
workflow_db.py:626
↓ 7 callers
Method
initialize
()
src/database.js:27
↓ 5 callers
Method
_create_alert
Create a new alert.
src/performance_monitor.py:195
↓ 5 callers
Method
getStats
()
src/database.js:539
↓ 5 callers
Method
index_all_workflows
Index all workflow files. Only reprocesses changed files unless force_reindex=True.
workflow_db.py:455
↓ 4 callers
Function
check_rate_limit
Check if client has exceeded rate limit.
api_server.py:63
↓ 4 callers
Method
escapeHtml
(text)
docs/js/search.js:390
↓ 4 callers
Method
search_workflows
Fast search with filters and pagination.
workflow_db.py:539
↓ 3 callers
Method
_measure_api_time
Measure API response time (simulated).
src/performance_monitor.py:139
↓ 3 callers
Method
displayResults
(reset = false)
docs/js/search.js:158
↓ 3 callers
Method
get_service_categories
Get service categories for enhanced filtering.
workflow_db.py:682
↓ 3 callers
Method
get_user_by_id
Get user by ID.
src/user_management.py:266
↓ 3 callers
Method
hash_password
Hash password using SHA-256.
src/user_management.py:155
↓ 3 callers
Function
sanitizeNodeId
(nodeName)
src/server.js:213
↓ 3 callers
Method
searchWorkflows
( query = "", triggerFilter = "all", complexityFilter = "all", activeOnly = false, limit =
src/database.js:431
↓ 3 callers
Function
validate_filename
Validate filename to prevent path traversal attacks. Returns True if filename is safe, False otherwise.
api_server.py:81
↓ 2 callers
Method
_broadcast_to_websockets
Broadcast message to all websocket connections.
src/performance_monitor.py:224
↓ 2 callers
Method
_search_workflows_enhanced
Enhanced workflow search with multiple filters
src/enhanced_api.py:232
↓ 2 callers
Method
buildFTSQuery
(query)
src/database.js:392
↓ 2 callers
Function
format_category_name
Format category key to display name.
scripts/generate_search_index.py:150
↓ 2 callers
Method
getWorkflowDetail
(filename)
src/database.js:622
↓ 2 callers
Function
get_category_list
Get formatted list of all categories.
scripts/generate_search_index.py:169
↓ 2 callers
Method
get_db_connection
(self)
src/analytics_engine.py:29
↓ 2 callers
Method
get_file_hash
Get MD5 hash of file for change detection.
workflow_db.py:110
↓ 2 callers
Method
get_most_popular_workflows
Get most popular workflows by views and downloads
src/community_features.py:308
↓ 2 callers
Method
get_top_rated_workflows
Get top-rated workflows
src/community_features.py:276
↓ 2 callers
Method
get_trend_analysis
Analyze trends over time (simulated for demo).
src/analytics_engine.py:273
↓ 2 callers
Method
get_usage_insights
Get usage insights and patterns.
src/analytics_engine.py:294
↓ 2 callers
Method
get_workflow_ratings
Get ratings and reviews for a workflow
src/community_features.py:161
↓ 2 callers
Method
get_workflow_stats
Get comprehensive statistics for a workflow
src/community_features.py:196
↓ 2 callers
Method
indexWorkflows
(forceReindex = false)
src/database.js:301
↓ 2 callers
Method
showLoading
(show)
docs/js/search.js:359
↓ 1 callers
Method
_advanced_search
Advanced search with complex queries
src/enhanced_api.py:317
↓ 1 callers
Method
_broadcast_alert
Broadcast alert to all websocket connections.
src/performance_monitor.py:219
↓ 1 callers
Method
_broadcast_metrics
Broadcast metrics to all websocket connections.
src/performance_monitor.py:213
↓ 1 callers
Method
_calculate_error_rate
Calculate error rate (simulated).
src/performance_monitor.py:153
↓ 1 callers
Method
_check_alerts
Check metrics against alert thresholds.
src/performance_monitor.py:160
↓ 1 callers
Method
_collect_metrics
Collect current system metrics.
src/performance_monitor.py:82
↓ 1 callers
Method
_get_analytics_overview
Get analytics overview
src/enhanced_api.py:425
↓ 1 callers
Method
_get_custom_analytics
Get custom analytics data
src/enhanced_api.py:456
↓ 1 callers
Method
_get_health_status
Get health status and performance metrics
src/enhanced_api.py:466
↓ 1 callers
Method
_get_recommendations
Get personalized workflow recommendations
src/enhanced_api.py:387
↓ 1 callers
Method
_get_related_workflows
Get related workflows based on similar integrations or categories
src/enhanced_api.py:498
↓ 1 callers
Method
_get_trending_workflows
Get trending workflows based on recent activity
src/enhanced_api.py:421
↓ 1 callers
Method
_get_workflow_details
Get detailed workflow information
src/enhanced_api.py:332
↓ 1 callers
Method
_get_workflow_executions
Get number of workflow executions (simulated).
src/performance_monitor.py:146
↓ 1 callers
Method
_setup_middleware
Setup middleware for performance and security
src/enhanced_api.py:65
↓ 1 callers
Method
_setup_routes
Setup API routes
src/enhanced_api.py:79
↓ 1 callers
Method
_update_workflow_stats
Update workflow statistics after rating changes
src/community_features.py:407
↓ 1 callers
Method
add_rating
Add or update a workflow rating and review
src/community_features.py:128
↓ 1 callers
Method
analyzeNodes
(nodes)
src/database.js:241
↓ 1 callers
Method
analyzeWorkflow
(filePath)
src/database.js:171
↓ 1 callers
Method
analyze_nodes
Analyze nodes to determine trigger type and integrations.
workflow_db.py:223
↓ 1 callers
Method
analyze_workflow_file
Analyze a single workflow file and extract metadata.
workflow_db.py:156
↓ 1 callers
Method
analyze_workflow_patterns
Analyze common workflow patterns and relationships.
src/analytics_engine.py:127
↓ 1 callers
Method
authenticate_user
Authenticate user and return user data.
src/user_management.py:212
↓ 1 callers
Method
calculate_confidence
Calculate confidence score for the response.
src/ai_assistant.py:228
↓ 1 callers
Method
categorize_service
Categorize a service into a broader category.
src/analytics_engine.py:185
↓ 1 callers
Function
check_requirements
Check if required dependencies are installed.
run.py:18
↓ 1 callers
Method
createDetailsModal
(workflow)
docs/js/search.js:246
↓ 1 callers
Method
createTables
()
src/database.js:56
↓ 1 callers
Method
createWorkflowCard
(workflow)
docs/js/search.js:190
↓ 1 callers
Method
create_access_token
Create JWT access token.
src/user_management.py:240
↓ 1 callers
Function
create_community_api_endpoints
Add community feature endpoints to FastAPI app
src/community_features.py:439
↓ 1 callers
Method
create_default_admin
Create default admin user if none exists.
src/user_management.py:116
↓ 1 callers
Function
create_github_pages_config
Create necessary GitHub Pages configuration files.
scripts/update_github_pages.py:88
↓ 1 callers
Function
create_static_directory
Create static directory if it doesn't exist.
api_server.py:767
↓ 1 callers
Method
create_user
Create a new user.
src/user_management.py:163
↓ 1 callers
Method
debounce
(func, wait)
docs/js/search.js:396
↓ 1 callers
Method
debounce
(func, wait)
docs/js/app.js:82
↓ 1 callers
Method
delete_user
Delete user (soft delete by setting active=False).
src/user_management.py:365
↓ 1 callers
Method
detect_intent
Detect user intent from query.
src/ai_assistant.py:122
↓ 1 callers
Function
determine_category
Determine the category for a workflow based on its integrations.
scripts/generate_search_index.py:134
↓ 1 callers
Method
export_to_airtable
Export workflows to Airtable.
src/integration_hub.py:107
↓ 1 callers
Function
extract_folder_from_filename
Extract folder name from workflow filename.
scripts/generate_search_index.py:208
↓ 1 callers
Method
extract_keywords
Extract relevant keywords from user query.
src/ai_assistant.py:85
↓ 1 callers
Function
fix_base_url_references
Fix any hardcoded URLs to use relative paths for GitHub Pages.
scripts/update_github_pages.py:217
↓ 1 callers
Method
formatWorkflowName
(filename)
src/database.js:141
↓ 1 callers
Method
format_workflow_name
Convert filename to readable workflow name.
workflow_db.py:118
↓ 1 callers
Method
generateDescription
(workflow, triggerType, integrations)
src/database.js:274
↓ 1 callers
Function
generateMermaidDiagram
(nodes, connections)
src/server.js:182
↓ 1 callers
Method
generate_description
Generate a descriptive summary of the workflow.
workflow_db.py:407
↓ 1 callers
Function
generate_mermaid_diagram
Generate Mermaid.js flowchart code from workflow nodes and connections.
api_server.py:502
↓ 1 callers
Method
generate_recommendations
Generate actionable recommendations based on analytics.
src/analytics_engine.py:211
↓ 1 callers
Method
generate_response
Generate natural language response based on query and workflows.
src/ai_assistant.py:146
↓ 1 callers
Function
generate_static_search_index
Generate a static search index for client-side searching.
scripts/generate_search_index.py:19
↓ 1 callers
Function
getAllJsonFiles
(dir)
src/database.js:6
↓ 1 callers
Method
getFileHash
(filePath)
src/database.js:136
↓ 1 callers
Method
getWorkflowByFilename
(filename)
src/database.js:344
↓ 1 callers
Method
get_all_users
Get all users.
src/user_management.py:295
↓ 1 callers
Function
get_category_list
Get formatted list of all categories (same logic as search index).
scripts/update_readme_stats.py:46
↓ 1 callers
Function
get_current_stats
Get current workflow statistics from the database.
scripts/update_readme_stats.py:19
↓ 1 callers
Method
get_db_connection
(self)
src/ai_assistant.py:32
↓ 1 callers
Method
get_historical_metrics
Get historical metrics for specified hours.
src/performance_monitor.py:262
↓ 1 callers
Method
get_metrics_summary
Get performance metrics summary.
src/performance_monitor.py:237
↓ 1 callers
Function
get_popular_integrations
Get list of popular integrations with counts.
scripts/generate_search_index.py:192
↓ 1 callers
Method
get_suggestions
Generate helpful suggestions based on query.
src/ai_assistant.py:189
↓ 1 callers
Method
get_workflow_analytics
Get comprehensive workflow analytics.
src/analytics_engine.py:34
next →
1–100 of 246, ranked by callers