KamoCRM

Narrow a campaign's all-leads audience and drip triggers by market, vendor, product and state

FeatureEmailService
已装运
2026年9月23日 18:10 UTC
作者
Kamo
提交
6e7d197

The campaign editor's "All Leads" box and the drip trigger's lead filter could only match every lead the sender can see, with no way to target a market, vendor, vendor product or state - the /leads grid has had all four for weeks. - New LeadAudienceFilter **************** threaded through CampaignAudienceInput -> AudienceDefinition -> AudienceQueries.shape()'s LEADS case, mirroring LeadGridSpecifications' predicates (market owns leads directly or via a vendor product; state is mortgage-aware property vs mailing, changed scope does. /estimate and /browse take the same four filters as comma-separated query params, so the editor's live count reflects an unsaved filter too. - TriggerConfig gains a states field alongside the existing marketIds/vendorIds/ productIds; DripTriggerMatcher.leadFilter() checks it. The event-payload path never carried vendor or state, so state is resolved live per lead (DripContacts. stateOfLead), the same way vendor already was from the vendor product. Every existing 3/6/8-arg call site keeps compiling unchanged via added overloads and secondary constructors; only AudienceGatherer, which always threads a definition's filter through, needed its call sites updated.

所有更改

就像你看到的运输?

所有东西都是靠自己运入你的工作空间的 从免费计划开始,一个月后再读这页.

永远开始自由查看定价