Blog

How to Give Emailed Quickbase PDFs a Custom File Name with Pipelines

Recurring notifications still attach document-template PDFs as document-1. Replace the notification with a scheduled pipeline: Search Records, Generate Document as a PDF, and Gmail Send an Email with a custom attachment file name.

Rename emailed PDFs from document-1.pdf to Invoice-1047.pdf with Generate Document and Gmail Send an Email

A question on the Quickbase community has been open for a while: a recurring notification attaches a PDF built from a document template, and the file always arrives as "document-1". Customers open an inbox full of identical attachments and can't tell which invoice is which. Is there a way to rename it?

The original thread is here: File Name for PDF attachments.

For the notification itself, the answer is still no. But two Pipelines releases make it possible to send the same email from a scheduled pipeline instead, and that route lets you name the file whatever you want. This guide walks through it.

What changed

Two releases, both marked Released in the Quickbase release notes:

  • Generate Document step in the Quickbase channel (released October 14, 2025). It builds a PDF or Word file from one of your existing document templates, inside a pipeline. Release note
  • Custom attachment file names in Gmail Send an Email (released April 21, 2026). You can now type a file name for each attachment. If you leave it blank, the name is chosen automatically as before. Release note

Put them together and you get the email the notification was sending, with an attachment named Invoice-1047.pdf instead of document-1.pdf.

Before you start

Check these first, because each one can stop the whole approach:

  • Plan for Generate Document. The release note lists Team, Business and Enterprise, but the Quickbase channel help page says the Generate Document step is only available on Business and Enterprise plans and is blocked on Team. If you're on Team, test it before you plan around it.
  • A paid Google Workspace account. The Gmail channel doesn't work with personal Gmail accounts, and a Workspace super admin has to mark the Quickbase Pipelines Gmail app as trusted in the Google Admin console first. Quickbase's help article "Set up a Quickbase Pipelines Google Workspace connector" has the exact steps.
  • The email comes from that Gmail account, not from Quickbase's notification address. Usually that's an improvement (replies go to a real mailbox), but tell people the sender is changing.
  • A field you can use in the name, such as an invoice number or customer name, plus a status or checkbox field to mark records as sent.

The pipeline at a glance

Scheduled pipeline: Search Records, then for each record Generate Document, Gmail Send an Email with a custom file name, and Update Record

The notification fired on a schedule, so the pipeline does too. It finds the records that need an email, then for each one generates the PDF, emails it with your file name, and marks the record as sent.

Step 1: Add a "sent" marker to the table

In the table the notification runs on (say, Invoices), make sure you have a way to tell which records still need to go out. A Status field with values like Ready to send and Sent works, or a checkbox called Invoice Emailed.

This matters more than it looks. A scheduled pipeline has no memory of what it sent last time, so without a marker it will email the same invoices on every run.

Step 2: Create the pipeline and search for records

  1. In Pipelines, create a new pipeline and don't add a trigger step. Only pipelines without a trigger can be scheduled.
  2. Add the Quickbase channel's Search Records step. Pick your app and the Invoices table.
  3. Add the conditions the notification used, plus your marker. For example: Status is Ready to send.
  4. Select the fields you'll need later: Record ID#, invoice number, customer name and the customer's email address.

Records found by the search are handled one at a time in a loop, so the next steps go inside it.

Step 3: Generate the PDF for each record

Inside the loop, add the Quickbase channel's Generate Document step:

  1. Choose the same app and table.
  2. Pick the document template the notification was attaching.
  3. Set the format to PDF.
  4. Map the record from the search step (its Record ID#) so the document is built for that specific invoice.

Two notes from the help docs: after you edit a template, allow up to 15 minutes before pipelines pick up the change. And the step hands the next steps a file reference, so any problem with the document itself shows up as an error on the step that uses it.

This step also fixes a quiet limitation of scheduled notifications. When you attach a document to a scheduled custom email, Quickbase isn't tied to a single record, so it can only fill in static text and reports, not field values. The pipeline builds the document per record, so fields fill in normally.

Step 4: Send it with Gmail and name the attachment

Still inside the loop, add the Gmail channel's Send an Email step and connect your Workspace account.

  1. To: the customer email field from the search step.
  2. Subject and body: copy them over from the old notification and swap in fields from the search step, for example Invoice {{invoice number}} from our team.
  3. Attachment: select the file produced by the Generate Document step.
  4. File name: build the name from record fields, for example Invoice- followed by the invoice number field and then .pdf.

Pipelines refer to earlier steps by letter, so the field reference looks something like {{a.invoice_number}} depending on how your pipeline is laid out. Insert it from the field picker rather than typing it.

Some tips on the file name:

  • Always include .pdf. The name you type is the whole name. Leave the extension off and some mail clients won't know how to open the file. That's the exact problem the release note says this setting was added to fix.
  • Keep it plain. Letters, numbers, hyphens and underscores are safest. Slashes or colons from a customer name can produce odd results, so use a formula field to clean the name up if needed.
  • More than one attachment? Put one file name per line, in the same order as the attachments.
  • Size limit. Gmail caps a message with attachments at 25 MB, which matters if the template embeds big reports or images.

Step 5: Mark the record as sent

After Send an Email, add the Quickbase Update Record step for the same Record ID# and set Status to Sent (or tick the checkbox). On the next run the search won't pick it up again.

Step 6: Test, then schedule

  1. Point a test invoice at your own address, for example a record where the contact is Sarah Lee with your email in the email field, and set it to Ready to send.
  2. Run the pipeline manually. Check the attachment name, open the PDF, and confirm the record changed to Sent.
  3. Use Schedule pipeline in the pipeline designer to choose the frequency (hourly, daily, weekly, monthly, or a CRON expression) and time zone.
  4. Turn off the old recurring notification so customers don't get two emails.

Editing a scheduled pipeline switches it off. Whenever you change it later, remember to turn it back on.

What still doesn't work

To be clear about the limits:

  • Notifications and custom emails still can't rename the document. The custom email help still offers no file name option for generated documents, so anything sent from a notification arrives as "document-1". If you'd rather keep the notification, vote for the feedback item linked in the community thread.
  • This route uses the Gmail channel. I haven't confirmed whether other email channels have the same file name setting, so I'm only recommending Gmail here.
  • No Workspace, no Gmail step. If your company is on a personal Gmail account or another email provider, this exact setup isn't available to you.

Wrapping up

The notification can't rename its attachment, but a scheduled pipeline can send the same email: Search Records, then Generate Document with your template as a PDF, then Gmail Send an Email with a file name built from the record, then mark it sent. Customers get Invoice-1047.pdf instead of yet another document-1.pdf, and you get a pipeline run history that shows what went out and when.