Social Media → Create Post
AI-generatedOverview
This node integrates with a social media management service to create posts on various social networks. It supports scheduling posts, adding them to a queue, or saving them as drafts. Users can specify the target social network, account, message content, media attachments, and platform-specific settings.
Common scenarios include:
- Automating social media marketing by scheduling posts across multiple platforms.
- Managing content workflows by queuing or drafting posts for later review.
- Posting multimedia content (images, videos) with customized platform options like privacy settings or call-to-action buttons.
Practical example: A marketer can use this node to schedule a Facebook post with an image and a "Learn More" button, while simultaneously preparing a LinkedIn draft with a different message and audience targeting.
Properties
| Name | Meaning |
|---|---|
| Action | The type of post action to perform: Schedule (publish at a specific time), Add to Queue (add to posting queue), or Add as Draft (save as draft). |
| Network Type | The social media platform to post on. Options include Bluesky, Facebook, Google Profile, Instagram, LinkedIn, Pinterest, Threads, TikTok (Business and Personal), and YouTube. |
| Account Name or ID | The specific account on the chosen network to post from. Loaded dynamically based on the selected network. |
| Message | The text content of the social media post. |
| Schedule Date | The date and time when the post should be published. Required if Action is Schedule or Draft. |
| Media | One or more media items (e.g., images, videos) specified by URL or asset ID to attach to the post. |
Platform-Specific Settings
- Google My Business: Post type (Standard, Event, Offer), title, call-to-action type and URL, coupon code, offer start/end dates, terms and conditions, redeem online URL.
- TikTok Personal: Video or photo post settings including brand content flags, comment/duet/stitch disabling, privacy status, and channel (Direct or Reminder).
- Threads: Channel selection (Direct or Reminder).
- YouTube: Post type (Video or Short), video title, license type, privacy status, and whether the video is made for kids.
- Facebook: Post type (Post, Story, Reel).
- LinkedIn: Audience targeting (Public, Connections, Logged In).
- Instagram: Post type (Post, Story, Reel), reel audio name, and option to share reel to feed.
- Pinterest: Pin link, title, and image alt text.
- TikTok Business: Similar to TikTok Personal with additional title for photo posts.
Output
The node outputs JSON data representing the response from the social media service API after creating the post. This typically includes details about the created post such as IDs, status, timestamps, and any metadata returned by the service.
If media is included, it is referenced by URLs or asset IDs; binary data itself is not output by the node.
Output structure example (conceptual):
{
"id": "post_id",
"status": "scheduled",
"network": "facebook",
"account_id": "account_id",
"message": "Your post message",
"media": ["https://example.com/image.jpg"],
"scheduled_date": "2024-06-01 15:00"
}
Dependencies
- Requires an API key credential for the connected social media management service.
- Needs proper configuration of the API base URL in credentials.
- Dynamic loading of accounts depends on successful API authentication.
- Relies on the external social media service's API endpoints for account listing and post creation.
Troubleshooting
- Could not load accounts: Indicates failure to fetch available social media accounts. Check API credentials and network connectivity.
- Failed to parse date string: Occurs if the provided schedule date/time is invalid or improperly formatted. Ensure the date/time input is correct.
- Execution failed with API error: Could be due to invalid parameters, missing required fields, or API limits. Review the error message and verify all required properties are set correctly.
- Empty or invalid media URLs: Media URLs must be valid and accessible. Invalid URLs may cause post creation to fail.
- Unsupported network or account: Selecting a network or account that is not linked or authorized will result in errors.
Links and References
- n8n Expressions Documentation
- Social media platform developer documentation (for platform-specific post options)
- API documentation of the integrated social media management service (not publicly linked here)