Align trucking source campaign placeholder list

This commit is contained in:
justin 2026-06-03 23:32:53 -05:00
parent 5c35140a22
commit ef79e85b41

View file

@ -29,6 +29,7 @@ from scripts import build_trucking_campaigns as b # reuse lm_api + auth + segme
FROM_EMAIL = "Performance West <noreply@performancewest.net>"
TEMPLATE_ID = 6 # same wrapper template as the MCS-150 source campaign
SOURCE_LIST_ID = 8 # same placeholder list used by the MCS-150/inactive source drafts
PHONE = "(888) 411-0383"
PHONE_TEL = "8884110383"
@ -224,7 +225,7 @@ def create_draft(seg_key: str, cfg: dict, dry: bool) -> int | None:
payload = {
"name": cfg["name"],
"subject": cfg["subject"],
"lists": [1], # placeholder list; clones override with the real per-TZ list
"lists": [SOURCE_LIST_ID], # placeholder list; clones override with the real per-TZ list
"from_email": FROM_EMAIL,
"type": "regular",
"content_type": "html",