Wix Blog

Publishes draft posts to Wix Blog using Wix REST API

Wix Blog

AI-generated

Overview

This node publishes draft posts to a Wix Blog using the Wix REST API. It is useful for automating the creation of blog articles on a Wix site, allowing users to programmatically set the article title, content, and the member ID of the author. Practical examples include scheduling blog posts, integrating content from other platforms, or bulk publishing articles.

Use Case Examples

  1. Automatically publish new blog posts from a content management system to a Wix Blog.
  2. Create draft posts in Wix Blog based on user-generated content collected from a form.
  3. Bulk upload multiple articles to a Wix Blog with dynamic titles and content.

Properties

Name Meaning
API Key Your Wix API Key used for authenticating API requests.
Site ID Your Wix Site ID to specify which site the blog post belongs to.
Article Title Title of the article to publish.
Article Content Content of the article, which can be set dynamically from previous nodes.
Member ID ID of the member creating the article.

Output

JSON

  • title - Title of the created draft post.
  • content
    • blocks - Content blocks of the created draft post, typically paragraphs.
  • memberId - ID of the member who created the draft post.
  • id - Unique identifier of the created draft post.
  • createdAt - Timestamp when the draft post was created.

Dependencies

  • Wix REST API
  • Wix API Key credential

Troubleshooting

  • Ensure the API Key and Site ID are correct and have the necessary permissions to create draft posts.
  • If the node throws 'Failed to create draft post' error, check the error message for details such as invalid credentials or missing required fields.
  • Verify that the Member ID corresponds to a valid member on the Wix site.

Discussion