ChannelSigma / DocsBack to channelsigma.com

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

Setup

  1. Open Workflows → New.
  2. In the Templates sidebar, click Daily outlier to draft.
  3. The YAML lands in the editor. Adjust the timezone, the channelId input, and the trigger schedule if you want a different time.
  4. Click Save and continue, then Run now to test the first execution.

What happens at 09:00 every day

  1. workflow.cron ticks (BullMQ repeatable).
  2. A new workflow_runs row is created with the parsed steps snapshotted.
  3. The agent worker picks up the run.
  4. pick_idea queries the highest-scoring backlog idea and outputs { ideaId, title, confidenceScore }.
  5. write_script runs generateScript through your Claude Code key. The output is a scriptVersionId you can reference downstream.
  6. editorial_review (gate) pauses the run. You get a banner in /workflows/runs/[id] with Approve and Decline buttons.
  7. Once you Approve, the run resumes from the next step (voice, render, etc., depending on how you extended the template).