Skip to content
Digital Inspiration DocsDigital Inspiration Docs

A workflow reads its data from one sheet of a Google Spreadsheet. Row 1 holds the column titles, and each row below it is one record: one certificate, one invoice, one email. A sheet that is laid out this way works without surprises.

Maya’s Certificates sheet looks like this:

Name Email Course Completion Date
Daniel Okafor daniel@example.com Pottery Basics 14 Mar 2027
Sofia Marquez sofia@example.com Weaving 14 Mar 2027
  • Row 1 has the titles. Each title becomes a marker, such as {{Name}}. See Column Titles.
  • One row is one record. Don’t split a record over two rows.
  • The data starts in row 2, with no blank rows above or between the records.
  • No merged cells, totals rows or notes inside the data.

For a first test, type three or four rows by hand. Use your own email address in the rows, so the test emails come to you.

  1. Open a new Google Sheet. Type sheets.new in your browser’s address bar.

  2. Open the File menu and choose Import.

  3. Click Upload and choose the .xlsx, .xls or .csv file from your computer.

    Import file window in Google Sheets with the Upload tab

  4. In Import location, choose Replace current sheet, then click Import data.

  5. Check row 1. If the file had a heading or a logo above the titles, delete those rows so the titles are in row 1.

You can run Document Studio in the spreadsheet where the data already is. To work on a copy instead:

  1. Open the spreadsheet that has the data.

  2. Click the arrow on the sheet’s tab at the bottom, and choose Copy to > Existing spreadsheet.

    Sheet tab menu in Google Sheets with Copy to

  3. Choose the spreadsheet where you will build the workflow.

A form’s response sheet already has the right layout. Google Forms writes the question titles in row 1 and adds one row for each response.

  • Submit one test response before you build the workflow. Document Studio uses the first response as sample data.
  • You can add your own columns to the right of the answers, such as a formula that works out a total. See Google Forms Markers.
  • Don’t insert rows by hand between the responses.

When a workflow runs, each task adds its own column to the right of your data, named like [Document Studio] File Status #k3x9a2. The cell holds the result for that row, such as a link to the file. Leave these columns in place. They are how Document Studio knows which rows are done. See How Document Studio Remembers What It Did.

  • A workflow reads one sheet. If your data is on several tabs, bring it together on one tab, or create a workflow for each tab.
  • Document Studio reads what the cell shows. A date formatted as 14 Mar 2027 goes into the document as 14 Mar 2027. Format the column in the sheet the way you want it to read. See Date Markers.
  • Empty rows are skipped. A row counts as empty when no cell has a value. Cells that show only TRUE, FALSE or a formula error such as #N/A also count as empty.
  • Hidden and filtered rows are skipped. Show a row in the sheet to have it processed. See Triggers.
  • Don’t sort the sheet while a workflow is running.

The sheet has titles but no records, or the records are on another tab. Open the workflow and check Source Worksheet on the Source step.

  • The title cell in row 1 is empty. Type a title.
  • You added the column while Document Studio was open. Close the window and open it again.

Open the Run step and click Show details. The row is listed under the group that explains it: processed earlier, empty, hidden or not matching the conditions. See Run a Workflow.

Numbers lose their format, such as 0042 becoming 42

Section titled “Numbers lose their format, such as 0042 becoming 42”

Google Sheets treats the cell as a number. Select the column, open the Format menu and choose Number > Plain text, then type the values again.