Create an automation
create_automationSchedule a run of social posts across a date range without publishing. This reserves daily slots for later release via publish_automation.
Instructions
Plan a run of posts across a date range. This creates the plan and reserves allowance; it does not publish anything until publish_automation is called on it. The daily slot ceiling comes from the plan — read automationSlotsPerDay from whoami before choosing postTimes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Label for the automation. | |
| endDate | Yes | Last day, as YYYY-MM-DD. | |
| reelsPct | No | Percentage of the lineup that should be reels rather than slideshows. | |
| timezone | No | IANA time zone the postTimes are in, e.g. 'Asia/Kolkata'. | |
| postTimes | Yes | Times of day to post, as HH:MM in the timezone below. Count must not exceed automationSlotsPerDay from whoami. | |
| startDate | Yes | First day, as YYYY-MM-DD. | |
| accountIds | Yes | Connected account ids to publish to, from list_connected_accounts. | |
| targetPosts | No | Total posts to plan. | |
| workspaceId | No | Workspace to act in. Defaults to the active one. |