Hello everyone I have the following situation and I need your help
I am creating a module for the purchasing team
I have a flow to send attachments from notes to an email, the flow is activated by a yes/no field.
In the entity (purchases) I have the following data:
- Data 1. Supplier contact: Through a search field of the contacts entity. I show the contact information of the supplier through a quick view: quick view shows: email and phone
- Data 2. The buyer user of our company: Through a search field of the users entity.
- Data 3. The author who generates the record: Author entity
I need the email to include the dynamic data of these emails:
- Sender: that the email (Data 3) is sent from the email of the author of the record
- Destination: (Data 1) supplier's contact email.
- Copy (CC): (Data 2) Mail from the company seller
How can I correctly call the entities and fields in my flow so that the emails are correctly included in my email?
I really appreciate your help