Package Information
Documentation
Perspective is a mobile-first, no-code funnel builder for lead generation and sales. This package brings the full Perspective External API (CRM, metrics, workspaces) and the outgoing webhooks (new lead, funnel completed) directly into your n8n workflows.
β¨ Features
- π― Action node β paginated CRM, metrics & workspaces via the official REST API
- β‘ Trigger node β receive new leads and funnel completions in real time, no API key required
- π Funnel resource locator β searchable dropdown of all your funnels, auto-loaded from
/v1/workspaces - π€ AI-tool ready β the action node is
usableAsTool: true, so AI agents can call Perspective directly - π‘οΈ API-key auth β
x-perspective-api-keyheader, validated against/v1/workspaceson save - π¦ Zero runtime dependencies β no npm bloat in your n8n install
Table of contents
Installation
In n8n, go to Settings β Community Nodes β Install and enter:
n8n-nodes-perspective
Or follow the community node installation guide for self-hosted installs:
npm install n8n-nodes-perspective
Operations
The Perspective action node supports three resources.
π₯ Contact (CRM)
| Operation | Endpoint | Notes |
|---|---|---|
| Get Many | GET /v1/funnels/{funnelId}/contacts |
Paginated (1β100 per page, 0-based), sortable by ps_converted_at, email, firstName, lastName |
| Get | GET /v1/funnels/{funnelId}/contacts/{contactId} |
Single contact lookup |
| Create | POST /v1/funnels/{funnelId}/contacts |
At least email or phone required. Optional: firstName, lastName, website, birthday, address, skipAutomationTrigger |
| Update Field | PUT /v1/funnels/{funnelId}/contacts/{contactId}/values |
Set a single field by name (standard, address subfield, or any custom property) |
π Metric
| Operation | Endpoint | Notes |
|---|---|---|
| Get KPI | GET /v1/funnels/{funnelId}/metrics/kpis/{subtype} |
9 KPIs: conversion rate, completion rate, new contacts, total sessions, time on page, time to completion, message stats |
| Get Chart | GET /v1/funnels/{funnelId}/metrics/charts/{subtype} |
7 charts: contacts over time, page-to-page conversion, activity by daytime, devices, top UTM sources, time on page, button clicks. A/B test filter for page-to-page conversion |
| Get Insight | GET /v1/funnels/{funnelId}/metrics/insights/{insightId} |
Survey responses & feedback per insight block (e.g. question_1234) |
All metric operations take a from / to ISO 8601 date range and an optional timezone offset (minutes).
π’ Workspace
| Operation | Endpoint |
|---|---|
| Get Many | GET /v1/workspaces β list all workspaces and their funnels |
Trigger
The Perspective Trigger node receives outgoing webhooks from Perspective. Two events fire:
- New Lead β when a visitor submits the funnel with a completed
emailorphonefield - Funnel Completed β when a visitor reaches the final or any result page
Setup
- Add a Perspective Trigger node to your workflow and activate the workflow.
- Copy the production webhook URL from the trigger node.
- In Perspective, open the funnel β Settings β Webhooks and add the URL for the desired event (New Lead and/or Funnel Completed). You can configure up to 3 webhooks per event.
- Submit a test lead in Perspective β the workflow fires with the lead payload.
Payload shape
{
"id": "contact-id",
"funnelName": "My Lead Magnet",
"meta": {
"createdAt": "2026-05-07T14:32:11.000Z",
"lastSeenAt": "2026-05-07T14:35:42.000Z",
"completedAt": "2026-05-07T14:35:42.000Z",
"convertedAt": "2026-05-07T14:34:08.000Z",
"globalId": "global-contact-id"
},
"profile": {
"email": { "value": "ada@example.com", "title": "Email" },
"firstName": { "value": "Ada", "title": "First Name" },
"phone": { "value": "+49 β¦", "title": "Phone" },
"quiz_q1": { "value": "Option 2", "title": "How did you hear about us?" }
}
}
The trigger does not require an API key β webhook URLs are the secret. Keep your workflow URL private.
Credentials
The action node requires a Perspective API credential.
- In Perspective, go to Account Settings β API (app.perspective.co/en/settings). Only admins can create keys.
- Create an API key (it is shown only once β save it immediately).
- In n8n, create a new Perspective API credential and paste the key. n8n verifies it by calling
GET /v1/workspaces.
The API is available from the Scale Plan (or legacy Volume Plan) onwards. The trigger node works on all plans.
Compatibility
- Tested against n8n
2.x - Requires Node.js β₯ 22 for local development and build
- No external runtime dependencies
Resources
- π Perspective External API documentation (Swagger)
- π What can I do with the API App in Perspective?
- π How do I use webhooks for my funnel?
- π n8n community nodes documentation
Version history
0.1.0
- Initial release: action node (Contact CRUD, Metrics KPI/Chart/Insight, Workspaces) + trigger node (New Lead, Funnel Completed)
License
MIT Β© Tim QuerengΓ€sser