Dynamic PDF Attachment with 'good' name

Status: Closed · Asked by ian bensley on · 0 views

ian — Question ·

Hi

I'm trying to send a PDF gift card as a Gmail attachment to people who fill out a form (via web-hook).

I've got everything to work. The only thing that is still not working is I want the PDF to be named what I called it in the upload file stage, or give it some 'nice sounding' name. At the moment, it names it "UC" in the attachment; and before it was naming it "export".

How can I use the original name of the file, or at least a generic name I choose, like "gift-card.pdf"?

See attached file of what I have built so far, plus a picture of what currently it sends. The workflow is called "Create Dynamic Giftcard" in my account.

Attachments

want-renamed.JPG
generated-pdf-from-google-doc.JPG
screencapture-connect-pabbly-workflow-mapping-Ijc2ODAzIg-3D-3D-2021-06-08-16_49_14.png
Pabbly — Reply ·

As of now, we don't have the option for renaming the PDF created. We have shared this requirement with the integration team and they should be able to provide this option in the next update.

We will make sure to notify you once the option for renaming is available.

ian — Reply ·

Oh no worries; thank you for looking into this :)

Pabbly — Reply ·

We have added an action event in Google Drive for renaming the files -

ian — Reply ·

Thank you, I'll take a look at this (will be useful for a future project). However, I need to email this as a PDF attachment via "Gmail task", so it will still be named 'export.pdf'

Pabbly — Reply ·

We have added the option to provide a Name to the attachment as well. Now the "UC" issue should not appear anymore. Please check at your end -

ian — Reply ·

Hi, are you able to look at my workflow. It is re-naming it fine; but instead of attaching PDF's It is exporting "file" type. i.e. some unknown file type.

The workflow where I'm testing is called "CLONE - [Gift of Crypto- Create Dynamic Gift-card]"

see attachment of what is coming through. I've tried a couple of the steps to get it to work. (only need to send one file FYI).

Thank you
Ian

Attachments

Capture.JPG
Fagun Shah — Reply ·

Can you share screenshot of what you passed in Attachment field -

Fagun Shah
- Automation Freelancer
- Let's Connect - https://www.facebook.com/fagun.shah.7/
ian — Reply ·

I've tried each of these individually as well... I just need to be able to send one of these files as a PDF.

Thank you
Ian

Attachments

Capture2.JPG
Fagun Shah — Reply ·

I think this the issue, add .pdf after filename without spaces -

Fagun Shah
- Automation Freelancer
- Let's Connect - https://www.facebook.com/fagun.shah.7/
ian — Reply ·

full workflow

Attachments

screencapture-connect-pabbly-workflow-mapping-Ijg3MTk2Ig-3D-3D-2021-06-20-15_34_56.png
ian — Reply ·

Thank you this is resolved using your suggestion of adding ".pdf" to the end of the file's name in the last step.

Back to all forum threads · Log in to reply