cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Saving email to FTP

I'm trying to create a simple Flow where I save an email onto an FTP when it gets flagged.

 

It works when I use MessageID as the File name, but the file name is long and cumbersome.

 

When I try to use Subject as the File name I get an error. I also tried setting a variable FileName and assigning the Subject to the variable, but got the same error.

 

Can anyone help please?

 

Thanks.

 

WORKING FLOW:

working.PNG

 

OUTPUT IS LONG AND CUMBERSOME:

 

Long File Name.PNG

 

FLOW USING SUBJECT AND RESULTING ERROR:

 

File Name Subject doesn't work.PNG

Subject error.PNG

FLOW USING FILENAME VARIABLE AND RESULTING ERROR:

 

FileName variable.PNGSubject Fail message.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Saving email to FTP

Hi @gm355 ,

 

What is the Subject of the email?

Does the Subject have some special synbol in it?

Please take a try to name the file with a special string to see if the flow could work.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Saving email to FTP

Hi @gm355 ,

 

What is the Subject of the email?

Does the Subject have some special synbol in it?

Please take a try to name the file with a special string to see if the flow could work.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

Helper I
Helper I

Re: Saving email to FTP

The subject of the email follows this format:

 

example: EXAMPLE, INC. DEAL 45MM 20160907 - Example

 

So it has semi-colon, comma, period and dash.

 

I ran some tests and it seems like it's the semi-colon that is causing the problem (how random)

 

So I need some code to remove the semi-colon.

 

Thanks for you help!

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,988)