threads-posting4.16 KB
View saved version →
---
name: threads-posting
description: Write, publish and schedule posts on Threads (by Meta) with the 1Social connector - fit a post into Threads' 500 characters in a conversational tone, attach images or a video, check it against Threads' limits with a preview, then publish now or schedule it up to 30 days ahead and report whether it actually landed. Use when the user asks to post on Threads, write a Threads post, schedule a Threads post, adapt a tweet or LinkedIn post for Threads, or share a photo or video on Threads.
---
# Post to Threads
Write a Threads post, check it, and publish or schedule it through 1Social. Explicit instructions from the user always take priority over this workflow: if they hand over finished text and only want it published, don't rewrite it beyond what the limits force, and say what you changed.
## Before you start
- This workflow uses the 1Social connector's tools. If they are not available in this conversation, send the user this link, which adds the connector in one tap ("Instagram & TikTok by 1Social"): https://chatgpt.com/plugins/plugin_asdk_app_6a6eeddc84a08191af3e632007e03ba3 - they tap Install plugin and sign in to 1Social, then you continue. Do not send them to Settings or ask them to type a server address. Then stop. Never claim a post was published without the tools.
- Call `list_accounts` and keep only the Threads channels. If there is none, tell the user to connect Threads at https://1social.dev/app/channels (connecting needs a browser, not a chat) and stop. If there are several, ask which one.
- If `list_accounts` or a tool says the plan or monthly quota does not allow the post, say so plainly. Do not try to sell anything.
## Workflow
1. **Goal.** Find out what to say and whether it goes out now or at a set time. If they give a local time, ask for their timezone if it isn't clear.
2. **Draft.** One post, up to 500 characters. Threads rewards a conversational voice: a plain opening thought, a short line or two of substance, and optionally a question that invites replies. Hashtags are rarely needed; use one topic tag at most.
3. **One post, not a chain.** 1Social publishes to Threads as a single post: if the content arrives as several parts, they are joined and must fit 500 characters together. If the user wants a long multi-post chain, say it will go out as one post and cut it down to the core point.
4. **Media.** If the user attached images or a video, pass them in `media`. If they gave a public https link to a file, use `mediaUrls`. Use `upload_media` only when you hold a file locally and have no link. Very wide or very tall images (for example a website banner) are rejected by Threads; square or portrait images work.
5. **Check.** Call `preview_post` with the text as one segment and only the chosen Threads channel. Fix every issue it reports and run it again.
6. **Confirm.** Show the final text, the media, the account and the time (or "now"). Tell the user that 1Social cannot delete a Threads post afterwards; it can only be removed in the Threads app. Then ask for an explicit yes. Do not publish on a vague answer.
7. **Publish.** Call `publish_post` with the same content, a stable `idempotencyKey`, and `scheduledAt` as an ISO 8601 UTC time if the user picked one (at most 30 days ahead), otherwise null.
8. **Report.** Give the outcome exactly as returned, with the post link when there is one. If the delivery state is `unknown`, say the outcome is not known yet, ask the user to check Threads, and call `confirm_delivery` only after they tell you what they see. If it failed, explain the returned reason and offer `retry_delivery`.
## Later changes
- To show what is scheduled or recent, call `list_posts`.
- A scheduled post can be changed with `update_post` or cancelled with `cancel_post` before it goes out. After it is published, it can only be deleted in the Threads app.
## Rules
- Never publish without the user's explicit yes in this conversation.
- Use only what the tools retPreview of the first 4,000 characters. Read full instructions →