Patreon icon

Patreon

Consume Patreon API

Overview

This node allows you to retrieve detailed information about a specific Patreon campaign by its ID using the Patreon API. It is useful in scenarios where you need to fetch and process campaign metadata, such as displaying campaign details in dashboards, automating reporting, or integrating Patreon data with other services.

Practical examples:

  • Automatically pulling campaign information into a CRM or analytics tool.
  • Displaying up-to-date campaign stats on a website.
  • Triggering workflows based on changes to a campaign's properties.

Properties

Name Type Meaning
Campaign ID String The unique identifier of the Patreon campaign to retrieve information for.

Output

The output is a JSON object containing detailed information about the specified campaign. The structure includes (but may not be limited to) the following fields:

{
  "id": "string",
  "type": "campaign",
  "attributes": {
    "created_at": "string",
    "creation_name": "string",
    "discord_server_id": "string",
    "image_small_url": "string",
    "image_url": "string",
    "is_charged_immediately": true,
    "is_monthly": true,
    "main_video_embed": "string",
    "main_video_url": "string",
    "one_liner": "string",
    "patron_count": 0,
    "pay_per_name": "string",
    "pledge_url": "string",
    "published_at": "string",
    "summary": "string",
    "thanks_embed": "string",
    "thanks_msg": "string",
    "thanks_video_url": "string"
  }
}
  • Each item in the output array represents a single campaign with its attributes as provided by the Patreon API.

Dependencies

  • External Service: Requires access to the Patreon API.
  • Authentication: Needs a valid OAuth2 credential (patreonOAuth2Api) configured in n8n.
  • Environment: No special environment variables are required beyond standard n8n OAuth2 setup.

Troubleshooting

Common issues:

  • Invalid Campaign ID: If the provided Campaign ID does not exist or is incorrect, the node will throw an error from the Patreon API.
  • Authentication Errors: If the OAuth2 credentials are missing or expired, you may receive authentication errors.
  • API Rate Limits: Excessive requests may result in rate limiting by Patreon.

Error messages and resolutions:

  • 404 Not Found: Check that the Campaign ID is correct and that your credentials have access to it.
  • 401 Unauthorized or 403 Forbidden: Ensure your OAuth2 credentials are set up correctly and have the necessary permissions.
  • Network Error or timeouts: Verify network connectivity and Patreon API status.

Links and References

Discussion