Hi,
I made an automation that sends an email when the attachments have been modified.
I would like this to be the case only if the filename contains "Situation analysis". Do you have any idea ?
Best regards
Estelle
Thanks @Marta Woźniak-Semeniuk and @Patrik Korovsky but if I add an attachment with another filename the mail is still sent.
Maybe by targeting the count (so adding and deleting) of attachments containing "Situation analysis" it would work?
Hello @Estelle Decanis
Add a new "if block", where the first condition is your attached automation and the second (Advanced compare condition) checks if the Attachment contains "Situation analysis".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The automation mentioned is specifically checking against the last uploaded attachment.
To check against all attachments the condition should be:
{{attachment.filename}} contains "Situation analysis"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it is necessary to take into account the number
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean the compare two values?
The Advanced compare condition is the same as yours.
In the First value you use {{attachment.filename}} and in the Second value you input "Situation analysis"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Patrik KorovskyI tried with this new condition but no addition or deletion is taken into account, even with the filename containing "Situation analysis"
By deleting the "" the automation is in Success but does not take into account if there has been an addition or deletion of attachments containing "Situation analysis".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Patrik Korovsky @Marta Woźniak-Semeniuk I really think you should target if there is a change on the number of attachments containing "Situation analysis". Do you have any idea ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So let me get this straight.
You would like to send out an email only in case the latest added attachment is "Situation analysis"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And if we just leave the block that checks if attachment name contains the "Situation analysis"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I got lost in your requirements.
I think that what Marta and I have suggested so far would not work because "Situation Analysis" is either always present or not present at all, we set no conditions.
Please specify the "added or removed". It would be best if you could outline how you use this attachment in your workflow.
Let me give an example so I better understand your issue, please confirm or expand on the below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not exactly the case. Here are the possibilities:
That's why I think you have to successfully consider the number of attachments. If the number of attachments with the name "Situation analysis" changes (added/removed) then you have to send an e-mail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marta Woźniak-Semeniuk
It doesn't work well. As soon as there is an attachment with the name "Situation Analysis" an email is automatically sent afterwards -> even if the attachment addition or deletion does not concern "Situation Analysis"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.