Create website campaign draft
create_website_campaign_draftCreate a DRAFT campaign for sites from list_websites (one project), with the website sequence autopilot's affiliate lane sends unless you pass steps, and an optional schedule. The copy must pass the same check enrolment runs (rendered for a sample site: no links, bare domains, stock phrases, unknown tokens or empty offer), else nothing is created. Website copy personalises with tokens such as {{greeting}}, {{opener}}, {{tease_pitch}}, {{offer_pitch}} and {{signoff}}: get_campaign shows a campaign's templates and preview_campaign_step renders one for a site. DRAFT ONLY: nothing is enrolled or sent; launch_campaign (guarded) starts it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Sending days. Default Mon to Fri. | |
| name | No | ||
| offer | No | The commission the emails promise, e.g. "30% recurring". Default: the program commission in App settings. | |
| steps | No | Your own sequence instead of the default website one. | |
| confirm | No | Set true after the user confirmed an action the guard flagged as hard to undo. | |
| hour_to | No | Window end hour, exclusive. Default 17. | |
| site_ids | Yes | Site ids from list_websites, all in one project. | |
| timezone | No | IANA timezone, e.g. "Europe/London". Default America/New_York. | |
| hour_from | No | Window start hour, 24h, in timezone. Default 9. | |
| daily_limit | No | Most emails this campaign sends a day. The mailbox's own daily cap still applies. | |
| followup_gaps_days | No | Day offset of each follow-up from step 1, e.g. [4,14,28,42]. |