https://github.com/mtcextendee/mautic-sql-conditions-bundle
Custom SQL condition for campaigns
https://github.com/mtcextendee/mautic-sql-conditions-bundle
extendee mautic mautic-api mautic-plugin
Last synced: 5 months ago
JSON representation
Custom SQL condition for campaigns
- Host: GitHub
- URL: https://github.com/mtcextendee/mautic-sql-conditions-bundle
- Owner: mtcextendee
- Created: 2019-07-05T09:29:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-04T18:52:06.000Z (almost 5 years ago)
- Last Synced: 2024-04-22T19:08:10.232Z (about 2 years ago)
- Topics: extendee, mautic, mautic-api, mautic-plugin
- Language: PHP
- Homepage: https://mtcextendee.com
- Size: 48.8 KB
- Stars: 11
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Security: Security/Permissions/SqlConditionsPermissions.php
Awesome Lists containing this project
README
# MauticSqlConditionsBundle
SQL conditions for Mautic
## Support
https://mtcextendee.com/plugins
## Installation
### Command line
- `composer require mtcextendee/mautic-sql-conditions-bundle`
- `php app/console mautic:plugins:reload`
- Go to /s/plugins and setup SQL Conditions
### Manual
- Download last version https://github.com/mtcextendee/mautic-sql-conditions-bundle/releases
- Unzip files to plugins/MauticSqlConditionsBundle
- Clear cache (app/cache/prod/)
- Go to /s/plugins/reload
- Setup SQL Conditions integration
## Usage
1, See new item on left menu:

2, Setup SQL conditions
3, Parameters for SQL
- :contactId
- :campaignId
- :eventId
- :rotation
4, Condition return true If there is results
## Examples
Condition for contacts with ID greather like 2000
`SELECT l.id FROM leads l WHERE l.id = :contactId and l.id > 2000`
## Credits
Icons made by Eleonor Wang from www.flaticon.com