SocialRails icon

SocialRails

Schedule social media posts, view analytics, and generate AI content with SocialRails

Actions13

Post → Create

AI-generated

Summary

Create a new social media post on a specified platform, optionally scheduling it for a future time or saving it as a draft.

Inputs

  • Content (required) — The text content of the post (max 5,000 characters).
  • Platform (required) — The social media platform to post on (e.g., Twitter/X, LinkedIn, Facebook, Instagram, TikTok, Bluesky, Pinterest, Threads, YouTube).
  • Schedule For — An ISO 8601 date-time string to schedule the post for posting; leave empty to save the post as a draft.
  • Additional Fields — Optional additional settings including comma-separated media keys (uploaded media references) and platform-specific settings as JSON.

Output shape

a single record representing the created post as a JSON object

The output returns the created post's data, unwrapped from any envelope. Errors are thrown unless 'Continue On Fail' is enabled, in which case error details are returned per item.

Examples

Example 1: Create a scheduled Twitter post with media attachments

Set Content to the post text, Platform to 'Twitter / X', Schedule For to the desired posting time, and add media keys in Additional Fields.

Links

Discussion