This plugin require mautic/mautic#7977. This PR add event on contact save.
- Use last version
- Unzip files to plugins/MauticAddressManipulatorBundle
- Clear cache (app/cache/prod/)
- Go to /s/plugins/reload
- Go to Mautic > Settings > Plugins
- You should see new Address Manipulator
- Enable it
- Enable feature what you want to use
Enable debug mode add logs about sync to System Info > Log
- require enabled service and field to sync domain/domains blacklist in plugin settings
Loop through all company contacts and sync address to contact based on plugin settings.
- if primary company domain field not empty
- grab domain from contact email address (for example microsoft.com) and If it's most used domain from all contacts of company, then sync domain to domain field
Loop through all company contacts and sync address to company based on plugin settings and own logic criteria.
php app/console mautic:address:manipulator:sync
- --start-datetime - use 'Y-m-d H:i:s' format like '2018-12-24 20:30:00' or something like '-10 minutes - default -15 minutes
- --end-datetime - use 'Y-m-d H:i:s' format like '2018-12-24 20:30:00' or something like '-10 minutes - default now
Icons made by Freepik