Cadenzova
Guide

How to let an AI agent post to social media on a schedule

Your AI can plan and schedule next week's posts every Monday without you opening a chat. Here are the four ways to run it on a timetable, working examples for cron, GitHub Actions and n8n, and how to keep a person approving every post.

By Glenn Thomas, founder of Cadenzova · Published November 29, 2026

Short answer

Give the agent a connection to your scheduler, then start it on a timetable: a scheduled task in your AI app, a cron job or CI workflow running a terminal agent headless, or an n8n workflow. The agent reads last week's results, writes the week and schedules it. With Cadenzova each run uses an API key or connection whose level you choose; on the default level, Draft and approve, every post waits for you, so a bad run costs you one click on Reject, not a bad post.

Four ways to run it on a timetable

WayBest forWhat you need
Scheduled task in your AI appNo code. "Every Monday, plan my week in Cadenzova."An AI app plan with scheduled tasks and the Cadenzova connector (for example Claude Cowork).
Headless terminal agent on cronDevelopers with a server or always-on machine.Claude Code (claude -p), Codex (codex exec) or Gemini CLI, a Cadenzova API key.
CI workflow (GitHub Actions)Posting when you ship: releases, changelogs, weekly digests.The same CLI in a workflow, keys in repository secrets.
n8n, Make or ZapierTeams already running automations.A schedule trigger, an AI step, and Cadenzova over MCP or the REST API.

Example 1: cron + Claude Code

Make an API key under More → AI agents (level Draft and approve, one brand), add the server once, then put a one-line prompt in cron:

claude mcp add --scope user --transport http cadenzova https://mcp.cadenzova.com/mcp \
  --header "Authorization: Bearer $CADENZOVA_API_KEY"

# crontab: every Monday at 07:00
0 7 * * 1  claude -p "Use Cadenzova. Read last week's post results and my notes, then plan and schedule 7 posts for this week across my connected channels. Save a note with what you changed and why." --allowedTools "mcp__cadenzova"

--allowedTools lets the headless run call Cadenzova's tools without stopping for permission prompts. Codex works the same with codex exec "…"; see the Claude Code and Codex setup guides.

Example 2: a GitHub Actions workflow

Store ANTHROPIC_API_KEY and CADENZOVA_API_KEY as repository secrets:

name: Weekly social posts
on:
  schedule: [{ cron: '0 7 * * 1' }]
  release: { types: [published] }
jobs:
  posts:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm install -g @anthropic-ai/claude-code
      - run: |
          claude mcp add --transport http cadenzova https://mcp.cadenzova.com/mcp \
            --header "Authorization: Bearer $CADENZOVA_API_KEY"
          claude -p "Use Cadenzova. If this run is a release, schedule one post about it on X, LinkedIn and Bluesky for 10am tomorrow. Otherwise plan and schedule this week's posts." \
            --allowedTools "mcp__cadenzova"
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
          CADENZOVA_API_KEY: ${{ secrets.CADENZOVA_API_KEY }}

Example 3: n8n

  1. Schedule Trigger: every Monday at 07:00.
  2. AI Agent node with your model, and an MCP Client Tool pointed at https://mcp.cadenzova.com/mcp with header Authorization: Bearer cdz_sk_….
  3. Prompt: "Plan and schedule this week's posts in Cadenzova from last week's results."
  4. Optional: a Webhook node subscribed to Cadenzova's post.held event that pings Slack, so someone approves the week.

Keep a human in the loop

  • Leave the level on Draft and approve. Posts land in the "From your AI" tray on your calendar; one click approves the week or rejects a post. Move to Autopilot only once you trust the runs.
  • Scope the key to the one brand it works on, and set a daily credit limit so a runaway loop can't spend your image credits.
  • Get told. Webhooks fire on post.held, post.published and post.failed; failed posts also reach you in Cadenzova's publish alerts.
  • Keep memory between runs. Ask the agent to read and save notes (get_notes / save_note) so each week builds on the last.
  • Check before scheduling. Ask it to run validate_post first: it checks every platform's limits and flags captions that read as AI-written or repeat a recent post.

Or skip the agent: Cadenzova's own weekly plan

If you don't need your own AI in the loop, Cadenzova's autopilot already proposes a plan every week from your products and results. On the Autopilot plan you can turn on auto-approve so the week is scheduled the moment it's proposed. For instant posts when something happens (a new article, a price drop), use an auto-post rule on the brand's data feed.

Frequently asked questions

Can an AI agent post to social media without me?

Yes, if you allow it: give the connection the Autopilot level on a paid plan and it publishes on schedule. On the default level, Draft and approve, it can write and schedule but every post waits for your approval.

Which AI agents can run on a schedule?

Any agent you can start from a timer: Claude Code, Codex and Gemini CLI headless from cron or CI, n8n AI Agent workflows, and AI apps with built-in scheduled tasks that can use connectors.

Do I need an API key for scheduled runs?

Yes for headless and server runs, because nobody is there to sign in in a browser. Make one under More → AI agents, limit it to one brand and keep it in your secrets store.

What does a scheduled run cost on Cadenzova?

Reading, planning and scheduling are free on every plan. Images and videos Cadenzova makes use AI credits; your AI model's own usage is billed by its provider.