Easily use custom SQL queries in your segments and campaigns.
Easily use custom SQL queries in your segments and campaigns.
The Unlimited SQL plugin lets you:
You can use placeholders like :contactId
, :campaignId
, and :eventId
in your queries. The plugin will safely replace them with the right values for each contact or campaign step.
See also: SQL Query Examples
Create an SQL Entry
Go to Unlimited SQL in the Mautic menu and create a new entry. Choose the type (Segment Filter, Campaign Action, or Campaign Condition), write your SQL, and save.
Test your query
Use the built-in testing area to select a contact and see if your query works as expected.
Use in Segments or Campaigns
Tip: Always use placeholders (:contactId
, etc.) for security. The plugin will handle safe parameter binding.
Easily use custom SQL queries in your segments and campaigns.
Easily use custom SQL queries in your segments and campaigns.
The Unlimited SQL plugin lets you:
You can use placeholders like :contactId
, :campaignId
, and :eventId
in your queries. The plugin will safely replace them with the right values for each contact or campaign step.
See also: SQL Query Examples
Create an SQL Entry
Go to Unlimited SQL in the Mautic menu and create a new entry. Choose the type (Segment Filter, Campaign Action, or Campaign Condition), write your SQL, and save.
Test your query
Use the built-in testing area to select a contact and see if your query works as expected.
Use in Segments or Campaigns
Tip: Always use placeholders (:contactId
, etc.) for security. The plugin will handle safe parameter binding.