# Is there a node to save the last execution so i can reference it later?

**URL:** <https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738>\
**Category:** Questions\
**Created:** [August 27, 2024, 6:04pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738 "2024-08-27T18:04:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Harrison](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/keith_harrison/32/23604_2.png) [@Keith\_Harrison](https://community.n8n.io/u/Keith_Harrison)\
**Post date:** [August 27, 2024, 6:04pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/1 "2024-08-27T18:04:50Z")

</div>

I’m using the calendly node, the issue is that I have to create a test event everytime i want to check anything.

When i adjust something in the workflow, it would be really handy to have previous execution data available to use.

I assume there must be a node i can use to collect and save all executions, was hoping to get the quick answer here?

FYI im a sales guy not a developer so hopefully the solution is not crazy complex

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [August 27, 2024, 6:04pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/2 "2024-08-27T18:04:51Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [August 27, 2024, 9:11pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/3 "2024-08-27T21:11:35Z")

</div>

@Keith_Harrison , I don’t think there is a dedicated node for this purpose. However, the solution does exist but would require a bit of coding (not “crazy complex”). What you need is so-called [Static Data](https://docs.n8n.io/code/cookbook/builtin/get-workflow-static-data/) leveraged by Code node.

Some examples of its usage could be found on this forum, for example,

- [Set a value and update each time the workflow runs](http://community.n8n.io/t/set-a-value-and-update-each-time-the-workflow-runs/35083).
- [How to save/pin data between executions](http://community.n8n.io/t/how-to-save-pin-data-between-executions/24298)

---

<div class="post-metadata">

**Author:** ![Keith\_Harrison](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/keith_harrison/32/23604_2.png) [@Keith\_Harrison](https://community.n8n.io/u/Keith_Harrison)\
**Post date:** [August 28, 2024, 7:39am UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/4 "2024-08-28T07:39:23Z")

</div>

Thanks @ihortom, will review and hopefully figure it out

---

<div class="post-metadata">

**Author:** ![BramKn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/bramkn/32/11894_2.png) [@BramKn](https://community.n8n.io/u/BramKn)\
**Post date:** [August 28, 2024, 8:57am UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/5 "2024-08-28T08:57:39Z")

</div>

like @ihortom said the static data is a solution without any external tools needed.

Another option would be to get something like airtable or baserow to store the data and keep overwriting the same record so you always only store the latest data and then you can easily retrieve that when needed.  
This might be an easier option to get working for you, also a tool like that is nice to have for other usecases.

---

<div class="post-metadata">

**Author:** ![Keith\_Harrison](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/keith_harrison/32/23604_2.png) [@Keith\_Harrison](https://community.n8n.io/u/Keith_Harrison)\
**Post date:** [September 2, 2024, 1:53pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/6 "2024-09-02T13:53:56Z")

</div>

Finally solved… Why doesn’t anyone know about this, I found it myself by accident!!

1. Take data from a previous execution

2. Set that data as “mock Data” in the node you want to test  
That’s it!!!

3. Pin the data for future use if you want…

---

<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:** [September 9, 2024, 1:54pm UTC](https://community.n8n.io/t/is-there-a-node-to-save-the-last-execution-so-i-can-reference-it-later/52738/7 "2024-09-09T13:54:31Z")

</div>

Closed on September 9, 2024, 1:54pm UTC

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