# Schedule Threads posts with OpenAI API

> If you're building your own agent on the OpenAI API, you can give it Tesselith's tools and skip writing a Threads integration yourself. The Responses API's hosted MCP tool connects to Tesselith's server, so your app can draft and queue posts as one step in a bigger workflow. Publishing and deleting still need a confirmation step in your own code.

Canonical: https://tesselith.com/ai-agents/openai-api/threads

## Turning closed bug reports into drafts

A SaaS team builds an internal tool that watches its support queue. When a bug report is closed as fixed, the tool asks the agent to write a Threads post about the fix and saves it with create_draft. The post lands in a review queue that a person on the team works through each morning. Nothing reaches the public feed until a reviewer approves it.

## A weekly digest bot for a trade association

A trade association emails its members a weekly digest of industry news. A small bot pulls the week's top articles, asks the agent for one Threads post per article, and adds them to the channel with add_to_queue. Staff check the queue on Monday, which gives them a full week of posts to swap out or keep.

## Filling empty days across a client account

An agency runs an internal job each morning. It calls list_channels to get the stable channel ids, finds the Threads channels with nothing queued in the next three days, and asks the agent to draft a post for each gap. The account owners review the drafts in Tesselith before they go into a slot.

## Prompts to try

- "Draft a Threads post for this changelog entry, under 500 characters, and add it to the Threads queue."
- "Which Threads channels have nothing scheduled in the next three days? Draft one post for each one."
- "Find the Threads draft about the spring sale and put it in the next free slot."
- "Attach this public image URL to the Threads draft, then show me the post text."
- "Summarise this week's published Threads posts in one line each."

## Tips

- Keep the system prompt short and specific: the platform, the 500-character limit, and the rule that a draft is approved before anything is queued. Long instructions get ignored when the task grows.
- Store the channel id, not the channel name, once you have it. A name typed by a user can match more than one channel, while the id from list_channels always points at one.
- Use a public image URL for upload_media_from_url. The tool fetches the file from the URL, so a link behind a login or a short-lived signed link won't work.
- Log every tool call your agent makes. When a Threads post lands at the wrong time, the log shows whether the agent or the timezone caused it, and that saves a lot of guessing.

## Questions people ask

### Which Tesselith tools can my agent call?

The MCP server exposes 13 tools: listing channels, reading posts and the queue, analytics counts, drafting, updating, queueing, scheduling, media upload, publish now and delete.

### Do I need a separate Threads API key?

No. Connect Threads to a Tesselith workspace once, and your agent works with that channel through Tesselith's tools. Your app only needs the MCP connection details.

### Can my agent publish without a person in the loop?

Only if your code sends the call. publish_now takes a confirm: true flag on purpose, so treat that flag as your human check and put the approval step in your app before it.

---
Tesselith · https://tesselith.com · Full site index: https://tesselith.com/llms.txt
