# How to create an event in an agenda

**URL:** <https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900>\
**Category:** General\
**Created:** [4 July 2019 13:15 UTC](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900 "2019-07-04T13:15:34Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [8 August 2019 19:33 UTC](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900/21 "2019-08-08T19:33:05Z")

</div>

@paulohlp Out of curiosity, if you installed to heroku, did you include the flows into the version control or were they created locally? Same for packages installed, do you add them to a local package.json and deploy again, or install from inside the palette? Heroku’s filesystem is temporary, that’s why I ask. Persistence to your files created or edited is not guaranteed, rather it’s guaranteed not to persist. Without a local install, that’s a risk.

> **[Dynos and the Dyno Manager | Heroku Dev Center](https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem)**
>
> A dyno is a lightweight Linux container that runs a single user-specified command. The dyno manager manages many different applications and keeps dynos running automatically.

See it like running from a docker container, but without a data volume. If the container exits, everything you did is gone.

---

<div class="post-metadata">

**Author:** ![paulohlp](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@paulohlp](https://discourse.nodered.org/u/paulohlp)\
**Post date:** [10 August 2019 22:30 UTC](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900/22 "2019-08-10T22:30:15Z")

</div>

Honestly. I don't know why it doesn't erase the data, when I installed I was learning, and since it is working flawlessly I never put much thought on why it didn´t loose data.

I the pallets installation I did using node-red itself.

Edit: It doesn't loose data because every flow and node is saved in a mlab mongo database. That is why it keeping working.

[Previous page](https://discourse.nodered.org/t/how-to-create-an-event-in-an-agenda/12900.md?page=1)
