← GetResponse + Google Sheets integrations

Update Formatting with Google Sheets API on New Landing Page from GetResponse API

Pipedream makes it easy to connect APIs for Google Sheets, GetResponse and 2,900+ other apps remarkably fast.

Trigger workflow on
New Landing Page from the GetResponse API
Next, do this
Update Formatting with the Google Sheets API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a GetResponse trigger and Google Sheets action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Landing Page trigger
    1. Connect your GetResponse account
    2. Configure Polling schedule
  3. Configure the Update Formatting action
    1. Connect your Google Sheets account
    2. Optional- Select a Drive
    3. Select a Spreadsheet ID
    4. Select a Worksheet ID
    5. Configure Range
    6. Optional- Configure Background Color Red Value
    7. Optional- Configure Background Color Green Value
    8. Optional- Configure Background Color Blue Value
    9. Optional- Configure Text Color Red Value
    10. Optional- Configure Text Color Green Value
    11. Optional- Configure Text Color Blue Value
    12. Optional- Configure Font Size
    13. Optional- Configure Bold
    14. Optional- Configure Italic
    15. Optional- Configure Strikethrough
    16. Optional- Select a Horizontal Alignment
    17. Optional- Select a Top Border Style
    18. Optional- Select a Bottom Border Style
    19. Optional- Select a Left Border Style
    20. Optional- Select a Right Border Style
    21. Optional- Select a Inner Horizontal Border Style
    22. Optional- Select a Inner Vertical Border Style
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a landing page is created. [See the docs here](https://apireference.getresponse.com/?_ga=2.47520738.499257728.1666974700-2116668472.1666974700&_gl=1*1f3h009*_ga*MjExNjY2ODQ3Mi4xNjY2OTc0NzAw*_ga_EQ6LD9QEJB*MTY2Njk3NzM0Ny4yLjEuMTY2Njk3ODQ3OS4zNi4wLjA.#operation/getLandingPageList)
Version:0.0.2
Key:getresponse-new-landing-page

GetResponse Overview

GetResponse API integrates email marketing and online campaign management tools into your applications for creating and managing mailing lists, newsletters, automated campaigns, and more. With Pipedream, this functionality expands, allowing you to automate workflows between GetResponse and various apps. Integration can trigger actions like updating contacts, processing event-driven emails, or syncing subscriber lists across platforms.

Trigger Code

import common from "../common.mjs";
import constants from "../../common/constants.mjs";

export default {
  ...common,
  key: "getresponse-new-landing-page",
  name: "New Landing Page",
  description: "Emit new event when a landing page is created. [See the docs here](https://apireference.getresponse.com/?_ga=2.47520738.499257728.1666974700-2116668472.1666974700&_gl=1*1f3h009*_ga*MjExNjY2ODQ3Mi4xNjY2OTc0NzAw*_ga_EQ6LD9QEJB*MTY2Njk3NzM0Ny4yLjEuMTY2Njk3ODQ3OS4zNi4wLjA.#operation/getLandingPageList)",
  type: "source",
  version: "0.0.2",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getResourceFn() {
      return this.app.getLandingPages;
    },
    getResourceFnArgs() {
      return {
        params: {
          [constants.QUERY_PROP.CREATED_ON_FROM]: this.getLastCreatedAt(),
          [constants.SORT_PROP.CREATED_ON]: "DESC",
        },
      };
    },
    generateMeta(resource) {
      return {
        id: resource.landingPageId,
        ts: Date.parse(resource.createdOn),
        summary: `Landing Page ID ${resource.landingPageId}`,
      };
    },
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
GetResponseappappThis component uses the GetResponse app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling scheduletimer$.interface.timer

How often to poll the GetResponse API

Trigger Authentication

GetResponse uses API keys for authentication. When you connect your GetResponse account, Pipedream securely stores the keys so you can easily authenticate to GetResponse APIs in both code and no-code steps.

To connect GetResponse to Pipedream,

About GetResponse

Trusted Inbound Marketing Software

Action

Description:Update the formatting of a cell in a spreadsheet. [See the documentation](https://developers.google.com/workspace/sheets/api/samples/formatting)
Version:0.0.1
Key:google_sheets-update-formatting

Google Sheets Overview

The Google Sheets API allows for the creation, reading, updating, and deletion of data within Google Sheets, enabling a robust platform for spreadsheet management and data manipulation. Through Pipedream, you can craft serverless workflows that respond to various triggers, such as webhook events, emails, or scheduled times, to interact with Google Sheets. This synergy can automate reporting, synchronize data across applications, manage inventory, track leads in a CRM, or even conduct survey analysis by updating and retrieving sheet data on the fly.

Action Code

import googleSheets from "../../google_sheets.app.mjs";
import {
  BORDER_STYLES, HORIZONTAL_ALIGNMENTS,
} from "../../common/constants.mjs";

export default {
  key: "google_sheets-update-formatting",
  name: "Update Formatting",
  description: "Update the formatting of a cell in a spreadsheet. [See the documentation](https://developers.google.com/workspace/sheets/api/samples/formatting)",
  version: "0.0.1",
  type: "action",
  annotations: {
    destructiveHint: true,
    openWorldHint: true,
    readOnlyHint: false,
  },
  props: {
    googleSheets,
    drive: {
      propDefinition: [
        googleSheets,
        "watchedDrive",
      ],
      description: "The drive containing the worksheet to update. If you are connected with any [Google Shared Drives](https://support.google.com/a/users/answer/9310351), you can select it here.",
    },
    sheetId: {
      propDefinition: [
        googleSheets,
        "sheetID",
        (c) => ({
          driveId: googleSheets.methods.getDriveId(c.drive),
        }),
      ],
      description: "The spreadsheet containing the worksheet to update",
    },
    worksheetId: {
      propDefinition: [
        googleSheets,
        "worksheetIDs",
        (c) => ({
          sheetId: c.sheetId,
        }),
      ],
    },
    range: {
      propDefinition: [
        googleSheets,
        "range",
      ],
      description: "The range of cells to update. E.g., `A1:A10`",
    },
    backgroundColorRedValue: {
      type: "string",
      label: "Background Color Red Value",
      description: "The amount of red in the color as a value in the interval [0, 1]",
      optional: true,
    },
    backgroundColorGreenValue: {
      type: "string",
      label: "Background Color Green Value",
      description: "The amount of green in the color as a value in the interval [0, 1]",
      optional: true,
    },
    backgroundColorBlueValue: {
      type: "string",
      label: "Background Color Blue Value",
      description: "The amount of blue in the color as a value in the interval [0, 1]",
      optional: true,
    },
    textColorRedValue: {
      type: "string",
      label: "Text Color Red Value",
      description: "The amount of red in the color as a value in the interval [0, 1]",
      optional: true,
    },
    textColorGreenValue: {
      type: "string",
      label: "Text Color Green Value",
      description: "The amount of green in the color as a value in the interval [0, 1]",
      optional: true,
    },
    textColorBlueValue: {
      type: "string",
      label: "Text Color Blue Value",
      description: "The amount of blue in the color as a value in the interval [0, 1]",
      optional: true,
    },
    fontSize: {
      type: "integer",
      label: "Font Size",
      description: "The size of the font",
      optional: true,
    },
    bold: {
      type: "boolean",
      label: "Bold",
      description: "Whether the font should be bold",
      optional: true,
    },
    italic: {
      type: "boolean",
      label: "Italic",
      description: "Whether the font should be italic",
      optional: true,
    },
    strikethrough: {
      type: "boolean",
      label: "Strikethrough",
      description: "Whether the font should be strikethrough",
      optional: true,
    },
    horizontalAlignment: {
      type: "string",
      label: "Horizontal Alignment",
      description: "The horizontal alignment of the text",
      options: HORIZONTAL_ALIGNMENTS,
      optional: true,
    },
    topBorderStyle: {
      type: "string",
      label: "Top Border Style",
      description: "The style of the top border",
      options: BORDER_STYLES,
      optional: true,
    },
    bottomBorderStyle: {
      type: "string",
      label: "Bottom Border Style",
      description: "The style of the bottom border",
      options: BORDER_STYLES,
      optional: true,
    },
    leftBorderStyle: {
      type: "string",
      label: "Left Border Style",
      description: "The style of the left border",
      options: BORDER_STYLES,
      optional: true,
    },
    rightBorderStyle: {
      type: "string",
      label: "Right Border Style",
      description: "The style of the right border",
      options: BORDER_STYLES,
      optional: true,
    },
    innerHorizontalBorderStyle: {
      type: "string",
      label: "Inner Horizontal Border Style",
      description: "The style of the inner horizontal border",
      options: BORDER_STYLES,
      optional: true,
    },
    innerVerticalBorderStyle: {
      type: "string",
      label: "Inner Vertical Border Style",
      description: "The style of the inner vertical border",
      options: BORDER_STYLES,
      optional: true,
    },
  },
  async run({ $ }) {
    const ASCII_A = 65;    // Unicode (UTF-16) value for the character 'A'
    const OFFSET_INCLUSIVE = -1;  // For making the end column index inclusive
    const {
      startCol,
      endCol,
      startRow,
      endRow,
    } = this.googleSheets._parseRangeString(`${this.worksheetId}!${this.range}`);

    const range = {
      sheetId: this.worksheetId,
      startRowIndex: startRow,
      endRowIndex: endRow,
      startColumnIndex: startCol.charCodeAt(0) - ASCII_A,
      endColumnIndex: endCol.charCodeAt(0) - (ASCII_A + OFFSET_INCLUSIVE),
    };

    const hasBorderStyles = this.topBorderStyle
      || this.bottomBorderStyle
      || this.leftBorderStyle
      || this.rightBorderStyle
      || this.innerHorizontalBorderStyle
      || this.innerVerticalBorderStyle;

    const hasRepeatCellStyles = this.backgroundColorRedValue
      || this.backgroundColorGreenValue
      || this.backgroundColorBlueValue
      || this.textColorRedValue
      || this.textColorGreenValue
      || this.textColorBlueValue
      || this.fontSize
      || this.bold || this.italic || this.strikethrough || this.horizontalAlignment;

    const requests = [];
    if (hasBorderStyles) {
      const updateBorders = {
        range,
      };
      if (this.topBorderStyle) {
        updateBorders.top = {
          style: this.topBorderStyle,
        };
      }
      if (this.bottomBorderStyle) {
        updateBorders.bottom = {
          style: this.bottomBorderStyle,
        };
      }
      if (this.leftBorderStyle) {
        updateBorders.left = {
          style: this.leftBorderStyle,
        };
      }
      if (this.rightBorderStyle) {
        updateBorders.right = {
          style: this.rightBorderStyle,
        };
      }
      if (this.innerHorizontalBorderStyle) {
        updateBorders.innerHorizontal = {
          style: this.innerHorizontalBorderStyle,
        };
      }
      if (this.innerVerticalBorderStyle) {
        updateBorders.innerVertical = {
          style: this.innerVerticalBorderStyle,
        };
      }
      requests.push({
        updateBorders,
      });
    }
    if (hasRepeatCellStyles) {
      const repeatCell = {
        range,
        cell: {
          userEnteredFormat: {},
        },
      };
      const fields = [];
      if (this.backgroundColorRedValue
          || this.backgroundColorGreenValue
          || this.backgroundColorBlueValue
      ) {
        repeatCell.cell.userEnteredFormat.backgroundColor = {};
        fields.push("backgroundColor");
        if (this.backgroundColorRedValue) {
          repeatCell.cell.userEnteredFormat.backgroundColor.red = this.backgroundColorRedValue;
        }
        if (this.backgroundColorGreenValue) {
          repeatCell.cell.userEnteredFormat.backgroundColor.green = this.backgroundColorGreenValue;
        }
        if (this.backgroundColorBlueValue) {
          repeatCell.cell.userEnteredFormat.backgroundColor.blue = this.backgroundColorBlueValue;
        }
      }
      if (this.textColorRedValue || this.textColorGreenValue || this.textColorBlueValue) {
        fields.push("textFormat.foregroundColor");
        repeatCell.cell.userEnteredFormat.textFormat = {
          foregroundColor: {},
        };
        if (this.textColorRedValue) {
          repeatCell.cell.userEnteredFormat.textFormat.foregroundColor.red = this.textColorRedValue;
        }
        if (this.textColorGreenValue) {
          repeatCell.cell.userEnteredFormat.textFormat.foregroundColor.green
            = this.textColorGreenValue;
        }
        if (this.textColorBlueValue) {
          repeatCell.cell.userEnteredFormat.textFormat.foregroundColor.blue
            = this.textColorBlueValue;
        }
      }
      if (this.fontSize || this.bold || this.italic || this.strikethrough) {
        repeatCell.cell.userEnteredFormat.textFormat = {
          ...(repeatCell.cell.userEnteredFormat.textFormat || {}),
        };
      }
      if (this.fontSize) {
        fields.push("textFormat.fontSize");
        repeatCell.cell.userEnteredFormat.textFormat.fontSize = this.fontSize;
      }
      if (this.bold) {
        fields.push("textFormat.bold");
        repeatCell.cell.userEnteredFormat.textFormat.bold = this.bold;
      }
      if (this.italic) {
        fields.push("textFormat.italic");
        repeatCell.cell.userEnteredFormat.textFormat.italic = this.italic;
      }
      if (this.strikethrough) {
        fields.push("textFormat.strikethrough");
        repeatCell.cell.userEnteredFormat.textFormat.strikethrough = this.strikethrough;
      }
      if (this.horizontalAlignment) {
        fields.push("horizontalAlignment");
        repeatCell.cell.userEnteredFormat.horizontalAlignment = this.horizontalAlignment;
      }
      repeatCell.fields = `userEnteredFormat(${fields.join(",")})`;
      requests.push({
        repeatCell,
      });
    }

    const response = await this.googleSheets.sheets().spreadsheets.batchUpdate({
      spreadsheetId: this.sheetId,
      requestBody: {
        requests,
      },
    });
    $.export("$summary", `Updated formatting for range ${this.range}`);
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Google SheetsgoogleSheetsappThis component uses the Google Sheets app.
DrivedrivestringSelect a value from the drop down menu.
Spreadsheet IDsheetIdstringSelect a value from the drop down menu.
Worksheet IDworksheetIdintegerSelect a value from the drop down menu.
Rangerangestring

The range of cells to update. E.g., A1:A10

Background Color Red ValuebackgroundColorRedValuestring

The amount of red in the color as a value in the interval [0, 1]

Background Color Green ValuebackgroundColorGreenValuestring

The amount of green in the color as a value in the interval [0, 1]

Background Color Blue ValuebackgroundColorBlueValuestring

The amount of blue in the color as a value in the interval [0, 1]

Text Color Red ValuetextColorRedValuestring

The amount of red in the color as a value in the interval [0, 1]

Text Color Green ValuetextColorGreenValuestring

The amount of green in the color as a value in the interval [0, 1]

Text Color Blue ValuetextColorBlueValuestring

The amount of blue in the color as a value in the interval [0, 1]

Font SizefontSizeinteger

The size of the font

Boldboldboolean

Whether the font should be bold

Italicitalicboolean

Whether the font should be italic

Strikethroughstrikethroughboolean

Whether the font should be strikethrough

Horizontal AlignmenthorizontalAlignmentstringSelect a value from the drop down menu:LEFTCENTERRIGHT
Top Border StyletopBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE
Bottom Border StylebottomBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE
Left Border StyleleftBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE
Right Border StylerightBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE
Inner Horizontal Border StyleinnerHorizontalBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE
Inner Vertical Border StyleinnerVerticalBorderStylestringSelect a value from the drop down menu:DOTTEDDASHEDSOLIDSOLID_MEDIUMSOLID_THICKNONEDOUBLE

Action Authentication

Google Sheets uses OAuth authentication. When you connect your Google Sheets account, Pipedream will open a popup window where you can sign into Google Sheets and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Sheets API.

Pipedream requests the following authorization scopes when you connect your account:

emailprofilehttps://www.googleapis.com/auth/drive

About Google Sheets

Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.

More Ways to Connect Google Sheets + GetResponse

Create Contact with GetResponse API on New Updates (Shared Drive, Instant) from Google Sheets API
Google Sheets + GetResponse
 
Try it
Create Contact with GetResponse API on New Updates (Instant) from Google Sheets API
Google Sheets + GetResponse
 
Try it
Create Contact with GetResponse API on New Worksheet (Shared Drive, Instant) from Google Sheets API
Google Sheets + GetResponse
 
Try it
Create Contact with GetResponse API on New Worksheet (Instant) from Google Sheets API
Google Sheets + GetResponse
 
Try it
Create Newsletter with GetResponse API on New Updates (Shared Drive, Instant) from Google Sheets API
Google Sheets + GetResponse
 
Try it
New Contact from the GetResponse API

Emit new event when a contact is created. See the docs here

 
Try it
New Form from the GetResponse API

Emit new event when a form is created. See the docs here

 
Try it
New Landing Page from the GetResponse API

Emit new event when a landing page is created. See the docs here

 
Try it
New Newsletter from the GetResponse API

Emit new event when a newsletter is created. See the docs here

 
Try it
New Comment (Instant) from the Google Sheets API

Emit new event each time a comment is added to a spreadsheet.

 
Try it
Create Contact with the GetResponse API

Creates a contact. See the docs here

 
Try it
Create Newsletter with the GetResponse API

Creates a new newsletter and puts it in a queue to send. See the docs here

 
Try it
Create or Update Contact with the GetResponse API

Creates or updates a contact if already exists. See the docs here

 
Try it
Find Campaign List with the GetResponse API

Finds a campaign list by filters. See the docs here

 
Try it
Find Contact with the GetResponse API

Finds a contact by filters. See the docs here

 
Try it

Explore Other Apps

1
-
24
of
2,900+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.