Feat/5733 Add private note action in macros (#5805)

This commit is contained in:
Tejaswini Chile
2022-11-07 22:12:10 +05:30
committed by GitHub
parent 894234e777
commit a23974d8b9
5 changed files with 33 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ export default {
send_webhook_event: params[0],
send_message: params[0],
send_email_transcript: params[0],
add_private_note: params[0],
};
return actionsMap[key] || '';
},

View File

@@ -39,4 +39,9 @@ export const MACRO_ACTION_TYPES = [
label: 'Send a message',
inputType: 'textarea',
},
{
key: 'add_private_note',
label: 'Add a private note',
inputType: 'textarea',
},
];