Skip to content

Commit 4c5f61e

Browse files
add alert to new files instant trigger
1 parent eb89d97 commit 4c5f61e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

components/google_drive/sources/new-files-instant/new-files-instant.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ export default {
1010
key: "google_drive-new-files-instant",
1111
name: "New Files (Instant)",
1212
description: "Emit new event when a new file is added in your linked Google Drive",
13-
version: "0.1.11",
13+
version: "0.1.12",
1414
type: "source",
1515
dedupe: "unique",
1616
props: {
1717
...common.props,
18+
alert: {
19+
type: "alert",
20+
content: "For shared drives, prefer to use [New Files (Shared Drive)](https://pipedream.com/apps/google-drive/triggers/new-files-shared-drive) instead. \
21+
It provides a more reliable way to track changes using polling. \
22+
Shared drive notifications may be delayed or incomplete, as they don't immediately reflect all changes made by other users. \
23+
For more details, see [Google's documentation](https://developers.google.com/drive/api/guides/about-changes#track_shared_drives).",
24+
},
1825
folders: {
1926
type: "string[]",
2027
label: "Folders",

0 commit comments

Comments
 (0)