Consent
A Consent step answers one question: has this customer agreed to this purpose? In check mode it looks at the consent already stored for the customer. In capture mode it asks the customer when no consent is stored, and stores the answer when they agree. Consent is kept in the customer’s shared context, so every channel and workflow sees it.
When to use it
Section titled “When to use it”- Before a WhatsApp reminder, check the customer opted in to messaging.
- On a call, ask for consent to record before collecting sensitive details.
- Before a marketing offer, check marketing consent.
When not to use it
Section titled “When not to use it”- You need to confirm who the customer is. Use Identity check.
- You need to store other facts about the customer. Use Write context.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Purpose | Required. messaging_opt_in, data_processing, recording or marketing. |
| Mode | check (default) answers from the stored consent. capture asks the customer when there is none. |
| Customer | Whose consent, as an expression such as input.customerRef. Empty uses the run’s customerRef correlation. |
| Ask on | For Capture. The channel to ask on. |
| Consent wording | For Capture. What the customer is asked. |
| Wording version | For Capture. For example v3, stored with the consent. |
| Valid for | Default: 365d. How long a granted consent is kept. |
| Time out after | Default: 24h. When the customer does not answer in time, the error path is taken. |
What it produces
Section titled “What it produces”- The
grantedordeniedbranch, and an error path. steps.<step id>: the consent record, withgranted,wordingVersion,channel,atandrunIdafter a capture, or the stored record when consent was already given.- When captured and granted, the consent is stored in the customer’s context for the Valid for period.
A stored, valid consent always gives granted, in both modes, without asking again. In check mode, no stored consent gives denied. A refusal is not stored, so a later capture asks again.
Example
Section titled “Example”A retailer only sends WhatsApp offers to customers who opted in.
Schedule → Consent (messaging_opt_in, check) granted → Send message (whatsapp, festive_offer) → End denied → End