Cant find the downloaded file when use Gmail integration Activities!

Hi Community,

I can’t find my downloaded file when using the Gmail Download attachments activity using the integration service, i am searching in C:/Users/Username/AppData/Local/Temp

Regards

@Bot_YT,

Define a variable for Output property Attachments. This will be your path where the attachments would be downloaded and saved.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale ,

i already did that, its a type of GmailAttachmentLocalItem, should i give a default value to it? i doubt it accepts strings

@Bot_YT,

No need to assign default value.
Use a log message activity to log yourOutputVariable.LocalPath This will be your local path.

Thanks,
Ashok :slight_smile:

@ashokkarale ,

I did find the file but, its showing like this

do i need string manipulation in this or we have a separate activity for this too? to correct the extension

image

@Bot_YT,

It would be collection of the attachments so if the above one don’t work try this to get first attachment

yourOutputVariable(0).LocalPath

@Bot_YT,

It would be as it is file name and extension from the email. Seems it’s a pdf file.

Thanks,
Ashok :slight_smile:

@ashokkarale,

Yes it a PDF File but the name is different there in the Email, its just picking up random characters

As your original query has been resolved, kindly mark my answer as solution to close the thread. For any other queries, create new thread so it will reach to wider audience to answer.

Thanks,
Ashok :slight_smile:

@Bot_YT,

It might be due to already exist file in that folder. Try downloading some different file with unique name.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.