MCPcopy Create free account

hub / github.com/Danitilahun/n8n-workflow-templates / functions

Functions44 in github.com/Danitilahun/n8n-workflow-templates

↓ 9 callersMethodget_stats
Get database statistics.
workflow_db.py:591
↓ 5 callersMethodindex_all_workflows
Index all workflow files. Only reprocesses changed files unless force_reindex=True.
workflow_db.py:432
↓ 3 callersMethodsearch_workflows
Fast search with filters and pagination.
workflow_db.py:510
↓ 2 callersMethodget_file_hash
Get MD5 hash of file for change detection.
workflow_db.py:104
↓ 2 callersMethodget_service_categories
Get service categories for enhanced filtering.
workflow_db.py:643
↓ 1 callersMethodanalyze_nodes
Analyze nodes to determine trigger type and integrations.
workflow_db.py:207
↓ 1 callersMethodanalyze_workflow_file
Analyze a single workflow file and extract metadata.
workflow_db.py:150
↓ 1 callersFunctioncheck_n8n_available
Check if n8n CLI is available.
import_workflows.py:130
↓ 1 callersFunctioncheck_requirements
Check if required dependencies are installed.
run.py:19
↓ 1 callersFunctioncreate_static_directory
Create static directory if it doesn't exist.
api_server.py:440
↓ 1 callersMethodformat_workflow_name
Convert filename to readable workflow name.
workflow_db.py:112
↓ 1 callersMethodgenerate_description
Generate a descriptive summary of the workflow.
workflow_db.py:386
↓ 1 callersFunctiongenerate_mermaid_diagram
Generate Mermaid.js flowchart code from workflow nodes and connections.
api_server.py:275
↓ 1 callersMethodget_workflow_files
Get all workflow JSON files.
import_workflows.py:75
↓ 1 callersMethodimport_all
Import all workflow files.
import_workflows.py:88
↓ 1 callersMethodimport_workflow
Import a single workflow file.
import_workflows.py:43
↓ 1 callersMethodinit_database
Initialize SQLite database with optimized schema and indexes.
workflow_db.py:27
↓ 1 callersFunctionmain
Main entry point with command line arguments.
run.py:106
↓ 1 callersFunctionmain
Command-line interface for workflow database.
workflow_db.py:714
↓ 1 callersFunctionmain
Main entry point.
import_workflows.py:142
↓ 1 callersFunctionprint_banner
Print application banner.
run.py:13
↓ 1 callersFunctionrun_server
Run the FastAPI server.
api_server.py:446
↓ 1 callersMethodsearch_by_category
Search workflows by service category.
workflow_db.py:660
↓ 1 callersFunctionsetup_database
Setup and initialize the database.
run.py:57
↓ 1 callersFunctionsetup_directories
Create necessary directories.
run.py:47
↓ 1 callersFunctionstart_server
Start the FastAPI server.
run.py:82
↓ 1 callersMethodvalidate_workflow
Validate workflow JSON before import.
import_workflows.py:23
Method__init__
(self, db_path: str = None)
workflow_db.py:19
Method__init__
(self, workflows_dir: str = "workflows")
import_workflows.py:17
Methodconvert_active
(cls, v)
api_server.py:77
Functiondownload_workflow
Download workflow JSON file.
api_server.py:226
Functionget_categories
Get available service categories for filtering.
api_server.py:363
Functionget_integrations
Get list of all unique integrations.
api_server.py:353
Functionget_stats
Get workflow database statistics.
api_server.py:123
Functionget_workflow_detail
Get detailed workflow information including raw JSON.
api_server.py:197
Functionget_workflow_diagram
Get Mermaid diagram code for workflow visualization.
api_server.py:246
Functionglobal_exception_handler
(request, exc)
api_server.py:426
Functionhealth_check
Health check endpoint.
api_server.py:118
Functionreindex_workflows
Trigger workflow reindexing in the background.
api_server.py:344
Functionroot
Serve the main documentation page.
api_server.py:103
Functionrun_indexing
()
api_server.py:346
Functionsearch_workflows
Search and filter workflows with pagination.
api_server.py:132
Functionsearch_workflows_by_category
Search workflows by service category (messaging, database, ai_ml, etc.).
api_server.py:372
Functionstartup_event
Verify database connectivity on startup.
api_server.py:44