Help

This Product Ideas board is currently undergoing updates, but please continue to submit your ideas.

Output Page Designer as PDF to Attachment Field

cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Reuben
6 - Interface Innovator
6 - Interface Innovator

I plan to use Airtable to record order information from my website. These records will be used to build the product that the customer ordered. These products are custom.

I would like to be able to have the page designer automatically to output a PDF to the attachment field. I would also email this PDF as part of the customer order process workflow for our company.

Thanks,

18 Comments
ScottWorld
18 - Pluto
18 - Pluto

I agree that these are 2 of the top missing features from Airtable, which all businesses need to do on a daily basis.

Bill_French
17 - Neptune
17 - Neptune

I like this idea as well. However, there are some issues trying to get there.

The current attachments feature requires the documents โ€œuploadedโ€ are hosted openly on the internet. As such, a block (like page designer) would have to first โ€œcrossload?โ€ the document to another server (or Airtable server instance) where the attachment feature could connect to it and make a copy. Just making any Page Designer document public on the Interwebs comes with a number of customer issues.

Ideally, the block would have direct access to the database and simply use the API straightway to push the PDF into the record as an attachment. Of course, Custom Blocks already have this latitude, but, the API supports only the submission of an attachment URL; it doesnโ€™t provide the primitives necessary to directly post a multi-part document into an attachment record.

No Through Streets (purely my opinion)

This is a good example of an API built with many cul-de-sacs; there are no through streets to make this happen easily for custom block developers. Itโ€™s also why all companies should consider building their products on top of their own API instead of adding the API as an afterthought. APIs should ideally be foundational, not features to everyone except the Airtable engineers.

Todayโ€™s Remedy (one of many possible workarounds)

  1. Send the PDF to a Gmail account as an attachment.
  2. Use Google Apps Script to harvest Page Designer messages, tease out of the message the document, save it to drive.
  3. Post the (openly public) URL into the attachment field, and then delete the openly public page designer PDF from Google Drive.
ScottWorld
18 - Pluto
18 - Pluto

Most important functionality that we need is the ability to automatically generate a PDF from the Page Designer Block, and then email that PDF to an email address in our record.

We can use our own email app on our own devices โ€” the Airtable Team doesnโ€™t need to worry about building in an entire email interface into Airtable.

We just need the PDF generated and then attached to an outgoing email with the email address already typed in.

This email address will be taken from our Airtable record.

And the PDF will be archived in the Attachment Field.

We simply need the ability to click on a button, and have a PDF generated and then attached to an outgoing email with the email address already typed in.

Bill_French
17 - Neptune
17 - Neptune

Iโ€™m pretty sure there are some issues with the idea that you can use your own email app because Airtable cannot inject anything into your email app without (a) authority, and (b) a scripting linkage of some sort.

The email server is whatโ€™s in question with this comment. When you say โ€œoutgoing emailโ€ - outgoing from whoโ€™s email domain sever exactly?

ScottWorld
18 - Pluto
18 - Pluto

You can already click on an email address in an email field and it will open up an outgoing email in your email application, already addressed to that person.

This just needs to be extended to attachments.

For example, FileMaker can attach attachments into an outgoing email with no extra authority granted to it at all.

Bill_French
17 - Neptune
17 - Neptune

Precisely - itโ€™s simply using the mailto: protocol to launch your own client and it could pass file attachments in that process if the [mailto] URL were instrumented to do that. FileMaker does support this if โ€“ AND ONLY IF โ€“ the userโ€™s email client supports full command line processing of the mailto: protocol.

mailto:emailadress?subject=My email&body=some text&attach=[attachmentURL]

As suchโ€ฆ [I believe] if you instrument a link (or button) in Airtable to include a format like this - it will work just as it works in FileMaker notwithstanding the other email client support for this more automated approach to generating emails with subject, body, and even documents attached. Airtable neednโ€™t add any new features or provide an email server infrastructure to do this.

mailto:bill.french@gmail.com?subject=My%20Attachment%20Test&body=This%20message%20has%20an%20Airtable thumbnail attachment!&attach=https%3A%2F%2Fdl.airtable.com%2F.attachmentThumbnails%2Fe96ca3b720ace25232db6558c4f70f58%2Fc7c2f75f

Note that in most email clients, mailto: URLs must be URL-encoded, and any attachments must be specified as openly accessible URLs (Airtable supports this, of course). Furthermore, the email client running locally (or a web-based email client) must support full command-line arguments for the mailto: protocol.

Depending on your email client, this format will also workโ€ฆ

mailto:emailadress?subject=My email&body=some text&attach=c:\tempfile.txt

ScottWorld
18 - Pluto
18 - Pluto

Hereโ€™s a screenshot of how you set this up in FileMaker. โ€œIt just works.โ€ Would be great to see something as simple as this implemented in the new button field of Airtable! :slightly_smiling_face:

Screen Shot 2020-06-09 at 2.29.04 PM

Bill_French
17 - Neptune
17 - Neptune

Agree.

Refresh my memory of FM Pro - besides Email Client option shown, what are the other options in that dialog?

ScottWorld
18 - Pluto
18 - Pluto

The other option is โ€œSMTP Serverโ€. The screen looks 100% identical to the screenshot above, except one additional button appears that you can click on to specify your authentication information for your SMTP server.

Bill_French
17 - Neptune
17 - Neptune

Yep - as I indicated above - Airtable would need to provide this as well in such a feature.