Run a daily-outlier workflow
The "Daily outlier to draft" template wakes up every morning, picks the highest-scoring idea from your backlog, drafts a script via BYOK Claude Code, and pauses for editorial approval before voicing.
Pre-reqs
- A connected research source (vidIQ or AI-suggested ideas) so the
backlog has ideas in
status='new'. - A workspace BYOK key, if you want the script step to use your quota.
Setup
- Open Workflows → New.
- In the Templates sidebar, click Daily outlier to draft.
- The YAML lands in the editor. Adjust the timezone, the
channelIdinput, and the trigger schedule if you want a different time. - Click Save and continue, then Run now to test the first execution.
What happens at 09:00 every day
workflow.cronticks (BullMQ repeatable).- A new
workflow_runsrow is created with the parsed steps snapshotted. - The
agentworker picks up the run. pick_ideaqueries the highest-scoring backlog idea and outputs{ ideaId, title, confidenceScore }.write_scriptrunsgenerateScriptthrough your Claude Code key. The output is ascriptVersionIdyou can reference downstream.editorial_review(gate) pauses the run. You get a banner in /workflows/runs/[id] with Approve and Decline buttons.- Once you Approve, the run resumes from the next step (voice, render, etc., depending on how you extended the template).