Hello,
we are currently testing Espo for our company and it looks great so far – Espo is really smart and intuitive! But we need a certain functionality to make it perfect for our needs:
If a new email comes in via any personal or group email account, it should be checked if the sender's email address is already known to Espo in any contact, account, opportunity or lead (NOT user), and if so, this email should be assigned/linked to a certain team. If have already tried to find a way to get this working via formula for Email entity like this:
ifThenElse(entity\isNew() && >>from condition here<< , entity\addLinkMultipleId('teams', 'my-team-ID'))
The team assignment works fine in principle (tested with "from == >specific emailAddress<"), but I did not manage to set up a working >from condition<, which should be TRUE if 'from' (senders email) is found in the email addresses of ANY account or contact or lead or opportunity.
As Espo already links the name of the sender in the email's from field to corresponding contacts or users, I think this should be possible? Would this work using entity formula or do I need the Advanced Pack extension to set up a workflow? Can you help or give advice?
Thanks!
jashe
we are currently testing Espo for our company and it looks great so far – Espo is really smart and intuitive! But we need a certain functionality to make it perfect for our needs:
If a new email comes in via any personal or group email account, it should be checked if the sender's email address is already known to Espo in any contact, account, opportunity or lead (NOT user), and if so, this email should be assigned/linked to a certain team. If have already tried to find a way to get this working via formula for Email entity like this:
ifThenElse(entity\isNew() && >>from condition here<< , entity\addLinkMultipleId('teams', 'my-team-ID'))
The team assignment works fine in principle (tested with "from == >specific emailAddress<"), but I did not manage to set up a working >from condition<, which should be TRUE if 'from' (senders email) is found in the email addresses of ANY account or contact or lead or opportunity.
As Espo already links the name of the sender in the email's from field to corresponding contacts or users, I think this should be possible? Would this work using entity formula or do I need the Advanced Pack extension to set up a workflow? Can you help or give advice?
Thanks!
jashe
Comment