-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcivicrm-form-processor-newsletter_subscribe.json
82 lines (82 loc) · 2.28 KB
/
civicrm-form-processor-newsletter_subscribe.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "newsletter_subscribe",
"title": "Newsletter Subscribe",
"is_active": "1",
"output_handler": "OutputAllActionOutput",
"output_handler_configuration": [],
"enable_default_data": "0",
"default_data_output_configuration": {
"email": "",
"first_name": "",
"last_name": ""
},
"permission": "add contacts",
"inputs": [
{
"weight": "0",
"include_formatted_params": "1",
"title": "Email",
"name": "email",
"type": "String",
"is_required": "1",
"default_value": "",
"configuration": [],
"validators": []
},
{
"weight": "1",
"include_formatted_params": "1",
"title": "First Name",
"name": "first_name",
"type": "String",
"is_required": "1",
"default_value": "",
"configuration": [],
"validators": []
},
{
"weight": "2",
"include_formatted_params": "1",
"title": "Last Name",
"name": "last_name",
"type": "String",
"is_required": "1",
"default_value": "",
"configuration": [],
"validators": []
}
],
"actions": [
{
"name": "create_contact",
"title": "Create Contact",
"type": "FindByEmailOrCreateEmailName",
"configuration": {
"contact_type": "1"
},
"mapping": {
"email": "input.email",
"first_name": "input.first_name",
"last_name": "input.last_name"
},
"condition_configuration": "",
"delay_configuration": ""
},
{
"name": "add_to_group",
"title": "Add to group",
"type": "AddToGroup",
"configuration": {
"group_id": "3"
},
"mapping": {
"contact_id": "action.create_contact.contact_id"
},
"condition_configuration": "",
"delay_configuration": ""
}
],
"default_data_inputs": [],
"default_data_actions": [],
"uploaded_source_file": "1"
}