Patreon icon

Patreon

Consume Patreon API

Overview

This node allows you to retrieve all posts from a specific Patreon campaign using the Patreon API. It is useful for automating workflows that need to collect, analyze, or process content published on Patreon campaigns. Common scenarios include archiving posts, generating reports, or integrating Patreon post data with other platforms.

Practical examples:

  • Automatically fetching and storing all posts from a campaign in a database.
  • Sending notifications or summaries of new posts to a Discord channel or email list.
  • Analyzing post engagement or content trends over time.

Properties

Name Type Meaning
Campaign ID String Patreon campaign ID. This identifies the campaign whose posts will be retrieved. Required field.

Output

The output is an array of JSON objects, each representing a post from the specified Patreon campaign. Each object contains the following fields:

  • title: The title of the post.
  • content: The main content/body of the post.
  • is_paid: Boolean indicating if the post is paid-only.
  • is_public: Boolean indicating if the post is public.
  • published_at: Timestamp when the post was published.
  • url: Direct URL to the post.
  • embed_data: Any embed data associated with the post.
  • embed_url: URL for embedded content.
  • app_id: Application ID (if applicable).
  • app_status: Status of the application (if applicable).

Example output:

[
  {
    "title": "Welcome to our campaign!",
    "content": "Thank you for supporting us...",
    "is_paid": false,
    "is_public": true,
    "published_at": "2023-12-01T10:00:00Z",
    "url": "https://www.patreon.com/posts/123456",
    "embed_data": null,
    "embed_url": null,
    "app_id": null,
    "app_status": null
  }
]

Dependencies

  • Patreon OAuth2 API credentials: You must configure the node with valid Patreon OAuth2 credentials in n8n.
  • External Service: Requires access to the Patreon API.

Troubleshooting

  • Invalid Campaign ID: If the provided Campaign ID is incorrect or does not exist, the node may throw an error such as "Not Found" or "Invalid campaign". Double-check the Campaign ID.
  • Authentication Errors: If OAuth2 credentials are missing or invalid, you may see errors like "401 Unauthorized". Ensure your credentials are set up correctly in n8n.
  • API Rate Limits: Patreon may enforce rate limits. If too many requests are made in a short period, you might receive a "429 Too Many Requests" error. Wait before retrying.
  • Network Issues: Errors related to network connectivity can occur if n8n cannot reach the Patreon API.

Links and References

Discussion