Actions87
- Users Actions
- Shopping & Catalogs Actions
- Advertising & Campaigns Actions
- Advanced Analytics Actions
- Engagement Features Actions
- Business Tools Actions
- Search & Discovery Actions
- Pins Actions
- Boards Actions
Overview
The "Block User" operation in the Users resource of this Pinterest Enhanced node allows you to block a specified user on Pinterest. Blocking a user restricts their ability to interact with your account, such as viewing your content or following you. This operation is useful for managing unwanted interactions or maintaining privacy and safety on the platform.
Practical scenarios include:
- Automatically blocking users who violate community guidelines.
- Managing followers by blocking spam accounts.
- Integrating with moderation workflows to handle abusive users.
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 for enhanced details. |
| User ID | The identifier or username of the user to block. |
Note: For the "Block User" operation specifically, the key input property is the User ID (not listed in the provided JSON but used internally).
Output
The output of the "Block User" operation is a JSON object representing the result of the block action. Typically, it will confirm that the user has been blocked successfully or provide relevant status information.
The json output field contains the API response data from the Pinterest service regarding the block operation.
This node does not output binary data for this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external N8N Tools API service.
- Requires OAuth2 authentication credentials for Pinterest API access.
- The node uses multiple internal API wrapper classes to interact with Pinterest endpoints.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correct and active.
- Permission Errors: Blocking a user may require specific permissions or elevated access; ensure the authenticated Pinterest account has the necessary rights.
- User Not Found: Providing an incorrect or non-existent User ID will cause errors; double-check the User ID input.
- API Rate Limits: Frequent calls to block users might hit rate limits imposed by Pinterest or the intermediary API service.
- Network Issues: Connectivity problems can cause request failures; check network stability and proxy settings if applicable.
Links and References
- Pinterest API Documentation
- Pinterest Community Guidelines
- n8n Documentation - Creating Custom Nodes
If you need details on other operations or resources, feel free to ask!