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 "Get User Interests" operation of the Users resource in this Pinterest Enhanced node fetches a list of interests associated with a specified user on Pinterest. This can be useful for understanding a user's preferences and tailoring content, marketing campaigns, or recommendations accordingly.
Typical use cases include:
- Personalizing content feeds based on user interests.
- Analyzing audience segments for targeted advertising.
- Gathering insights about user behavior for market research.
For example, you might input a Pinterest user ID to retrieve their interests and then use that data to recommend relevant pins or boards.
Properties
| Name | Meaning |
|---|---|
| User ID | The Pinterest user ID or username whose interests you want to retrieve. |
| Page Size | Number of interest items to return per page (minimum 1, maximum 250). |
| Cursor | Pagination cursor to fetch the next set of results if available. |
Note: For this operation, only User ID, Page Size, and Cursor are relevant from the provided properties.
Output
The output is a JSON array where each item corresponds to a user interest retrieved from Pinterest. Each JSON object contains details about an individual interest, such as its identifier, name, and possibly other metadata related to that interest.
Pagination information may also be included implicitly via cursors to allow fetching additional pages of interests.
This node does not output binary data for this operation.
Dependencies
- Requires a valid API key credential for the external N8N Tools API service that acts as a proxy or enhancer for Pinterest API v5.
- Requires OAuth2 authentication credentials for Pinterest API access.
- The node internally uses helper classes to interact with various Pinterest API endpoints.
- No additional environment variables are explicitly required beyond standard n8n credential setup.
Troubleshooting
- Invalid subscription or API key error: If you receive an error indicating invalid subscription or API key, verify that your API key credential is correct and active.
- Permission errors: Some data may require elevated access permissions; ensure your Pinterest OAuth2 token has the necessary scopes.
- Pagination issues: If you do not handle the cursor properly, you might miss some interests. Use the cursor property to paginate through all results.
- Empty results: Confirm that the User ID is correct and that the user has public interests available.