Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

You can use this Google Sheets Subscribe Snap to subscribe to the specified spreadsheet for notifications of the changes in the Google Sheet.

...

  • This Snap does not support Shared Drive or other Drives—it supports only My Drive.

  • If You will receive multiple notifications if you subscribe to a Spreadsheet with multiple channels simultaneously, you will receive multiple notifications.

  • If you configure Webhook URL using a Triggered task, there is a two to four-minute delay in receiving notifications on the Channel or Spreadsheet.

...

Field Name

Field Type

Description

Label*

Default ValueGoogle Sheet Sheets Subscribe
ExampleSubscribe Accounts

String

Specify a unique name for the Snap.

Include Shared Drives

Default Value: Deselected
Example: Selected

Checkbox

Select this checkbox to include files from the shared drive.

Deselect this checkbox to exclude files from the shared drive.

This Snap does not support Shared Drive or other Drives—it supports only My Drive.

Display Spreadsheet ID in Suggestions

Default Value: Deselected
Example: Selected

Checkbox

Select this checkbox to display Spreadsheets ID with the Spreadsheet name in the Spreadsheets Suggestions list.

Spreadsheet

Default value: N/A
Example: My Google Sheet

String/Expression/Suggestion

Specify or select the spreadsheet name or ID (or both) containing the worksheet to be subscribed to.

Webhook URL

Default value: N/A
Example: https://snap.elastic.snaplogicdev.com/api/1/rest/slsched/feed/QA/AccountValidation/shared/Test_PipelineyPHNzSUAvY7pUxZhjei35rgkCJ87gzzr

String/Expression

Specify the Webhook URL to allow Google to send notifications.

Webhook URL is similar to Target URL. To get a target URL, you must create a triggered task. Learn more about Creating a Triggered Task and Running a Triggered Task.

Watch the video for more information about how to obtain Webhook URL.

Channel ID

Default value: Math.randomUUID()
Example: Math.randomUUID()

String/Expression

Specify a UUID or similar unique string that identifies the channel.

Expiration (in Minutes)

Default value: 60
Example: 40

Integer/Expression

Specify the time in minutes after which the subscription expires.

Note

The maximum allowed subscription time is 24 hours.

Snap Execution

Default ValueValidate & Execute
Example: Execute only

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

...

This example Pipeline demonstrates how to subscribe to and unsubscribe from a spreadsheet using Google Sheet Sheets Subscribe and Unsubscribe Snaps.

...

First, configure the Google Sheet Sheets Subscribe Snap to subscribe to the new spreadsheet for update notifications. Specify the following details:

...