perfexmodule.com โ€” technical docs

Module Documentation

What each module does. How licensing works. What you need to know. No fluff.

๐Ÿ“ก
Module 08 ยท mautic_sync

Mautic Sync

Perfex 3.0+ Mautic API Segment filtering Duplicate detection

Connects Perfex CRM to a Mautic marketing automation instance. Syncs Mautic contacts into Perfex as leads or contacts โ€” filtered by segment, with duplicate detection. Sync runs manually, on schedule, or via webhook. No copy-paste, no manual imports.

What you get

  • Mautic API connection with built-in connection tester
  • Sync contacts into Perfex as leads or contacts (configurable)
  • Segment filtering โ€” only sync qualified contacts
  • Duplicate detection โ€” no double entries in Perfex
  • Manual sync trigger from admin settings
  • Scheduled sync (configurable interval)
  • Sync log with result summary per run
  • Fully bilingual admin panel (DE / EN)

Setup

  • Install and activate module
  • Go to Mautic Sync โ†’ Settings โ†’ enter Mautic URL, username and password
  • Click Test Connection โ€” available segments are loaded automatically
  • Select segment to sync and target type (lead or contact)
  • Run first sync manually or enable scheduled sync
  • Results visible in sync log below settings

Licensing โ€” what the buyer must do

1

Purchase โ†’ receive license key via email.

2

Perfex admin โ†’ Mautic Sync โ†’ Settings โ†’ paste key โ†’ Activate License.

3

One key = one domain. License validated against your Perfex installation domain. Works offline for up to 7 days.

Technical notes

  • Mautic API: Basic Auth โ€” username + password configured in Settings
  • Segment list loaded via GET /api/segments on connection test
  • Contacts fetched via GET /api/contacts?search=segment:[id]
  • Duplicate check against Perfex leads/contacts by email address
  • Scheduled sync uses perfex_scheduler_daily_tasks cron hook
  • Language files auto-copied to application/language/ on module load
⚙️
All modules

Requirements & First-Time Setup

Server requirements

  • Perfex CRM 3.0 or higher
  • PHP 8.0 or higher
  • MySQL 5.7+ / MariaDB 10.3+
  • application/config/my_routes.php writable (chmod 664)
  • Outgoing HTTPS connections to licenses.perfexmodule.com

If something doesn't work

  • Routes 404? โ†’ Check my_routes.php permissions
  • Language error? โ†’ Copy lang file to application/language/
  • License won't activate? โ†’ Check outgoing HTTPS
  • License valid but expired? โ†’ 7-day grace period. Reconnect to internet and reload.
  • Still stuck? โ†’ Email support with your domain and order number