Subscribing to Events
Event subscriptions are created through Flows. A flow is a multi-step workflow triggered by an event — in the simplest form, it just sends a webhook to your app.- Create a Flow in your Membrane workspace (via Console, CLI, or API).
- Set the trigger to an event type (see below).
- Add steps to process the event — the simplest setup is a single
api-request-to-your-appnode that sends the event data to your backend.
Event Types
App Events
Custom events defined by the connector — not tied to a specific data collection. Examples:form-submitted, payment-received, message-posted.
Use a connector-event-trigger or app-event-trigger in your flow.
Data Collection Events
Triggered by changes to records in a specific data collection (contacts, deals, messages, etc.):data-record-created— a new record appears in the external appdata-record-updated— an existing record changesdata-record-deleted— a record is removed
data-record-created-trigger, data-record-updated-trigger, or data-record-deleted-trigger in your flow.
Polling Intervals
For data collection events, Membrane detects changes via webhooks or polling. You can configure the polling interval:- Pull-based: default 300 seconds (5 minutes)
- Full scan: default 10,800 seconds (3 hours)
Logging
Membrane provides detailed logging for every step of the event pipeline:- External Webhooks — raw incoming webhook payloads from external apps
- External Event Pulls — records of each polling cycle
- External Events — processed events with their payload and status
- Flow Runs — execution logs for each flow triggered by an event