i am trying to create global variable in free account which persist across chat. in workflow once it set to True . in next chat it should be true. i created below workflow but in next chat , it reset to False. is there any way to keep it True once intent agent ran successfully
n8n workflows are stateless by default, so your variable resets each execution. You’ll need external storage to persist data across chats.
For free tier, you can use n8n Data Tables, Google Sheets (simple key-value table), Supabase (free PostgreSQL tier), or Ainoflow Storage (5k records free, built for workflow state). All work with n8n’s built-in nodes - just query at workflow start to load your flag, update at the end to save it.