Privy automation · runs weekly
Schedule a weekly Privy email campaign
The weekly newsletter is the same routine every Monday: new campaign, template, subject, segment, schedule. It takes 10 clicks and slips when the week gets busy.
Cotlet does it in your own Privy account with list_segments, list_campaigns, create_email_campaign, send_email_campaign and unschedule_campaign, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Privy do this on its own?
Privy's API and read-only MCP list campaigns and their data but cannot create or send one (checked 23 Oct 2026). Its Zapier app works on contacts only. Scheduling happens in the dashboard.
How you do it in Privy today
- Go to Campaigns, click Send email in the upper right, name the campaign, click Continue and pick a template from Privy Templates or Saved Templates.
- The drag-and-drop editor saves changes by itself. When the design is done, click Subject.
- Enter the Subject Line and optional Preview Text. From Business Name, From Email and Reply To Email default to Settings: Business Information, Sender Options and Sending Domain. Click Recipients.
- Choose one or more segments, optionally exclude one, and click Review. Test there sends the email to up to 5 addresses.
- Click Schedule, choose the day and time, turn on Send in recipient's timezone if you want it, and click Confirm.
How to schedule a weekly Privy email campaign
Every Monday, create a campaign from my Saved Template "Weekly picks" with the subject "Five picks for your weekend", send it to Engaged Contacts and schedule it for Tuesday at 9:00 in recipient time zones. - 01
Check the audience
list_segments returns each segment's id and mailable_count. The agent uses the segment you named, and stops if its mailable_count is 0 or the name does not exist.
- 02
Skip a week that is already queued
list_campaigns with status scheduled shows what is waiting. If a campaign with this week's title is there, the agent reports it and creates nothing, so a rerun never double-books the list.
- 03
Create the draft
create_email_campaign sets the template, subject, preview text and segments. The email body is the template as saved, because the tool does not edit the design, so keep a Saved Template you update each week.
- 04
Schedule it
send_email_campaign sets the day and time, with recipient time zones if you asked for them. You confirm each call by default, and the audience is fixed when you do.
- 05
Undo a mistake
If you spot a wrong subject before delivery is prepared, unschedule_campaign moves the campaign back to draft. Once preparation starts, only Cancel send in Privy stops it.
What you get back
Campaign: Weekly picks, 27 Oct
Template: Weekly picks, audience Engaged Contacts (6310 mailable)
Scheduled Tue 27 Oct, 09:00 in recipient time zones
Already scheduled this week: none Other ways to ask
- Create next week's campaign as a draft and show me the subject and audience, but do not schedule it.
- Every Friday, send the Fall lookbook template to Current Customers at 17:00 in my time zone.
- Schedule the same template to Engaged Contacts and exclude the Unengaged Contacts segment.
What Privy allows, and what to know first
- Send in recipient's timezone spreads delivery over about 24 hours, and contacts with no known time zone get the email at the chosen time in your business time zone.
- Privy says a scheduled email may go out a couple of minutes before the scheduled time.
- The audience is set when you approve the send, and Privy rechecks exclusions before each recipient's delivery window.
- Unschedule Campaign works only before preparation starts. After that, time zone sends stop with Cancel send, and emails already sent cannot be recalled, so the campaign can show Partially sent.
- A contact in more than one selected segment receives the email once.
send_email_campaign asks for your OK by default. To run it weekly without you, switch confirmation off for that tool in your dashboard.
Sources: Privy Help: Send an Email Campaign · Privy Help: Use Custom and Smart Segments · Privy Help: API Overview
Call create_email_campaign from a script
curl -X POST https://cotlet.dev/api/v1/privy/email-campaigns \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Weekly picks, 27 Oct","template":"Weekly picks","subject_line":"Five picks for your weekend","preview_text":"New arrivals and one restock","segment_ids":["seg_2b11"]}' {
"campaign_id": "cmp_6c15",
"title": "Weekly picks, 27 Oct",
"status": "draft",
"template": "Weekly picks",
"subject_line": "Five picks for your weekend",
"audience": {
"included_segments": [
"Engaged Contacts"
],
"excluded_segments": []
}
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is privy_write → create_email_campaign. Example data.
Schedule it in n8n, Make, Zapier or cronPrivy tools this automation uses
| Tool | Parameters |
|---|---|
| list_segments | page, per_page |
| list_campaigns | status, channel, page, per_page |
| create_email_campaign | name, template, subject_line, preview_text, segment_ids, exclude_segment_ids |
| send_email_campaign | campaign_id, send_at, recipient_timezone |
| unschedule_campaign | campaign_id |
Frequently asked questions
Is it safe to connect Privy to Cotlet?
Yes. You sign in to Privy yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Privy once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Privy.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Privy.