Create Post
AI-generatedOverview
This node operation allows users to create posts on the Postiz platform. It supports creating posts as drafts, scheduled posts, or immediate posts. Users can specify post details such as type, whether to use short links, the date and time for the post, tags, and an array of posts with channel IDs, groups, provider-specific settings, and content items including text and images. This operation is useful for automating social media or content publishing workflows where posts need to be managed programmatically.
Use Case Examples
- Scheduling a social media post with specific tags and content for multiple channels.
- Creating a draft post with detailed settings and content items for later review.
- Publishing a post immediately with short links enabled and tagged for categorization.
Properties
| Name | Meaning |
|---|---|
| Type | Type of post to create (Draft, Schedule, or Now) |
| Short Link | Whether to use short links in the post (boolean) |
| Date | Date and time for the post (used for scheduling) |
| Tags | Tags for the post, each with a value and label |
| Posts | Array of posts, each containing channel ID, group, provider-specific settings, and content items with text and images |
Output
JSON
type- Type of the created postshortLink- Indicates if short links are useddate- Scheduled date and time of the posttags- Array of tags with value and labelpostsintegration
*id- ID of the channel where the post is publishedgroup- Group of the postsettings- Provider-specific settings as key-value pairsvalue
*content- Content text of the post
*id- Optional content ID
*image
*id- ID of images associated with the content
*path- Path or URL of images associated with the content
Dependencies
- Postiz API authentication credential
Troubleshooting
- Ensure all required fields are provided, especially channel IDs and content items for non-draft posts.
- Verify the date and time format for scheduling posts is correct and in the expected timezone.
- Check API credentials and permissions if the request fails due to authentication errors.
- If the post creation fails, inspect error messages for missing or invalid settings in provider-specific configurations.
- For binary data issues, ensure the input data is correctly formatted and contains the expected properties.
