Troubleshooting Document Studio
When a workflow doesn’t do what you expect, Document Studio has usually written the reason down. Look in two places before you change anything: the status columns of the row, and the log sheet.
Step 1: Read the Row’s Status
Section titled “Step 1: Read the Row’s Status”Each task adds a column to the right of your data, named like [Document Studio] Email Status #k3x9a2. Find the row and read the cell.
| The cell shows | Meaning |
|---|---|
| A link, a file name or a short confirmation | The task ran for this row |
| Nothing | The task has not run for this row |
| Text that starts with Scheduled | A time delay holds the row until that time |
| An error message | The task tried and failed. The message says why. |
Step 2: Read the Log Sheet
Section titled “Step 2: Read the Log Sheet”Document Studio keeps a hidden sheet named Document Studio Logs in your spreadsheet. Each run adds lines at the top, with the time and what happened.
-
In Google Sheets, open the View menu and choose Show hidden sheets [VERIFY: confirm the current menu label for showing hidden sheets], then click
Document Studio Logs. -
Read from row 2 down. The newest line is first.
The line starts with Meaning ✔️ A step that worked ⚠️ A warning. The run continued. ❌ An error. The message follows. -
Hide the sheet again when you are done. Don’t edit or delete it.
Step 3: Open the Run Step
Section titled “Step 3: Open the Run Step”Open Actions for the workflow and choose Run Now. Sheet Status tells you how many rows are waiting, processed, empty, hidden or outside the conditions, and the top of the screen shows what is left of your limit. See Run a Workflow.
The Workflow Didn’t Run by Itself
Section titled “The Workflow Didn’t Run by Itself”| Check | Fix |
|---|---|
| The dashboard shows On Demand beside the workflow | No trigger is on. Edit the workflow and select a trigger on the Save step. |
| The workflow shows On Form Submit, but the row was typed by hand | A form trigger runs only for form submissions. Run the row by hand, or turn on Run workflow every hour. |
| You are on the free plan | Hourly runs and time delays need a paid plan |
| Your limit is used up | Wait for it to reset, or upgrade. Open the Run step to see the quota. |
| It worked before and stopped | Choose Document Studio > Help & Support > Recreate Triggers |
Each trigger belongs to an editor who saved a workflow, in that editor’s Google account. If the only editor with a trigger lost access to the spreadsheet or left the organisation, another editor must open the workflow and save it. Saving creates a trigger in their own account. See Triggers.
Rows Were Skipped
Section titled “Rows Were Skipped”- The row was processed earlier. Its status cells are filled. See Process a Row Again.
- The row doesn’t match the conditions. Open the Conditions step and compare the rule with the cell, letter by letter. See Conditions.
- The row is hidden or filtered. Show the row in the sheet.
- The row looks empty. A row whose cells hold only
TRUE,FALSEor formula errors such as#N/Acounts as empty. - You copied a row with its status cells. Clear the cells in the
[Document Studio]columns of the new row.
Markers Were Not Replaced
Section titled “Markers Were Not Replaced”{{Name}}shows in the document as typed. No column has that title. Check the spelling against row 1 of the sheet. Close Document Studio and open it again after you rename a column.- The marker became a blank. The cell of that row is empty.
- Only part of a marker was replaced in Google Docs. The marker has mixed formatting, such as half of it in bold. Delete it and type it again in one go.
- A date or number looks different from the sheet. Document Studio uses what the cell shows. Format the column in the sheet. See Date Markers and Change the Time Zone.
See Markers.
No File Was Created
Section titled “No File Was Created”| Message | Fix |
|---|---|
| Please select a template | The task has no template, or the template was deleted. Edit the task and choose it again. |
| Parent folder for saving files is unavailable | The Drive folder was deleted or you lost access. Choose another folder. |
| Google Drive is experiencing issues. Please try again after few minutes. | Wait, then run the row again |
| Sorry, your daily limit of 2000 documents is exhausted. | Wait for the limit to reset |
| Sorry, your free limit of 25 documents per week is exhausted. | Wait for the next week, which starts on Sunday in GMT, or upgrade |
For files in a shared drive, see Shared Drive Files.
No Email Was Sent
Section titled “No Email Was Sent”| Message or symptom | Fix |
|---|---|
| No email quota available for the day | Gmail’s limit for your account is used up. It resets within 24 hours. |
| Gmail cannot send emails at this time. Please try after some time | Google refused the email for now. Run the row again later. |
| The status shows an error about a tag | A scriptlet in the subject or body has a mistake |
| The email came to you, not to the recipient | You used Preview, or the row had no valid address. Check the Email cell. |
| The email was sent, but the recipient can’t find it | Look in your Gmail Sent folder to confirm, then ask them to check Spam |
| The attachment is missing | Put Create File above Send Email, and select Attach all merged files generated in this workflow |
The Window Won’t Open
Section titled “The Window Won’t Open”- A blank window, or an error that mentions your account: several Google accounts are signed in. Sign out of the others, or use an Incognito window with one account.
- “The account … does not have permission to access the Google Sheet.” You need edit access to the spreadsheet.
- “Authorization required”: click through and allow the permissions.
- Document Studio is missing from the menu: see Install.
A Connected App Stopped Working
Section titled “A Connected App Stopped Working”Slack, Trello, Airtable and the other apps are connected with a sign-in or a key. If someone changed the password or removed the connection in that app, the task fails. Edit the task and connect the account again.
Send the Logs to Support
Section titled “Send the Logs to Support”-
Open the Extensions menu and choose Document Studio > Help & Support > Submit Debug Logs.
-
Type a short description of the problem and click OK.
-
Write to support from the same address. Say which workflow and which row number is affected, and what you expected.
The report has your description, what is left of your limits, your Gmail aliases, your Drive storage, the triggers and the settings of every workflow in the spreadsheet, with the names and column titles of its sheets. The settings include any key or password that you typed into a task. The report doesn’t include your rows or your documents.
