This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:erxes/erxes-community
- Loading branch information
Showing
74 changed files
with
1,169 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export default { | ||
constants: { | ||
triggers: [ | ||
{ | ||
type: 'core:user', | ||
img: 'automation4.svg', | ||
icon: 'users', | ||
label: 'Team member', | ||
description: | ||
'Start with a blank workflow that enralls and is triggered off team members' | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,46 @@ | ||
export const ACTIONS = { | ||
WAIT: "wait", | ||
IF: "if", | ||
SET_PROPERTY: "setProperty", | ||
CREATE_TASK: "cards:task.create", | ||
CREATE_TICKET: "cards:ticket.create", | ||
CREATE_DEAL: "cards:deal.create", | ||
CREATE_VOUCHER: "loyalties:voucher.create", | ||
CHANGE_SCORE: "loyalties:scoreLog.create" | ||
WAIT: 'wait', | ||
IF: 'if', | ||
SET_PROPERTY: 'setProperty' | ||
}; | ||
|
||
export const TRIGGER_TYPES = { | ||
LEAD: 'contacts:lead', | ||
CUSTOMER: 'contacts:customer', | ||
COMPANY: 'contacts:company', | ||
DEAL: 'cards:deal', | ||
TASK: 'cards:task', | ||
TICKET: 'cards:ticket', | ||
CONVERSATIONS: 'inbox:conversations', | ||
} | ||
export const UI_ACTIONS = [ | ||
{ | ||
type: 'if', | ||
icon: 'sitemap-1', | ||
label: 'Branches', | ||
description: 'Create simple or if/then branches', | ||
isAvailable: true | ||
}, | ||
{ | ||
type: 'setProperty', | ||
icon: 'flask', | ||
label: 'Manage properties', | ||
description: | ||
'Update existing default or custom properties for Contacts, Companies, Cards, Conversations', | ||
isAvailable: true | ||
}, | ||
{ | ||
type: 'delay', | ||
icon: 'hourglass', | ||
label: 'Delay', | ||
description: | ||
'Delay the next action with a timeframe, a specific event or activity', | ||
isAvailable: true | ||
}, | ||
{ | ||
type: 'workflow', | ||
icon: 'glass-martini-alt', | ||
label: 'Workflow', | ||
description: | ||
'Enroll in another workflow, trigger outgoing webhook or write custom code', | ||
isAvailable: false | ||
}, | ||
{ | ||
type: 'externalCommunications', | ||
icon: 'fast-mail', | ||
label: 'External communications', | ||
description: 'Send email, SMS or in-app messenger messages to Contacts', | ||
isAvailable: false | ||
} | ||
]; |
Oops, something went wrong.