Skip to content
Digital Inspiration DocsDigital Inspiration Docs

Preview runs a task, or the whole workflow, once with sample values. Use it to check the document, the email and the file name before the workflow touches your real rows.

A preview does real work. It creates a real file in Google Drive and sends a real email, but the email goes to you and not to the recipients of the task. A preview does not write to the sheet, and it does not mark a row as processed.

Maya’s workflow creates a certificate and emails it to the student. Before she runs it for 40 students, she wants to see one certificate and one email in her own inbox.

  1. Open the workflow and go to the Tasks step.

  2. Click Edit beside the task, such as Create File.

  3. Fill in the task, then click Preview. Document Studio checks the required fields first and shows a message if one is empty.

  4. The Preview Task screen lists every column of your sheet under Sample Data, with the values of the first data row.

  5. Change the values that matter. Maya types her own name in Name, to see how a long name fits on the certificate.

  6. Click Test Task. The message Test complete! appears when the task has run. For a file task, a View File link appears below the sample data.

  7. Check the result in the place where the task writes:

    Task Where to look
    Create File The folder that the task saves to, in Google Drive
    Send Email Your own inbox. A preview sends the email to your address only, with no CC or BCC.
    Slack, Google Chat The channel or space that the task posts to
    Webhook The app that receives the request
  8. Click Test Again to repeat the test with other values, or Continue to return to the task.

If the task reports a problem, the message shows in the yellow box below the sample data.

  1. Go to the Save step of the workflow.

  2. Click Preview. The Preview Workflow screen opens with the same sample data.

    Preview Workflow screen with a Sample Data box for each column of the sheet and the Test Workflow button
    Change any sample value, then click Test Workflow (1).
  3. Change the values and click Test Workflow.

Every task runs once, from top to bottom. A later task uses what an earlier task made, so the test email has the test certificate attached.

Part of the workflow In a preview
Conditions Not checked. Every task runs.
Time delay Ignored. The task runs at once.
Status columns in the sheet Not written
The recipients of Send Email Replaced by your own address
Your limit of documents and emails Counted. A test file uses one document of your limit.

To test a condition, run the workflow for one real row instead. See Run a Workflow.

  • Sample values come from row 2 of the sheet, the first row below the titles. If the sheet has only titles, the boxes are empty and you type every value.
  • Your changes to the sample data are kept while the window is open. They never change the sheet.
  • A preview never emails your recipients. The test email goes to the Google account that you are signed in with, whatever the sample data says.
  • Other tasks do reach real people. A preview of Slack, SMS, WhatsApp or Webhook posts to the real channel, phone number or address. Point the task at a test channel or your own number first.
  • Delete the test files from Drive afterwards. A preview’s file looks like a real one.
  • A preview needs a saved place to write. Choose the template and the folder in the task before you click Preview.

Document Studio could not read the sheet. Check that Source Worksheet on the Source step names a sheet with column titles in row 1.

  • The sample value for that column is empty. Type a value and click Test Again.
  • The marker in the template doesn’t match the column title. See Markers.

A preview sends the email to your own address. Look in your inbox and in Spam. If the email is not there, read the message in the yellow box below the sample data.

“Generating sample data…” doesn’t finish

Section titled ““Generating sample data…” doesn’t finish”

Close Document Studio and open it again. If several Google accounts are signed in, sign out of the others first.