N8N Tools - Pinterest Enhanced icon

N8N Tools - Pinterest Enhanced

Comprehensive Pinterest API v5 integration for N8N workflows

Overview

The node provides enhanced integration with the Pinterest API v5, enabling a wide range of Pinterest-related operations within n8n workflows. Specifically for the Pins resource and the Create Pin Comment operation, it allows users to add comments to existing Pinterest pins programmatically.

This is useful in scenarios such as:

  • Automating engagement on Pinterest by posting comments on pins based on triggers or other workflow logic.
  • Managing community interactions by adding predefined or dynamic comments to pins.
  • Integrating Pinterest engagement features into broader marketing or social media automation workflows.

Example: Automatically post a comment on a newly created pin or on pins matching certain criteria to increase interaction or provide additional information.

Properties

Name Meaning
Include Private Metrics Boolean flag to include private metrics in responses (requires elevated access).
Custom Fields Comma-separated list of custom fields to include in the response data.
Pin ID The unique identifier of the pin to which the comment will be added.
Comment Text The text content of the comment to create on the specified pin (max length 500 characters).

Note: For the Create Pin Comment operation, the key input properties are pinId (the target pin) and commentText (the comment content).

Output

The output JSON contains the response from the Pinterest API after creating the comment on the specified pin. This typically includes details about the newly created comment such as its ID, text, creation timestamp, and possibly user information related to the comment.

No binary data output is involved in this operation.

Dependencies

  • Requires an active subscription and valid API key credential for the external "N8N Tools API" service that acts as a proxy/validation layer for Pinterest API calls.
  • Requires OAuth2 credentials for Pinterest API access.
  • The node internally uses multiple API wrapper classes for different Pinterest resources; for this operation, it uses the Engagement Features API wrapper.
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Invalid subscription or API key error: If the node throws errors indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Permission errors: Creating comments requires appropriate permissions/scopes in the Pinterest OAuth2 token; ensure the token has rights to post comments.
  • Pin not found or invalid Pin ID: Ensure the provided Pin ID exists and is accessible by the authenticated user.
  • Comment text too long: The comment text is limited to 500 characters; exceeding this may cause errors.
  • Network or API rate limits: Temporary failures might occur due to network issues or hitting Pinterest API rate limits; implement retry logic or check API usage quotas.

Links and References

Discussion