Package Information
Documentation
n8n-nodes-prospectpro
An n8n community node for integrating with the ProspectPro API. This node allows you to manage and retrieve prospect, contact, pageview, and event data directly within your n8n workflows.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Nodes (Recommended)
- Go to Settings > Community Nodes in your n8n instance
- Select Install
- Enter
n8n-nodes-prospectpro
- Agree to the risks and select Install
Docker (Quick Start)
Run n8n with the ProspectPro node pre-installed:
./run.sh
Then access n8n at http://localhost:5679
To update the node after making changes:
npm run build && docker-compose restart
Manual Installation
To get started:
npm install n8n-nodes-prospectpro
Credentials
You need a ProspectPro API key to use this node:
- Sign up at ProspectPro
- Get your API key from your account dashboard
- In n8n, create new credentials of type "ProspectPro API"
- Enter your API key
Supported Operations
Prospects Resource
Get Prospect
Retrieve a single prospect from ProspectPro.
Get Many Prospects
Search and retrieve multiple prospects with filtering options.
Update Prospect
Update prospect information in ProspectPro.
Pageviews Resource
Get Many Pageviews
Retrieve pageview data for prospects.
Contacts Resource
Get Many Contacts
Retrieve contact information.
Create Contact
Create a new contact in ProspectPro.
Update Contact
Update existing contact information.
Delete Contact
Remove a contact from ProspectPro.
Events Resource
Get Many Events
Retrieve event data.
Create Event
Create a new event in ProspectPro.
Delete Event
Remove an event from ProspectPro.
ProspectPro Trigger Node
The package also includes a trigger node that can poll for new or updated prospects. This node supports:
- Filtering by qualification status
- Filtering by tags
- Filtering by audiences
- Filtering by owner
The trigger will automatically track the last time it ran to only retrieve new or updated prospects.
Usage Examples
Basic Prospect Search
Retrieve prospects from ProspectPro:
{
"resource": "prospects",
"operation": "get_many",
"additionalFields": {
"rows": 10
}
}
Create Contact for a Prospect
Create a new contact associated with a prospect:
{
"resource": "contacts",
"operation": "create",
"prospectId": "123456",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]"
}
Retrieve Recent Pageviews
Get recent pageviews data:
{
"resource": "pageviews",
"operation": "get_many",
"additionalFields": {
"rows": 20,
"sort_by": "timestamp",
"sort_order": "desc"
}
}
Create a Custom Event
Log a custom event in ProspectPro:
{
"resource": "events",
"operation": "create",
"prospectId": "123456",
"eventType": "meeting_scheduled",
"eventData": {
"time": "2023-05-15T14:30:00Z",
"notes": "Initial consultation"
}
}
Trigger Node Example
Create an automated workflow that triggers when new qualified prospects are found:
{
"label": 1,
"tags": ["high-value", "inbound"],
"owner": "12345678"
}
API Documentation
For detailed API documentation, visit docs.prospectpro.nl.
Compatibility
- n8n version: 0.187.0 or later
- Node.js version: 20.15 or later
Resources
Development
Prerequisites
- Node.js 20.15 or later
- npm or pnpm
Setup
# Clone the repository
git clone [your-repository-url]
# Install dependencies
npm install
# Build the node
npm run build
# Lint the code
npm run lint
Testing
To test the node locally:
- Build the node:
npm run build
- Link it to your global n8n installation:
npm link
- In your n8n directory:
npm link n8n-nodes-prospectpro
- Start n8n:
n8n start
OR
./run.sh
License
Support
If you encounter any issues or have questions:
- Check the ProspectPro API documentation
- Review the n8n community nodes documentation
- Open an issue in this repository
ProspectPro is a part of Bedrijfsdata.nl