What is the maximum capacity of $getWorkflowStaticData(type) method?

Hey n8n :slight_smile:

Quick question, your documentation says here: regarding $getWorkflowStaticData(type):

You can save data directly in the workflow. This data should be small.

What is the maximum capacity of this static data? And why is that the case? Couldn’t find anything obvious in the code to suggest what would limit it. I assume it’s more about RAM limitations?

Hi @Adrian-Samuel

Welcome back :slight_smile:

I don’t think there is a strict limit. But it will be saved with the workflow and would result in it slowing down if there is too much data there. Probably about the same as when create huge workflows.

2 Likes

haha thank you! @BramKn! :muscle:t5:

I suspected as much! Good to know though :slight_smile:

1 Like