Actions2
Publish Post
AI-generatedSummary
Publish a post immediately to a selected Threads account with optional text content and media attachment.
Inputs
- Account (required) — Select which Threads account to use for posting.
- Content (required) — Enter the post text content, up to 500 characters, allowing up to 5 links per post due to Meta's limits.
- Attach Media? — Toggle whether to attach an image or video to the post; leave unchecked for text-only posts.
- Media Binary Property — Specify the binary property name containing the media file when attaching an image or video.
Output shape
a list of response objects each containing the published post data or error details for each input item
The operation returns post data from the nashir.ai API after publishing the post. It enforces client-side validation for text length (max 500 characters) and link count (max 5) prior to sending. If media is attached, the file is uploaded first, and its URL included in the post. On failure, an error message is provided per item unless 'continue on fail' is enabled.
Examples
Example 1: Publish a text-only post to a specified Threads account.
Account set to a valid Threads account; Content filled with up to 500 characters text; Attach Media? unchecked.
Example 2: Publish a post with an attached image.
Account set to a valid Threads account; Content with text and up to 5 links; Attach Media? checked; Media Binary Property set to the binary field that contains the image file.