This X posts calendar template turns an approved list of updates into scheduled publishing jobs. It checks X-specific constraints before anything is booked and keeps a human approval step in the workflow.
What you build
You get a calendar that accepts captions and public media URLs, validates each post for X, and shows the planned publishing time and live job status. A unique clientRequestId keeps a retry from creating a duplicate post.
How it works
- Read the connected X account and its remaining allowance.
- Draft the calendar from your approved content plan.
- Check every caption and media set against X rules before booking it.
- Wait for explicit approval.
- Create one scheduled job per approved post with
requestedPublishAtandclientRequestId. - Poll the jobs and show published, failed, or action-required status.
Before you paste the prompt
- Connect an X account to InvisibleAPI.
- Prepare captions and publicly accessible media URLs.
- Decide who approves the calendar and which posting windows are allowed.
Start from this template
Copy the prompt above into Claude, add your content rules, and connect it to the InvisibleAPI REST API. For an agent workflow, use the same recipe through the InvisibleAPI MCP server.