PDF of glide a make (with the original name of the PDF)

Hi
Can someone help me find a solution to send pdf files.
So I have already managed to send pdfs from glide to make and then send them by gmail from make, however the file sent by email is named file.pdf
how can I keep the original file name stored in glide and send it with it.
Thanks for your help

There should be an option for you to specify the file name in the email module.

image

Can you show us how youā€™re configuring it?

1 Like

Thank you for your response, yes but I have several PDFs sent at the same time

Hello everyone
I have a small problem after downloading the pdf files with webhooks and after getting a file. the file names all have the same names (file.pdf)

They are sent later by gmail and they all have the same name (file.pdf)
Can someone give me a solution to rename them with their initial name?
THANKS

Sorry Iā€™m posting this problem here because I canā€™t post a post in make

In the array aggregator module under aggregated fields is there a field that has the file name?

you want to talk about that

Is there another array aggregator in the beginning

this one

You are taking the file name from the http moduleā€¦ but maybe you should be taking the file name from the iterator [27]

I donā€™t know which one I should take because it doesnā€™t show me the name of the pdf file.

I think itā€™s 27.value but thatā€™s the entire URL.

Thereā€™s probably a way to clean that up in make but Iā€™m not sure how.

Iā€™m gonna fiddle around with it and get back to you

I see what you meanā€¦ when you change the target structure to ā€œAttachmentsā€ the array aggregator no longer has the file name. Iā€™ll have to think about it

FYI make does have a community

Thanks for your help. in make for a week. I have this message.

I canā€™t post my problem

Have you tried doing this?

Iterator to iterate through your list of files.

HTTP module to download the file.

Array aggregator to aggregate the downloaded files and name them. Iā€™m thinking of using functions to give them a proper name from the URL.

Map the array to the attachments in Make.

A different thing I might have done here is I was sending a JSON structure over to Make, which includes the title of the ā€œfileā€, so that makes my work easier.

2 Likes

great
It works wonderfully I used the replace and substring functions to rename the file from url.
THANKS

1 Like

Wonderful!!!

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