Description
n8n-nodes-getdemo
This is an n8n community node for Getdemo. It allows you to list your demos and receive webhook events for view activities.
n8n is a fair-code licensed workflow automation platform.
Installation
Install via npm
npm install n8n-nodes-getdemo
Configure in n8n
1. Set the environment variable N8NCUSTOMEXTENSIONS to point to the installed package:
export N8NCUSTOMEXTENSIONS=/path/to/node_modules/n8n-nodes-getdemo
2. Or if installed globally:
export N8NCUSTOMEXTENSIONS=$(npm root -g)/n8n-nodes-getdemo
3. Restart n8n
For more details, see the n8n community nodes installation guide.
Nodes
Getdemo
The main node for interacting with the Getdemo API.
Operations:
- List Demos: Lists all demos for the authenticated user
- View Started: Triggered when a demo view starts
- View Finished: Triggered when a demo view is completed or user disconnects
- Step Changed: Triggered when viewer moves to a different step
- Minimum n8n version: 1.0.0
- Tested with n8n version: 2.3.4+
Getdemo Trigger
A webhook trigger node that starts workflows when Getdemo view events occur.
Events:
Credentials
Getdemo API Key
To use the Getdemo nodes, you need to generate an API Key in your Getdemo account:
1. Log in to Getdemo: https://app.getdemo.com.br
2. Navigate to Integrations → API (in the “Native Integrations” section)
3. Click “Generate token” or “Integrate API”
4. Copy the generated API Key (UUID format)
5. Use this API Key in the Getdemo API credential in n8n
Important: The API Key is private/personal – each user must generate their own. The API Key gives access only to the data of the user/company that generated it.
Compatibility
Usage
Example 1: List Demos
1. Add the Getdemo node to your workflow
2. Configure the Getdemo API Key credential with your API Key
3. Select Resource: Demo
4. Select Operation: List
5. Execute the workflow to get all your demos
Example 2: Monitor View Events
1. Add the Getdemo Trigger node to your workflow (as the first node/trigger)
2. Configure the Webhook Path (default: getdemo-view)
3. Copy the webhook URL generated by n8n
4. In Getdemo, go to Integrations → Webhooks
5. Add a new webhook pointing to the n8n webhook URL
6. Select which events you want to receive: STARTEDVIEWING, FINISHEDVIEWING, or CHANGEDSTEPVIEWING
7. Activate the workflow in n8n
8. The workflow will be triggered automatically when the selected view events occur
Example Workflow: Send Notification When Demo is Viewed
[Getdemo Trigger: View Finished] → [IF: ctaClicked = true] → [Slack: Send Message]
Example Workflow: Sync Demos to Google Sheets
[Schedule: Daily 9am] → [Getdemo: List Demos] → [Loop Over Items] → [Google Sheets: Append Row]
Data Structure
List Demos Response
Each demo object contains:
id (UUID): Demo IDname (string): Demo nametoken (UUID): Demo tokenstatus (string): Demo statusviews (integer): Number of viewssteps (integer): Number of stepscreatedAt (datetime): Creation dateupdatedAt (datetime): Last update dateView Event Webhook Payload
The webhook payload contains (varies by event type):
id (UUID): View IDrecordingId (UUID): Demo ID that was viewedemail (string): Viewer emailfullName (string): Viewer full nameisDone (boolean): Whether view was completedctaClicked (boolean): Whether CTA was clickedtotalFrames (integer): Total frames in demolastFrame (integer): Last frame viewedcampaignName (string, optional): Campaign name