2022-05-03 22:34:14 +02:00
|
|
|
uuid: 1308193a-4425-4fc9-95a0-2e7f6c271278
|
|
|
|
langcode: en
|
|
|
|
status: true
|
|
|
|
dependencies: { }
|
|
|
|
_core:
|
|
|
|
default_config_hash: MyY_Lp-SmU46vjiG1JfDXfyjoOc_O-YBiWnBlfDMC_8
|
|
|
|
id: mailjet_unsubscribe_event
|
|
|
|
label: 'Mailjet Unsubscribe Event'
|
|
|
|
events:
|
|
|
|
-
|
|
|
|
event_name: 'rules_entity_insert:mailjet_event'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- mailjet
|
|
|
|
- rules
|
|
|
|
- event
|
|
|
|
- 'unsubscribe event'
|
|
|
|
config_version: '3'
|
|
|
|
expression:
|
|
|
|
id: rules_rule
|
|
|
|
uuid: fb766314-f49f-4aba-9115-8c5b362cf404
|
2022-06-17 11:35:06 +02:00
|
|
|
weight: 0
|
2022-05-03 22:34:14 +02:00
|
|
|
conditions:
|
|
|
|
id: rules_and
|
|
|
|
uuid: 2c3970cc-c861-4c32-881d-a4683faa2541
|
2022-06-17 11:35:06 +02:00
|
|
|
weight: 0
|
2022-05-03 22:34:14 +02:00
|
|
|
conditions:
|
|
|
|
-
|
|
|
|
id: rules_condition
|
|
|
|
uuid: 2bea8cc9-4a68-40f4-822e-bf5d0f16c20f
|
2022-06-17 11:35:06 +02:00
|
|
|
weight: 0
|
|
|
|
condition_id: rules_data_comparison
|
|
|
|
negate: false
|
2022-05-03 22:34:14 +02:00
|
|
|
context_values:
|
|
|
|
operation: '=='
|
|
|
|
value: unsub
|
|
|
|
context_mapping:
|
|
|
|
data: mailjet_event.event_type.value
|
|
|
|
context_processors:
|
|
|
|
operation:
|
|
|
|
rules_tokens: { }
|
|
|
|
value:
|
|
|
|
rules_tokens: { }
|
|
|
|
provides_mapping: { }
|
|
|
|
actions:
|
|
|
|
id: rules_action_set
|
|
|
|
uuid: 5c91a286-ea41-47f7-b6a9-451cb4bb2324
|
2022-06-17 11:35:06 +02:00
|
|
|
weight: 0
|
|
|
|
actions:
|
2022-06-17 12:10:32 +02:00
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 9e184f51-443d-41ec-94c0-2c5ec5bdb1db
|
|
|
|
weight: -50
|
|
|
|
action_id: 'rules_entity_create:commerce_log'
|
|
|
|
context_values: { }
|
|
|
|
context_mapping: { }
|
|
|
|
context_processors: { }
|
|
|
|
provides_mapping:
|
|
|
|
commerce_log_created: mailjet_event_log_created
|
2022-06-17 11:35:06 +02:00
|
|
|
-
|
|
|
|
id: rules_action
|
|
|
|
uuid: 7eb49497-8830-46d4-975c-6b25b5d6dee6
|
2022-06-17 12:10:32 +02:00
|
|
|
weight: -49
|
2022-06-17 11:35:06 +02:00
|
|
|
action_id: rules_simplenews_mailjet_subscriptions_unsubscribe_from_list
|
|
|
|
context_values:
|
2022-06-17 12:10:32 +02:00
|
|
|
listID: mailjet_event.event_field
|
|
|
|
email: mailjet_event.event_field
|
2022-06-17 11:35:06 +02:00
|
|
|
context_mapping: { }
|
|
|
|
context_processors:
|
|
|
|
listID:
|
|
|
|
rules_tokens: { }
|
|
|
|
email:
|
|
|
|
rules_tokens: { }
|
|
|
|
provides_mapping: { }
|