Skip to content

Commit

Permalink
Merge pull request #2 from Loops-so/mailing-lists
Browse files Browse the repository at this point in the history
Mailing lists
  • Loading branch information
askkaz authored Jul 9, 2024
2 parents 93087d2 + 29a9189 commit b8fd48c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Object {
"email": "[email protected]",
"firstName": "3dQ7ER]1HKW",
"lastName": "3dQ7ER]1HKW",
"mailingLists": Object {
"testType": "3dQ7ER]1HKW",
},
"source": "3dQ7ER]1HKW",
"subscribed": true,
"testType": "3dQ7ER]1HKW",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Object {
"email": "[email protected]",
"firstName": "IAIhDY9yOUxjQs(FSFfe",
"lastName": "IAIhDY9yOUxjQs(FSFfe",
"mailingLists": Object {
"testType": "IAIhDY9yOUxjQs(FSFfe",
},
"source": "IAIhDY9yOUxjQs(FSFfe",
"subscribed": false,
"testType": "IAIhDY9yOUxjQs(FSFfe",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const action: ActionDefinition<Settings, Payload> = {
},
customAttributes: {
label: 'Custom Contact Attributes',
description: 'Attributes maintained by your team.',
description: 'Contact attributes maintained by your team.',
type: 'object',
required: false,
default: { '@path': '$.traits' }
Expand Down Expand Up @@ -49,6 +49,13 @@ const action: ActionDefinition<Settings, Payload> = {
required: false,
default: { '@path': '$.traits.lastName' }
},
mailingLists: {
label: 'Mailing Lists',
description:
'An object containing key-value pairs of mailing list IDs and true/false determining if the contact should be added to or removed from each list.',
type: 'object',
required: false
},
source: {
label: 'Source',
description: "The contact's source.",
Expand Down

0 comments on commit b8fd48c

Please sign in to comment.