Google Sheets Unsubscribe

In this article

Overview

You can use Google Sheets Unsubscribe Snap to unsubscribe a Spreadsheet.

image-20240117-053719.png

Snap Type

Google Sheets Unsubscribe Snap is a WRITE-type Snap.

Prerequisites

Valid Spreadsheet OAuth2 Account or Dynamic OAuth2 Account.

Support for Ultra Pipelines ��

Works in Ultra Pipelines

Limitations

  • Due to the Google API behavior, there is a few seconds delay in unsubscribing a Spreadsheet.

  • If a user creates a Channel using a regular User Account, only that specific user from the same client (identified by the OAuth2.0 Client IDs from the Authentication Tokens) who created the channel can unsubscribe.

Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper

  • Copy

Channel ID and Resource ID.

Output

Document

  • Min: 1

  • Max: 1

  • File Writer

Returns the Channel ID and Resource ID of the unsubscribed Spreadsheet.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default ValueGoogle Sheets Unsubscribe
Example: Unsubscribe Accounts Sheet

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

 

Channel ID

Default value: N/A
Example: 123e4567-e89b-12d3-a456-42661417400

String/Expression

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

Resource ID

Default value:
Example: 9DAX6QMX4TWySd_evM14cly-N678

String/Expression

Specify an ID that identifies the resource being watched on the specified channel.

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.


Example

Google Sheets Subscribe | Subscribing and Unsubscribing to a Google Spreadsheet

Download this Pipeline

Downloads

  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

 

  File Modified

File Example_Google Sheets_Subscribe_ Unsubscribe.slp

Jun 21, 2022 by Kalpana Malladi

 


Related Links