How to Run a Workflow Automatically
A trigger makes a workflow run without you. Document Studio has two: one for Google Forms, which runs the moment a response arrives, and one for Google Sheets, which checks for new rows every hour. You choose them on the Save step.
Without a trigger, a workflow runs only when you click Run Workflow.
Which Trigger to Use
Section titled “Which Trigger to Use”| Your data arrives by | Use | The workflow runs | Plan |
|---|---|---|---|
| A Google Form | Run on Form Submit | Within about a minute of each response | Free and paid |
| People typing or pasting rows into a sheet | Run workflow every hour | About once an hour, for new rows | Paid |
| An import, a formula or another app adding rows | Run workflow every hour | About once an hour, for new rows | Paid |
| You, once in a while | No trigger | When you click Run Workflow | Free and paid |
An Example
Section titled “An Example”Laura is the HR manager at Northwind Logistics. New hires fill in a Google Form with their details. Each response must produce an offer letter as a PDF and an email to the candidate, at once and without Laura opening the sheet. She selects Run on Form Submit.
Her colleague Tom keeps a sheet of supplier contracts that a purchasing tool fills in overnight. No form is involved, so Tom selects Run workflow every hour.
Turn On a Trigger
Section titled “Turn On a Trigger”-
Open your workflow and go to the Save step. Its heading reads Automatic Trigger.
-
Select the options you need:
Option What it does Run on Form Submit Runs the workflow for each new response of the Google Form Run workflow every hour Processes rows that have not been processed yet, about once an hour Skip hidden and filtered rows Has no effect. Runs leave out hidden and filtered rows either way. See below. Add a time delay Holds each row until a time before or after a date in it. See Time Delay. -
Click Save & Close. The trigger is created when you save.

On the list of workflows, each workflow shows how it runs: On Form Submit, Every hour or On Demand.
Run on Form Submit
Section titled “Run on Form Submit”- The option is available when the source sheet is the response sheet of a Google Form. For other sheets it is greyed out, with the note Only available for Google Form response sheets.
- The workflow runs for the response that was just submitted. It runs every task for that response.
- If a respondent edits their response, the workflow runs again for that response.
- The form must be linked to the spreadsheet. In Google Forms, open the Responses tab and click Link to Sheets.
Run Workflow Every Hour
Section titled “Run Workflow Every Hour”- Each hour, Document Studio looks for rows whose status cells are empty and processes them.
- Rows that were processed stay as they are. To process a row again, see Run a Workflow.
- Google chooses the minute of the hour. A new row can wait up to an hour.
- One run works for a few minutes. If many rows are waiting, the rest are handled in the following hours.
- On the free plan, the add-on shows Hourly runs are available in the premium edition of Document Studio.
Skip Hidden and Filtered Rows
Section titled “Skip Hidden and Filtered Rows”You can control a workflow from the sheet itself. Hide the rows that should wait, or apply a filter, and Document Studio leaves them out. Show the rows again, and the next run processes them.
- A run that you start, and the hourly run, always leave out hidden and filtered rows. Clearing this option does not change that.
- Run on Form Submit processes each new response, even if its row is hidden or filtered out.
What Happens After You Save
Section titled “What Happens After You Save”Triggers run with the Google account of the editor who saved the workflow. If other editors save workflows on the same spreadsheet, each of them gets a trigger too, and a run uses the account whose trigger handles it. Emails are sent from that account, and files are created in its Google Drive. See who runs a workflow.
The triggers keep running when the spreadsheet is closed and your computer is off.
Turn Off a Trigger
Section titled “Turn Off a Trigger”To stop one workflow from running by itself:
- Open the workflow and go to the Save step.
- Clear Run on Form Submit and Run workflow every hour.
- Click Save & Close.
To stop every workflow of the spreadsheet at once, open the Extensions menu and choose Document Studio > Help & Support > Disable Triggers. Confirm with Yes.
Repair Triggers
Section titled “Repair Triggers”If workflows stopped running by themselves, create the triggers again:
- Open the spreadsheet.
- Open the Extensions menu and choose Document Studio > Help & Support > Recreate Triggers.
- Click Yes. The add-on shows All triggers have been recreated on this document.
Do this after you change your Google password, after a colleague who created the workflow left, or when automatic runs stopped for no clear reason.
Things to Know
Section titled “Things to Know”- A workflow can use both triggers. Form responses are then handled at once, and the hourly run catches rows that were added by hand.
- An automatic run respects your conditions and your daily limits.
- When the daily limit is reached, automatic runs stop until the next day. Rows that are waiting are processed then.
- Editing a cell does not start a workflow. Only a form submission or the hourly run does.
Troubleshooting
Section titled “Troubleshooting”The workflow does not run when the form is submitted
Section titled “The workflow does not run when the form is submitted”- Open the workflow and check that Run on Form Submit is selected and saved.
- Check that the form’s responses go to the sheet that the workflow uses.
- Run the workflow by hand for the new row. If it works, recreate the triggers as described above.
The hourly run skips new rows
Section titled “The hourly run skips new rows”- The rows have a value in the workflow’s status columns, for example because you copied a row with its status. Clear those cells.
- The rows are hidden or filtered, and Skip hidden and filtered rows is on.
- The rows don’t match the workflow’s conditions.
Automatic runs stopped after they worked for weeks
Section titled “Automatic runs stopped after they worked for weeks”- Your daily limit was reached. Open the Run step to see what is left.
- Your license ended. Hourly runs need a paid plan.
- The account that created the trigger lost access to the spreadsheet. Recreate the triggers with an account that can edit it.
