create_automation
Set up recurring automations to generate and publish TikTok slideshows on a cron schedule.
Instructions
Create a recurring automation that generates and publishes slideshows to TikTok on a cron schedule.
Args: tiktok_account_id: Target TikTok account ID (from list_tiktok_accounts). schedule: Array of cron objects, e.g. [{"cron": "0 14 * * *"}]. Pacific time. title: Descriptive name for this automation. product_id: Link to a product in the products table. slideshow_hooks: Hook/topic templates the AI rotates through. style: Natural-language prompt controlling text items, fonts, sizes, positions, tone. language: Language for generated content (default "English"). tiktok_post_settings: TikTok posting config (caption, visibility, auto_post, etc.). image_settings: Image and display config (aspect_ratio, overlays, collections, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| title | No | ||
| language | No | ||
| schedule | Yes | ||
| product_id | No | ||
| image_settings | No | ||
| slideshow_hooks | No | ||
| tiktok_account_id | Yes | ||
| tiktok_post_settings | No |