Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Postgres Trigger

proto.postgres_trigger · version 1 · Trigger · listener trigger

Start a workflow when rows change or a notification arrives in PostgreSQL.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
postgresproto.postgresyes

Parameters

NameTypeDefaultRequiredShown whenDescription
triggerModeoptions"createTrigger"Listen For. One of createTrigger, listenTrigger.
schemaresource_locator{"__rl":true,"mode":"list","value":"public"}triggerMode = createTriggerValues from lookup postgres.schemas.
tableNameresource_locatoryestriggerMode = createTriggerTable. Values from lookup postgres.tables.
firesOnoptions"INSERT"triggerMode = createTriggerEvent. One of INSERT, UPDATE, DELETE.
channelNamestringyestriggerMode = listenTriggerChannel.
additionalFieldscollectiontriggerMode = createTriggerAdvanced.
additionalFields.channelNamestringChannel Name.
additionalFields.functionNamestringFunction Name.
additionalFields.triggerNamestringTrigger Name.
additionalFields.replaceIfExistsbooleanfalseReplace an Existing Trigger.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.postgresTrigger1unverified