From 3c2d75ce681d67b8f58f868403538f657e64aec7 Mon Sep 17 00:00:00 2001 From: Ricardo Espinoza Date: Mon, 7 Dec 2020 17:53:55 -0500 Subject: [PATCH] :zap: Add Add Tags and Remove Tags fields to contact:update (#1229) As requested here https://community.n8n.io/t/can-we-have-automizy-integration-node-got-created/2368/13 --- .../nodes/Automizy/ContactDescription.ts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/nodes-base/nodes/Automizy/ContactDescription.ts b/packages/nodes-base/nodes/Automizy/ContactDescription.ts index 102555ce76..62f04de11c 100644 --- a/packages/nodes-base/nodes/Automizy/ContactDescription.ts +++ b/packages/nodes-base/nodes/Automizy/ContactDescription.ts @@ -380,6 +380,16 @@ export const contactFields = [ default: {}, placeholder: 'Add Field', options: [ + { + displayName: 'Add Tags', + name: 'addTags', + type: 'multiOptions', + typeOptions: { + loadOptionsMethod: 'getTags', + }, + default: [], + description: 'The tags you want to add to the contact.', + }, { displayName: 'Custom Fields', name: 'customFieldsUi', @@ -416,6 +426,16 @@ export const contactFields = [ }, ], }, + { + displayName: 'Remove Tags', + name: 'removeTags', + type: 'multiOptions', + typeOptions: { + loadOptionsMethod: 'getTags', + }, + default: [], + description: 'The tags you want to add to the contact.', + }, { displayName: 'Status', name: 'status',