Guides · Schedules
How to generate PDFs automatically every month
Some documents go out on the same day every month: invoices, statements, rent receipts, reports. This guide shows how to set up a schedule that reads your data each month, makes that month’s PDFs and saves or emails them, without you starting anything.
What you need
- Data that’s kept up to date in a Google Sheet, a RowScribe dataset or at a web address.
- A PDF template, set up as in the PDF for each row guide.
- RowScribe on the Pro plan or above.
1Keep your data where a schedule can read it
A schedule can’t use a file from your computer, because it runs while you’re away. It reads fresh rows on every run from one of these:
- Google Sheets: the sheet you already keep. Each run reads the whole worksheet as it is that day. Connect your Google account under Account → Connected accounts first, and allow it to open Google Sheets.
- A stored dataset: a table kept in RowScribe. Import it from Excel or CSV, edit it there, and every run uses your latest edits.
- A web address: a CSV, JSON or Excel file from your own system or an API. Placeholders like {{ previous_month }} in the address are filled in on each run, so it can ask for last month’s data.
2Make the template
The template is the same kind you’d use for a one-off job, with your column names in curly braces where the data goes. Run it once as an ordinary job to check it: a schedule makes exactly the same documents.
For invoices or statements with line items, see invoices from a spreadsheet.
3Create the schedule and set the day
Go to Schedules and click + New Schedule. Give it a name, then under When it runs choose Every month and pick the day of the month and the time.
- Timezone is taken from your browser. Change it if the documents are for people somewhere else.
- Starts on and Ends on are optional, for a schedule that should only run for a set period.
- Next runs shows exactly when it will run, so you can check before saving.
4Choose the job, the data and its limits
Choose the job type (PDF, or Email with PDF Attachments for an email with each PDF attached), pick your template, and choose the data source from step 1. If the data has no column for something the template prints, the form says which, and that value prints blank on each run.
Two options under Advanced options, at the bottom of the form, keep a schedule from wasting your allowance:
- Skip runs when data hasn’t changed since last time: a month where nothing changed makes nothing and counts nothing. A run with no rows at all is skipped too.
- Maximum rows per run: a safety cap. If a run would make more documents than this, it stops instead of using up your allowance.
Want someone to check each month first? With a stored dataset, tick Require approval before sending. The people you choose get an email before each run (3 days before, unless you change it) to approve it, and to fill in any values you’ve marked in the dataset to change each run, such as hours worked or an amount due. Nothing goes out until then. Approval works for schedules that run at most once a day, so a monthly one qualifies.
5Choose where the PDFs go
For a PDF schedule, choose one of these. An Email with PDF Attachments schedule always sends from your Gmail or Outlook.
- Save for download: each run’s file waits on your Jobs page.
- Send from my Gmail / Outlook: email each person their own PDF from your own address; see emailing each person their PDF.
- Email ZIP: one email from RowScribe with all of that run’s PDFs, to people in your workspace or addresses that have been verified.
- Send to webhook: your own system gets a message after each run, with a link to download its PDFs.
Click Create schedule. The schedule then runs at its first scheduled time.
6Test it with Run now, then check its runs
You don’t have to wait a month to see it work. On the Schedules list, click Run now. It starts a run without waiting for the day, through the same steps, and its documents count like any run’s; with approval on, it asks for approval first. Then click Runs to see the result.
Each run shows when it started, whether it completed, was skipped or failed, how many rows it read, how long it took, a View link to its job, and why if it didn’t complete.
Common problems
- A run says Skipped
- Nothing was made and nothing counted. The data hadn’t changed (with Skip runs when data hasn’t changed on), it had no rows, or something it needs wasn’t available, such as a mailbox or Google account whose connection ended. The run’s Error column says which. The next run picks up again once that’s fixed.
- The schedule paused itself
- It failed 10 times in a row, 3 times in a row because your documents had run out or its webhook delivery failed, or once because of a problem in its own settings. Whoever created the schedule gets an email with the reason. Fix the cause, then click Resume.
- A value is suddenly blank on every document
- A column header in your sheet or dataset was renamed. A run still goes out with that value blank, so rename the header back, or change the template to match. If the renamed column holds the email address or subject, or none of the template’s columns match any more, the run fails instead.
- A run failed for having too many rows
- The data had more rows than Maximum rows per run. Raise the limit under the schedule’s advanced options, or check the data for extra rows.
- It ran at the wrong time
- Check the schedule’s Timezone. Times are in that zone, not necessarily your own.
Questions
More in the main FAQ.
Which plan do I need?
Schedules start on Pro. See pricing.
What does each run count toward my allowance?
One document for each PDF the run makes. A skipped run makes nothing and counts nothing.
Can I use an Excel file?
Not one on your computer, since the schedule runs without you. Import it into a RowScribe dataset and update the dataset each month, save it as a Google Sheet, or publish it at a web address the schedule can read.
Can it run on a different day, like every Monday?
Yes. A schedule can run once, every hour, every day, every week on the days you choose, or every month.
Let your spreadsheet do the paperwork.
Set it up once, and next month’s documents make themselves.
Excel and Outlook are trademarks of the Microsoft group of companies. Google Sheets and Gmail are trademarks of Google LLC. RowScribe is not affiliated with, sponsored or endorsed by these companies.