Skip to content

Feat: add action to add a row in Google Sheets integration#1015

Closed
yuriassuncx wants to merge 2 commits intodeco-cx:mainfrom
yuriassuncx:feat/add-row-action
Closed

Feat: add action to add a row in Google Sheets integration#1015
yuriassuncx wants to merge 2 commits intodeco-cx:mainfrom
yuriassuncx:feat/add-row-action

Conversation

@yuriassuncx
Copy link
Contributor

Adding Google Sheets Integration in Deco.cx

Description

This PR adds an action in Deco.cx that allows adding a new row in a Google Sheets spreadsheet. The implementation was designed to receive data in a flexible and intuitive way, making it easy to configure directly in the Deco.cx CMS.

image

Implementation

The action is structured to take headers and values as inputs, ensuring they match correctly before inserting a new row into the sheet. It dynamically creates a row object and appends it to the specified sheet.

image

Benefits

  • Ease of use: Developers can configure headers and values directly through the Deco.cx CMS.
  • Powerful integration: Many developers need to dynamically add data to Google Sheets, making this feature extremely useful.
  • Flexibility: The prop-based approach allows the action to adapt to different scenarios without code modifications.

With this implementation, Deco.cx provides a simple and effective solution for integrating with Google Sheets, facilitating data storage and management.

Reference: https://www.npmjs.com/package/google-spreadsheet

@github-actions
Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.64.35 update
  • 🎉 for Minor 0.65.0 update
  • 🚀 for Major 1.0.0 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant