Send or schedule a campaign
scheduleCampaignSend a drafted campaign to its audience now, or at a time (sendAt, ISO 8601 with a time zone, in the future). Takes the campaign's broadcastId: draftCampaign gives it. Only a draft or an already scheduled campaign with a subject and content. Use previewSend first to know who it reaches, and sendTestCampaign to see it in an inbox. Sent now, it cannot be called back; a scheduled one can still be changed in Kooga until it goes.
Only for a workspace with subscribed email contacts.
This changes something outside Kooga, so the person confirms it first. Where the app can show the question, it does. Otherwise the first call changes nothing and answers with a question to put to the person word for word, and a confirmToken: call again with the same arguments and that confirmToken only after they said yes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sendAt | No | When to send it, ISO 8601 with a time zone; left out, it goes now | |
| sendAsIs | No | Only when the person said to send example text from the layout as it is | |
| broadcastId | Yes | The campaign, by its id in Kooga | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| campaignName | No | What the campaign is called, so the person is asked about it by name | |
| confirmToken | No | Only after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm. |