Skip to content

mtcextendee/mautic-sql-conditions-bundle

Repository files navigation

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

Usage

1, See new item on left menu:

image

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