Sorry if this has been posted previously.
I have a flow which is triggered by an email being received - exports email - converts to pdf- renames and then pushes to a drobox folder - this is all working successfully.
BUT I now need a condition that reads the subject line and looks for a 9 digit number - a customer might put this anywhere in the subject line, and then uses this number to name the exported email - the number will always begin with a 1 - can you suggest anything?
Thanks in advance
Solved! Go to Solution.
Please try below expression, Replace outputs('Subject') with the subject from your email
substring(outputs('Subject'),indexOf(outputs('Subject'),'1'),9)
Please try below expression, Replace outputs('Subject') with the subject from your email
substring(outputs('Subject'),indexOf(outputs('Subject'),'1'),9)
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |