Skip to main content

🎯 Funnels Processing

📖 Overview​

The Funnels module handles funnel cloning operations, backup cleanup, and thumbnail generation.

Environment Flags:

  • QM_FUNNELS_CLONING=true - Funnel cloning operations
  • QM_FUNNELS_BACKUP_CLEANUP=true - Backup file cleanup
  • QM_FUNNELS_BUILD_THUMBNAILS=true - Thumbnail generation

Source Location: queue-manager/crons/funnels/

🗄️ Collections Used​

funnel​

  • Operations: Create/Read/Update
  • Model: shared/models/funnel.js
  • Usage: Funnel configurations

funnel-page​

  • Operations: Create/Read
  • Model: shared/models/funnel-page.js
  • Usage: Funnel page content

funnel-backup​

  • Operations: Read/Delete
  • Model: shared/models/funnel-backup.js
  • Usage: Funnel backup records

🔧 Jobs in This Module​

Funnel Cloning​

Key Features:

  • Template Cloning: Clone from funnel templates
  • Asset Duplication: Copy images, videos, assets
  • Page Replication: Duplicate all funnel pages
  • Integration Copy: Clone integrations (email, CRM)
  • Customization: Apply customer branding

Cloning Process:

  1. Query pending clone requests
  2. Fetch source funnel configuration
  3. Duplicate pages and content
  4. Copy assets to new location
  5. Update references and URLs
  6. Apply customizations
  7. Publish cloned funnel

Backup Cleanup​

Key Features:

  • Automated Cleanup: Daily cleanup of old backups
  • Retention Policy: Keep last N backups per funnel
  • Storage Optimization: Frees S3 storage
  • Audit Logging: Tracks deleted backups

Cleanup Policy:

  • Default retention: 30 days
  • Keep minimum: 5 most recent backups
  • Delete only completed funnels
  • Preserve flagged backups

Build Thumbnails​

Key Features:

  • Funnel Previews: Generate funnel page previews
  • Multiple Viewports: Desktop, tablet, mobile
  • S3 Storage: Cloud-hosted thumbnails
  • Update Triggers: Regenerate on page changes

Module Status: Active
Execution Pattern: On-demand + Daily cleanup
Last Updated: 2025-10-10

💬

Documentation Assistant

Ask me anything about the docs

Hi! I'm your documentation assistant. Ask me anything about the docs!

I can help you with:
- Code examples
- Configuration details
- Troubleshooting
- Best practices

Try asking: How do I configure the API?
09:31 AM