Node referenceMarketing
UNSUBSCRIBE_CONTACT
UNSUBSCRIBE_CONTACT node.
What it does
UNSUBSCRIBE_CONTACT node.
Inputs & outputs
| Input handle |
|---|
| None |
| Output handle |
|---|
| None |
Configuration
No configuration.
Example
How it works
UNSUBSCRIBE_CONTACT marks a contact as globally unsubscribed in EzFlow Marketing, optionally recording a reason string. Accepts contactId and reason as inputs. Returns success: true when the operation completes. A globally unsubscribed contact is automatically excluded from future Marketing broadcasts. See Marketing Contacts.
Example
Wire a one-click unsubscribe HTTP_TRIGGER to UNSUBSCRIBE_CONTACT, passing contactId from the URL parameter and a static reason of "one_click_unsubscribe". Chain LOG_ACTIVITY after it to write an "unsubscribed" activity record to the contact's timeline. This satisfies CAN-SPAM and GDPR one-click-unsubscribe requirements in a single Workflow.