Node referenceMarketing
REMOVE_FROM_SEGMENT
REMOVE_FROM_SEGMENT node.
What it does
REMOVE_FROM_SEGMENT node.
Inputs & outputs
| Input handle |
|---|
| None |
| Output handle |
|---|
| None |
Configuration
No configuration.
Example
How it works
REMOVE_FROM_SEGMENT removes a contact from a Marketing segment. Supply segmentId and contactId as inputs (or configure segmentId in the node settings). Returns success: true on completion. See Marketing Segments.
Example
When a customer churns, an HTTP_TRIGGER fires with contactId in the request body. Wire it into REMOVE_FROM_SEGMENT with segmentId pointing to your "Active Customers" segment so they stop receiving renewal campaigns. Chain LOG_ACTIVITY immediately after to write a "churned" activity record to the contact's timeline.