@jan_linhart on X
Principal Software Engineer at
@john on Slack
Council, Security and Product team member at
Plato
Chat GPT
All contacts
Active contacts
Czechs
Active Czechs
SELECT
count(leadIdPrimary) count,
max(leadIdPrimary) maxId,
min(leadIdPrimary) minId
FROM (
SELECT
DISTINCT l.id as leadIdPrimary
FROM leads l
WHERE (
(
(l.country = 'Czech Republic')
AND
(l.last_active >= '2024-11-04 10:37')
) OR (
(l.country = 'Slovakia')
AND
(l.last_active >= '2024-11-04 10:37')
)
) AND (
l.id NOT IN (
SELECT par4.lead_id
FROM lead_lists_leads par4
WHERE par4.leadlist_id = 3
)
)
) sssSELECT
count(leadIdPrimary) count,
max(leadIdPrimary) maxId,
min(leadIdPrimary) minId
FROM (
SELECT
DISTINCT orp.lead_id as leadIdPrimary,
orp.lead_id as id,
orp.leadlist_id
FROM lead_lists_leads orp
WHERE (orp.leadlist_id = 3)
AND (orp.manually_added = '0')
AND (orp.lead_id NOT IN (
SELECT l.id
FROM leads l
WHERE (
(l.country = 'Czech Republic')
AND
(l.last_active >= '2024-11-04 10:38')
) OR (
(l.country = 'Slovakia')
AND
(l.last_active >= '2024-11-04 10:38')
)
)
)
) sssbin/console mautic:segments:update
bin/console mautic:campaigns:update
bin/console mautic:campaigns:triggerbin/console mautic:segments:updatebin/console mautic:campaigns:update20%
of Mautic files contain
list or segment
over
Segment features are a subset of campaign features.
Event based source(s)
Event based source(s)
SELECT
count(leadIdPrimary) count,
max(leadIdPrimary) maxId,
min(leadIdPrimary) minId
FROM (
SELECT
DISTINCT l.id as leadIdPrimary
FROM leads l
WHERE l.date_modified >= '2024-11-04 10:42' # last campaign rebuild date
AND (
l.id NOT IN (
SELECT par4.lead_id
FROM campaign_leads par4
WHERE par4.campaign_id = 3
)
) sssContact
Changes
Added to campaign
Campaign executes
Contact removed from the campaign
Delays
Wait for
bin/console mautic:campaigns:updatebin/console mautic:segments:updateSegment members
Campaign members
What would you do
with free Fridays?
20% less code
What is what?
Change order?
More than 6?
Manage by API?
Duplicated code
Why not use it in emails as well?
What is what?
Change order?
More than 6?
Manage by API?
Duplicated code
Mautic 4
Mautic 6
Mautic 5
= simpler to learn/use
= easier to maintain
= cheaper to host
Reduce duplicated
features in Mautic