Actions11
Overview
The "Pageview - Get Many" operation in this node retrieves multiple pageview records associated with a specific prospect from the ProspectPro API. This is useful for analyzing user behavior by fetching all pageviews tied to a prospect's ID, enabling insights into which pages a prospect has visited.
Common scenarios include:
- Marketing teams tracking prospect engagement on various web pages.
- Sales teams reviewing detailed browsing history of prospects before outreach.
- Data analysts aggregating pageview data for reporting or segmentation.
Example: Fetching all pageviews for a prospect with ID "12345" to understand their interaction with your website.
Properties
| Name | Meaning |
|---|---|
| Prospect ID | The unique identifier of the prospect whose pageviews you want to retrieve. (Required) |
| Detailed Output | Whether to return detailed output including total number of pageviews found. If enabled, returns a single item instead of an array. Options: true or false (default: false) |
Output
The node outputs JSON data representing the pageviews retrieved from the ProspectPro API for the specified prospect ID.
- When Detailed Output is
false(default), the output is an array of pageview items, each representing a single pageview record. - When Detailed Output is
true, the output contains a single object with additional details such as the total count of pageviews, rather than an array.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the ProspectPro API via an API key credential configured in n8n.
- The base URL used for requests is
https://api.prospectpro.nl/v1.2. - The node sends GET requests to the
/pageviewsendpoint with query parameters including the prospect ID and optionally a flag controlling detailed output.
Troubleshooting
- Missing or invalid Prospect ID: The operation requires a valid prospect ID. Ensure the ID is provided and correctly formatted.
- API authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Empty results: If no pageviews are returned, confirm that the prospect ID exists and has associated pageviews in ProspectPro.
- Unexpected output format when Detailed Output is enabled: Enabling detailed output changes the response structure to a single object instead of an array; adjust downstream processing accordingly.
Links and References
- ProspectPro API Documentation (general reference for endpoints and parameters)
- n8n documentation on Creating Custom Nodes