Scheduled Workflows (/admin/ai/workflows) turn Buzzy into an automated publishing engine. You can define recurring content directives—such as daily news roundups, weekly quizzes, or morning listicles—and Buzzy will generate, format, illustrate, and categorize the posts on your schedule.
A workflow combines an editorial brief with an execution schedule:
[ Laravel Task Scheduler ]
│ (Triggers on schedule: hourly / daily / weekly / monthly)
▼
[ AIWorkflowDispatcher ] ──> Leased DB Lock (prevents duplicate execution)
│
▼
[ Queue Worker / Horizon ] ──> Dispatches `RunAIWorkflow` job
│
├─► Invokes target LLM with topic directive & format settings
├─► Generates and attaches AI featured cover image (optional)
├─► Assigns author, category, tags, and language
└─► Saves post as Draft (or Publishes immediately)Navigate to Admin > AI Content Agent > Workflows and click Add Workflow:
- Workflow name: A descriptive identifier for internal tracking (e.g. Daily Tech Headlines, Friday Viral Quiz, Weekly Movie Roundup).
- Content format:
- News Article: Set your target word count (200–3,000 words).
- Listicle: Define the exact number of list items.
- Quiz: Choose Trivia or Personality, and set the question count.
- Poll: Specify the number of poll options.
- Topic directive: The prompt instructions evaluated on every run. You can provide evergreen directives or dynamic prompt guidelines:
Compile the top emerging developments in artificial intelligence, robotics, and generative media over the past 24 hours. Focus on practical consumer and business impact. - Run interval: Choose how often the workflow fires:
Hourly: For high-volume breaking news feeds.Daily: For morning or evening digests.Weekly: For weekend specials or curated rankings.Monthly: For comprehensive monthly recaps.
- Tone & model: Select your writing style and target model. Leave model as
Defaultto use the global AI settings. - Generate featured image: Toggle on to automatically render and attach a custom cover image matching the generated headline.
- Post category & author: Select the category where posts should be filed and assign a specific site user or editorial persona as the author.
- Initial post status:
Draft: Post is saved in your draft queue for editorial review and fact-checking.Publish immediately: Post goes live automatically upon successful generation (subject to global review rules).
- Active: Toggle on to enable scheduled execution.
Workflows depend on Laravel's standard scheduler and background queue workers:
Ensure your hosting server executes the Laravel scheduler every minute. Add this cron entry to your server:
* * * * * cd /path-to-your-buzzy && php artisan schedule:run >> /dev/null 2>&1Buzzy registers four distinct scheduler tasks with overlapping protection:
ai-workflow-hourlyai-workflow-dailyai-workflow-weeklyai-workflow-monthly
Workflows are dispatched to your queue so long-running LLM generation does not block web requests. Ensure your queue worker or Laravel Horizon is running:
php artisan queue:work --queue=default,high --tries=3For production supervisor configurations, refer to the Cache & Queue documentation.
Automated publishing requires safeguards to protect editorial reputation and ensure quality:
Navigate to Admin > Settings > Plugins > AI Content Agent > Automation workflows:
- Require review before publish: When enabled, Buzzy forces all workflow posts to save as drafts, overriding any individual workflow set to "Publish immediately".
- Your editorial team can inspect, fact-check, and polish the drafted stories in Admin > Posts > Drafts before hitting Publish.
To prevent race conditions on multi-server clusters or long-running requests, Buzzy acquires an exclusive atomic database lock (AIWorkflowDispatcher) with an automated lease expiration before starting generation. If a queue job stalls, the lease expires safely without deadlocking future runs.
Every workflow run creates a permanent audit record. Click View generation history on any workflow card, or visit:
/admin/ai?filter[workflow_id]={id}This filtered view displays total tokens consumed, execution time, output status, and direct links to the generated posts.