Skip to main content
PropOps embeds n8n as its workflow automation engine. You can trigger workflows from external systems, list and manage workflows from the PropOps API, and subscribe to PropOps events.
n8n integration must be enabled and configured in Admin → Settings → Integrations → n8n. A self-hosted or n8n Cloud instance URL and API key are required.

n8n Workflows API

All workflow endpoints are restricted to Staff users with the page.settings.configuration permission.

List workflows

GET /api/n8n/workflows?action=list Returns all workflows registered in the connected n8n instance. Required permission: page.settings.configuration
Account types: Staff only

Get a workflow

GET /api/n8n/workflows?action=get&workflow_id=<id> Returns full details for a specific workflow including node configuration. Required permission: page.settings.configuration
string
required
Must be get.
string
required
n8n workflow ID.

Get workflow executions

GET /api/n8n/workflows?action=executions&workflow_id=<id> Returns the execution history for a specific workflow. Required permission: page.settings.configuration
string
required
Must be executions.
string
required
n8n workflow ID.
integer
default:"20"
Maximum executions to return.

Toggle a workflow

GET /api/n8n/workflows?action=toggle&workflow_id=<id> Enables or disables a workflow. A disabled workflow will not execute even if triggered. Required permission: page.settings.configuration

Trigger a workflow manually

POST /api/n8n/workflows Manually triggers a workflow with optional payload data. Required permission: page.settings.configuration
Requires CSRF token.
string
required
Must be trigger.
string
required
n8n workflow ID to trigger.
object
Optional JSON payload passed to the workflow trigger node.
string
required
CSRF token from GET /api/security/csrf-token.

Test a workflow

POST /api/n8n/workflows Runs a workflow in test mode — executes the logic but suppresses external side-effects (email sending, third-party API calls) if the workflow supports test mode. Required permission: page.settings.configuration
Requires CSRF token.
string
required
Must be test.
string
required
n8n workflow ID.
string
required
CSRF token.

Get workflow stats

GET /api/n8n/workflows?action=stats Returns aggregate execution statistics — total runs, success rate, and average duration. Required permission: page.settings.configuration

Webhook events

When n8n is connected, PropOps publishes the following events to configured webhook workflows. You can build n8n workflows that listen for these events and forward them to Slack, email, third-party CRMs, or any HTTP endpoint.

Example event payload


Cron webhook

GET /api/cron/webhook Internal endpoint called by the PropOps cron job to trigger scheduled workflow executions. Not intended for direct API use — the platform calls this endpoint automatically.
To configure scheduled automations, use n8n’s built-in Schedule trigger node rather than calling the cron endpoint directly.