SocialAPI icon

SocialAPI

Manage social accounts, posts, and the inbox via SocialAPI

Post → Create

AI-generated

Summary

Create a SocialAPI post by sending its text and target accounts, with optional publishing, scheduling, visibility, and media settings. The operation returns the API response as n8n JSON item(s).

Inputs

  • Text — Post body text sent as text.
  • Targets — One or more connected account targets. Each sends an Account ID as account_id and optionally a Page ID as page_id.
  • Additional Fields — Optional post settings: First Comment, comma-separated Media IDs (for example, from Media > Upload), Publish Now, Schedule At, Skip Duplicate Check, Title, and Visibility (Connections Only, Private, or Public). Empty values are omitted; boolean options are sent only when true.

Output shape

One or more n8n JSON items containing the SocialAPI create-post response.

The node sends a POST request to /posts; it wraps the API response with n8n's JSON-array helper. The response's exact fields depend on the API.

Examples

Example 1: Create a post with media for a specific page

Enter the post text, add a target with Account ID and optional Page ID, and provide comma-separated Media IDs from a prior upload. Set Schedule At or Publish Now as needed.

Links

Discussion