# Save in google sheet

**URL:** <https://community.n8n.io/t/save-in-google-sheet/127428>\
**Category:** Questions\
**Created:** [June 5, 2025, 11:13am UTC](https://community.n8n.io/t/save-in-google-sheet/127428 "2025-06-05T11:13:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo3](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theo3/32/87638_2.png) [@Theo3](https://community.n8n.io/u/Theo3)\
**Post date:** [June 5, 2025, 11:13am UTC](https://community.n8n.io/t/save-in-google-sheet/127428/1 "2025-06-05T11:13:30Z")

</div>

Hey everyone,

Quick question: I’m using n8n to pull monthly signup metrics from my personal API into a Google Sheet. To keep things stable, the API only returns the last three months of data. That’s fine—until a fourth month arrives. At that point, my workflow clears the sheet and writes the newest quarter, which means older months disappear. For example, when June came in, my February row vanished and never came back.

What I’d love is a way to “freeze” each month’s row so it stays in the sheet forever one the month is finished. Ideally, n8n would check if a row for, say, May already exists—if yes, update it; if not, append it. That way I get a full year of data instead of a sliding three-month window.

Right now I have a trigger node that calls the API, then a “Clear Sheet” node and a “Write Rows” node. I suspect deleting the whole sheet is overkill. Is there a better approach—something like “Find or Create Row” based on the month, then only update or append? Has anyone solved this before?

Thanks for any pointers!

---

<div class="post-metadata">

**Author:** ![darrell\_tw](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/darrell_tw/32/52180_2.png) [@darrell\_tw](https://community.n8n.io/u/darrell_tw)\
**Post date:** [June 5, 2025, 11:37am UTC](https://community.n8n.io/t/save-in-google-sheet/127428/2 "2025-06-05T11:37:00Z")

</div>

can you share some example data rows?

---

<div class="post-metadata">

**Author:** ![Roel\_Hoeks](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/roel_hoeks/32/69882_2.png) [@Roel\_Hoeks](https://community.n8n.io/u/Roel_Hoeks)\
**Post date:** [June 5, 2025, 11:55am UTC](https://community.n8n.io/t/save-in-google-sheet/127428/3 "2025-06-05T11:55:00Z")

</div>

Hi @Theo3, you don’t need the Clear sheet operation. You have to choose the ‘Append or Update’ operation. Then select the Column to Match for the update. If the value exists, the row will be updated; otherwise, the row will be appended.

---

<div class="post-metadata">

**Author:** ![Theo3](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/theo3/32/87638_2.png) [@Theo3](https://community.n8n.io/u/Theo3)\
**Post date:** [June 5, 2025, 12:08pm UTC](https://community.n8n.io/t/save-in-google-sheet/127428/4 "2025-06-05T12:08:24Z")

</div>

It was as easy as this, thank you so much !

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 12, 2025, 12:08pm UTC](https://community.n8n.io/t/save-in-google-sheet/127428/5 "2025-06-12T12:08:56Z")

</div>

Closed on June 12, 2025, 12:08pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
