N8N Tools - Facebook Enhanced icon

N8N Tools - Facebook Enhanced

Comprehensive Facebook Graph API integration for N8N workflows

Pages → Create Post

AI-generated

Overview

The "Create Post" operation under the "Pages" resource allows users to publish a new post on a specified Facebook Page. This node action is useful for automating content publishing workflows, such as sharing announcements, promotions, or updates directly to a Facebook Page without manual intervention.

Common scenarios include:

  • Automatically posting marketing messages or links when triggered by other workflow events.
  • Sharing blog posts or news articles with a link and accompanying message.
  • Scheduling or triggering posts based on external data or events.

For example, a business could use this node to automatically post a promotional message with a link to their latest product page whenever a new product is added to their inventory system.

Properties

Name Meaning
Page ID The unique identifier of the Facebook Page where the post will be created.
Message The textual content of the post to be published on the Facebook Page.
Link (Optional) A URL link to share in the post, which will appear as a clickable link.

Output

The output of this operation is a JSON object representing the response from the Facebook API after creating the post. This typically includes details such as the post ID and any metadata returned by Facebook confirming the successful creation of the post.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Facebook Graph API via OAuth2 or API key credentials configured in n8n.
  • Requires a valid subscription and API key for the integrated third-party service that validates usage (referred to generically as "N8N Tools API").
  • Proper permissions/scopes granted to the Facebook access token to allow posting on the specified Page.

Troubleshooting

  • Invalid Credentials or Subscription: If the node throws errors related to invalid subscription or API key, verify that the API key credential is correct and active.
  • Permission Errors: Posting may fail if the Facebook access token lacks the required permissions to post on the Page. Ensure the token has pages_manage_posts or equivalent permission.
  • Missing Required Fields: The "Page ID" and "Message" fields are mandatory. Omitting these will cause errors.
  • API Rate Limits: Frequent posting might hit Facebook API rate limits; consider adding delays or error handling for rate limit responses.
  • Link Formatting: Ensure the "Link" property, if used, is a valid URL to avoid post rejection.

Links and References

Discussion