Skip to content

Commit

Permalink
Remove section on triggering based on moves since I cannot get it to …
Browse files Browse the repository at this point in the history
…work
  • Loading branch information
imchairmanm committed Dec 19, 2024
1 parent f7d72d6 commit fb1e027
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ To resolve:
1. [Enable domain-wide delegation](/integrations/builtin/credentials/google/service-account/#enable-domain-wide-delegation).
2. Make sure you add the Google Drive API as part of the domain-wide delegation configuration.

## Handling more than one file change

The Google Drive Trigger node polls Google Drive for changes at a set interval (once every minute by default).

If multiple changes to the **Watch For** criteria occur during the polling interval, a single Google Drive Trigger event occurs containing the changes as items. To handle this, your workflow must account for times when the data might contain more than one item.

You can use an [if node](/integrations/builtin/core-nodes/n8n-nodes-base.if/) or a [switch node](/integrations/builtin/core-nodes/n8n-nodes-base.switch/) to change your workflow's behavior depending on whether the data from the Google Drive Trigger node contains a single item or multiple items.

## Google Drive Trigger not capturing when file moved into a folder

To trigger a workflow when a file is moved into a Google Drive folder, you can set a Google Drive Trigger node to watch for file changes.

Check warning on line 34 in docs/integrations/builtin/trigger-nodes/n8n-nodes-base.googledrivetrigger/common-issues.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [from-write-good.Passive] 'is moved' may be passive voice. Use active voice if you can. Raw Output: {"message": "[from-write-good.Passive] 'is moved' may be passive voice. Use active voice if you can.", "location": {"path": "docs/integrations/builtin/trigger-nodes/n8n-nodes-base.googledrivetrigger/common-issues.md", "range": {"start": {"line": 34, "column": 35}}}, "severity": "WARNING"}
Expand Down

0 comments on commit fb1e027

Please sign in to comment.