Hi Everyone, There is an invoice approval workflow...
# suiteflow
r
Hi Everyone, There is an invoice approval workflow which sends an email to customer(field present in invoice itself), getting sourced from customer record. Once the Invoice is approved the email gets send through workflow. What we need to do is if alt email (custom field in customer record) is having any email we need to add the alt email in the recipient of same email as well. How can we achieve this?
m
@raghav Create the exact same Email action, but select the alt email instead. So you will have 2 exactly the same email action on the same state running the same trigger, only difference is the email receipt is email 2 / alt email and not primary email on cust record
r
Butt then it will send 2 mails right, instead of 1 right? Need both recipient in the same email.
m
Yes, that will create 2 separate emails this way
r
Any other solution ?
a
You can make a custom field that comcatenates the 2 addresses together into one field (comma separated) then email to that field First make the field as type= email. Then use it in your workflow After you've set it up in your workflow change it to free text and it will still work but also allow you to source multiple addresses with commas between them
r
quick question, the custom field that is storing the emails at customer record is already a text field an might be getting used in multiple places. If I store the existing data in one csv, change the field to email., add it in the workflow, change it back to text field and upload the data, will it create any issue?
a
I would just make a new field on your invoice and use that because you will want to combine two emails into it
r
Thank you. This was a pretty cool hack, to first have an email field then create the workflow and then change it into text field.