Set trucking campaign Reply-To header
This commit is contained in:
parent
ef79e85b41
commit
f42833cc9d
2 changed files with 6 additions and 0 deletions
|
|
@ -30,6 +30,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
|
||||
REPLY_TO = "info@performancewest.net"
|
||||
PHONE = "(888) 411-0383"
|
||||
PHONE_TEL = "8884110383"
|
||||
|
||||
|
|
@ -233,6 +234,7 @@ def create_draft(seg_key: str, cfg: dict, dry: bool) -> int | None:
|
|||
"template_id": TEMPLATE_ID,
|
||||
"tags": ["trucking", "deficiency", "source"],
|
||||
"messenger": "email",
|
||||
"headers": [{"name": "Reply-To", "value": REPLY_TO}],
|
||||
}
|
||||
res = b.lm_api("/campaigns", payload, "POST")
|
||||
cid = res["data"]["id"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue