n8n Integrationn8n Operations Reference

n8n Operations Reference

Complete operations reference for the SocialRails n8n node with examples and troubleshooting.

All available operations for the SocialRails n8n community node.

Post — Create

Create a new social media post (draft or scheduled).

FieldTypeRequiredDescription
ContentstringYesPost text (max 5,000 chars)
PlatformselectYesTarget platform
Schedule FordateTimeNoISO 8601 date (omit for draft)
Mediastring[]NoR2 keys from media upload
Platform SettingsjsonNoPlatform-specific overrides

Output example:

{
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "content": { "all": "Hello from n8n!" },
    "platform": "twitter",
    "status": "scheduled",
    "scheduled_for": "2026-03-15T14:30:00Z"
  }
}

Post — List

List posts with optional filters.

FieldTypeDescription
StatusselectFilter: scheduled, posted, draft, failed
PlatformselectFilter by platform
LimitnumberResults per page (1-100, default 50)
SortselectSort by created_at or scheduled_for
From / TodateTimeDate range filter

Analytics — Get

Retrieve posting analytics for your workspace.

FieldTypeDescription
Periodselect7d, 30d, 90d, or 365d
PlatformselectFilter by platform
Post IDstringAnalytics for a specific post

AI — Generate

Generate AI-powered social media content. Costs 2 AI credits per request.

FieldTypeRequiredDescription
PromptstringYesWhat to generate (max 2,000 chars)
PlatformselectNoOptimize for a specific platform
TonestringNoprofessional, casual, excited, humorous

Account — List

List all connected social media accounts.

Platform Notes

PlatformChar LimitMediaKey Setting
Twitter/X2804 images or 1 videoselectedCommunities
LinkedIn3,0009 images or 1 videoselectedLocation (company)
Facebook42010 images or 1 videoselectedPage (required)
Instagram2,20010 images or 1 videopostType (reel/story)
TikTok2,20035 images or 1 videoprivacy_status, interactions
Bluesky3004 images or 1 video
Pinterest5001 image or 1 videoselectedBoard (required)
Threads50010 images or 1 videoreply_control
YouTube5,0001 video

Troubleshooting

ErrorCauseFix
UNAUTHORIZEDInvalid or missing API keyCheck your credential in n8n. Keys start with sr_live_.
FORBIDDENMissing scopeYour API key needs the right scope (read/write/ai). Create a new key with the needed scopes.
LIMIT_EXCEEDEDMonthly post limit reachedUpgrade your plan or wait for the next billing cycle.
RATE_LIMITED (429)Too many requestsWait and retry. Limits: Creator 60/hr, Business 300/hr, Agency 1000/hr.
BAD_REQUESTInvalid inputCheck the error message for details. Common: missing content, invalid platform, date in the past.