Skip to content

Commit 493ba96

Browse files
authored
Merge pull request #7320 from segmentio/niall/google_sheets_objects
Add info for objects sending to Google Sheets
2 parents a4c4001 + ffaf401 commit 493ba96

File tree

1 file changed

+4
-0
lines changed
  • src/connections/destinations/catalog/actions-google-sheets

1 file changed

+4
-0
lines changed

src/connections/destinations/catalog/actions-google-sheets/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,7 @@ When syncing data to Google Sheets, the columns will be arranged alphabetically,
5858
### Can I add or remove columns after data has been synced?
5959

6060
Once data has been synced to Google Sheets, any subsequent addition or removal of columns in the RETL Model and/or Mapping may lead to misalignment of existing data, as Segment does not retroactively adjust previously synced data. For updates involving column modifications, Segment recommends starting with a new Sheet to ensure data integrity.
61+
62+
### Can I send objects to Google Sheets?
63+
64+
You can't send JavaScript objects as they're not a supported data type in Google Sheets. You need to stringify the property first. Failure to do so results in a `400` error. Segment's Actions mapping framework supports encoding objects as strings through the `json(properties, encode)` method. Alternatively, you can use an Insert Function to modify the property.

0 commit comments

Comments
 (0)