# \#variables

**URL:** https://community.n8n.io/tag/variables/280.md

[Latest](https://community.n8n.io/latest.md) · [Categories](https://community.n8n.io/categories.md) · [Tags](https://community.n8n.io/tags.md)

---

## [SAML / OIDC environment variables \[GOT CREATED\]](https://community.n8n.io/t/saml-oidc-environment-variables-got-created/171710)

<div class="topic-metadata">

**Author:** [@Neil\_Carmichael](https://community.n8n.io/u/Neil_Carmichael)\
**Replies:** 2\
**Last updated:** [July 28, 2026, 3:24pm UTC](https://community.n8n.io/t/saml-oidc-environment-variables-got-created/171710 "2026-07-28T15:24:40Z")

</div>

The idea is: With the embedded licence its normal to depoy many n8n instances, rather that config instances SSO via the GUI or database hacking, instead have them configured by enviroment variables My use case: To mak…

---

## [IF v2 node routes FALSE for $vars.X === $json.Y despite identical strings (Cloud v1.123.43)](https://community.n8n.io/t/if-v2-node-routes-false-for-vars-x-json-y-despite-identical-strings-cloud-v1-123-43/296069)

<div class="topic-metadata">

**Author:** [@Nick\_Vieru](https://community.n8n.io/u/Nick_Vieru)\
**Replies:** 3\
**Last updated:** [May 19, 2026, 7:57am UTC](https://community.n8n.io/t/if-v2-node-routes-false-for-vars-x-json-y-despite-identical-strings-cloud-v1-123-43/296069 "2026-05-19T07:57:42Z")

</div>

Hey everyone, tried debugging this with Claude, but it didn’t really work, so I was wondering if anyone could help. The explanation is below: I have a Webhook → IF v2 workflow where the IF compares a query parameter aga…

---

## [Select upstream value in set](https://community.n8n.io/t/select-upstream-value-in-set/222317)

<div class="topic-metadata">

**Author:** [@d2kagw](https://community.n8n.io/u/d2kagw)\
**Replies:** 2\
**Last updated:** [November 17, 2025, 11:23pm UTC](https://community.n8n.io/t/select-upstream-value-in-set/222317 "2025-11-17T23:23:05Z")

</div>

How do I set a variable to one many upstream values? For example, I have a small telegram chatbot that supports multiple message formats. If the message is text, the workflow is basic and the message is used to generat…

---

## [Custom variables](https://community.n8n.io/t/custom-variables/215686)

<div class="topic-metadata">

**Author:** [@Sai\_Srinu](https://community.n8n.io/u/Sai_Srinu)\
**Replies:** 1\
**Last updated:** [November 3, 2025, 10:54am UTC](https://community.n8n.io/t/custom-variables/215686 "2025-11-03T10:54:41Z")

</div>

I want to store some value inside variable and want to use where ever I want, and want to update it in flow. next I want to use updated value of the variable. when I browse n8n docs, custom variables are available in se…

---

## [Cannot remove variables, added in Trial, now upgraded to Starter](https://community.n8n.io/t/cannot-remove-variables-added-in-trial-now-upgraded-to-starter/205508)

<div class="topic-metadata">

**Author:** [@tommi7](https://community.n8n.io/u/tommi7)\
**Replies:** 0\
**Last updated:** [October 14, 2025, 1:09pm UTC](https://community.n8n.io/t/cannot-remove-variables-added-in-trial-now-upgraded-to-starter/205508 "2025-10-14T13:09:39Z")

</div>

I created some variables on Trial and now on Starter, I can’t remove them. Would somebody be able to help. Workspace name is storadera.

---

## [Structure Snowflake Output](https://community.n8n.io/t/structure-snowflake-output/199940)

<div class="topic-metadata">

**Author:** [@Pierre-Louis\_Bescond](https://community.n8n.io/u/Pierre-Louis_Bescond)\
**Replies:** 7\
**Last updated:** [October 6, 2025, 1:21pm UTC](https://community.n8n.io/t/structure-snowflake-output/199940 "2025-10-06T13:21:06Z")

</div>

Hi, n8n newbie here :sweat\_smile: I have trouble understanding how I can parse the information sent back by the “Snowflake - Execute Query” node. The workflow I’ve built gets an order reference through the chat {{ $fr…

---

## [Google sheet node cannot read ID passed as variable. Works only with 'hard values'](https://community.n8n.io/t/google-sheet-node-cannot-read-id-passed-as-variable-works-only-with-hard-values/178196)

<div class="topic-metadata">

**Author:** [@szymonplotkowski](https://community.n8n.io/u/szymonplotkowski)\
**Replies:** 3\
**Last updated:** [August 29, 2025, 1:29pm UTC](https://community.n8n.io/t/google-sheet-node-cannot-read-id-passed-as-variable-works-only-with-hard-values/178196 "2025-08-29T13:29:17Z")

</div>

Describe the problem/error/question Hi! My workflow copies the template file (with formatting, formulas, etc.) from Google Drive, adds \_temp to the copy name and continues to operate on this copy. The problem is ‘Append…

---

## [Issue with MCP Tool Input Schema in AI Agent Using GraphQL (Shopify Integration)](https://community.n8n.io/t/issue-with-mcp-tool-input-schema-in-ai-agent-using-graphql-shopify-integration/145311)

<div class="topic-metadata">

**Author:** [@Benjamin\_21](https://community.n8n.io/u/Benjamin_21)\
**Replies:** 0\
**Last updated:** [July 7, 2025, 2:39pm UTC](https://community.n8n.io/t/issue-with-mcp-tool-input-schema-in-ai-agent-using-graphql-shopify-integration/145311 "2025-07-07T14:39:58Z")

</div>

Describe the problem/error/question I’m trying to build an AI Agent in n8n that can fetch order information from Shopify via a GraphQL query. The agent is integrated with Slack, and it communicates with a n8n MCP server …

---

## [Storing values to global variables](https://community.n8n.io/t/storing-values-to-global-variables/142505)

<div class="topic-metadata">

**Author:** [@DrifterOne](https://community.n8n.io/u/DrifterOne)\
**Replies:** 2\
**Last updated:** [July 2, 2025, 5:34pm UTC](https://community.n8n.io/t/storing-values-to-global-variables/142505 "2025-07-02T17:34:04Z")

</div>

Dear Community, I’ve been fiddling with an annoying issue today and would like to ask you for ideas or even a solution. (I’m on a Pro plan) I’ve been creating a Telegram bot workflow with an AI agent. I wanted to solve…

---

## [How to Pass Event ID to Real-Time Location Capture Workflow (or Handle It Inline)](https://community.n8n.io/t/how-to-pass-event-id-to-real-time-location-capture-workflow-or-handle-it-inline/136922)

<div class="topic-metadata">

**Author:** [@Nor\_AF](https://community.n8n.io/u/Nor_AF)\
**Replies:** 0\
**Last updated:** [June 23, 2025, 3:24am UTC](https://community.n8n.io/t/how-to-pass-event-id-to-real-time-location-capture-workflow-or-handle-it-inline/136922 "2025-06-23T03:24:08Z")

</div>

Hi everyone, I’m building a custom client automation that involves tracking travel time, calculating mileage, and triggering “Time to Leave” reminders — all based on real-time location updates via Telegram. I have two …

---

## [How to update and reuse a variable throughout a workflow execution?](https://community.n8n.io/t/how-to-update-and-reuse-a-variable-throughout-a-workflow-execution/116509)

<div class="topic-metadata">

**Author:** [@Natan\_Souza](https://community.n8n.io/u/Natan_Souza)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 10:51am UTC](https://community.n8n.io/t/how-to-update-and-reuse-a-variable-throughout-a-workflow-execution/116509 "2025-05-20T10:51:47Z")

</div>

Describe the problem/error/question I’m trying to set a variable at the beginning of my workflow, then update its value later, and finally reuse the updated version in downstream nodes — all within the same workflow exec…

---

## [How to Pass Subflow Outputs Back to the Main Flow: Resolving Return Value Issues](https://community.n8n.io/t/how-to-pass-subflow-outputs-back-to-the-main-flow-resolving-return-value-issues/116085)

<div class="topic-metadata">

**Author:** [@KColab](https://community.n8n.io/u/KColab)\
**Replies:** 3\
**Last updated:** [May 16, 2025, 12:02pm UTC](https://community.n8n.io/t/how-to-pass-subflow-outputs-back-to-the-main-flow-resolving-return-value-issues/116085 "2025-05-16T12:02:01Z")

</div>

Describe the problem/error/question I’m trying to pass final values from a subflow back to the main flow, but it only returns the initial prompt instead. For example, the main flow requests a blog post, triggering the s…

---

## [General Question about accessing variables](https://community.n8n.io/t/general-question-about-accessing-variables/95230)

<div class="topic-metadata">

**Author:** [@Kiremit](https://community.n8n.io/u/Kiremit)\
**Replies:** 1\
**Last updated:** [March 31, 2025, 9:05pm UTC](https://community.n8n.io/t/general-question-about-accessing-variables/95230 "2025-03-31T21:05:29Z")

</div>

When defining variables via an edit fields module its pretty easy to access them later in the workflow and then use that variable to lets say make a simple if/else path decision. However, if there is a HTTP module in be…

---

## [No fields - item(s) exist, but they're empty](https://community.n8n.io/t/no-fields-item-s-exist-but-theyre-empty/84772)

<div class="topic-metadata">

**Author:** [@Mark\_Bryant](https://community.n8n.io/u/Mark_Bryant)\
**Replies:** 3\
**Last updated:** [March 5, 2025, 10:59pm UTC](https://community.n8n.io/t/no-fields-item-s-exist-but-theyre-empty/84772 "2025-03-05T22:59:46Z")

</div>

No fields - item(s) exist, but they’re empty Hi everyone, I do have a workflow, Which is not that large of a workflow, But when I want to use one the Variables from the couple of first nodes, It shows that they are empty…

---

## [Add "Update a variable" to the n8n public rest API](https://community.n8n.io/t/add-update-a-variable-to-the-n8n-public-rest-api/81775)

<div class="topic-metadata">

**Author:** [@Tanguy\_Sanquirgo](https://community.n8n.io/u/Tanguy_Sanquirgo)\
**Replies:** 0\
**Last updated:** [February 25, 2025, 3:58pm UTC](https://community.n8n.io/t/add-update-a-variable-to-the-n8n-public-rest-api/81775 "2025-02-25T15:58:18Z")

</div>

The idea is: The idea is to be able to use the n8n public rest API to update a variable. My use case: I use the n8n rest API to allow my global:member users to manage n8n variables without having to give them the global…

---

## [Testing $vars locally without enterprise edition clean workaround?](https://community.n8n.io/t/testing-vars-locally-without-enterprise-edition-clean-workaround/62053)

<div class="topic-metadata">

**Author:** [@daverussell](https://community.n8n.io/u/daverussell)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 1:05pm UTC](https://community.n8n.io/t/testing-vars-locally-without-enterprise-edition-clean-workaround/62053 "2024-11-19T13:05:16Z")

</div>

Describe the problem/error/question I want to run my workflow locally in Docker before deployment to Cloud. We have purchased a Cloud license and I have used Variables. However, these are not set, and cannot be set local…

---

## [ALL nodes should have toggle to pass previous inputs, to fix ALL nodes now blocking](https://community.n8n.io/t/all-nodes-should-have-toggle-to-pass-previous-inputs-to-fix-all-nodes-now-blocking/62279)

<div class="topic-metadata">

**Author:** [@Morriz](https://community.n8n.io/u/Morriz)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 9:01am UTC](https://community.n8n.io/t/all-nodes-should-have-toggle-to-pass-previous-inputs-to-fix-all-nodes-now-blocking/62279 "2024-11-19T09:01:06Z")

</div>

The idea is: To give the same “Include Other Input Fields” toggle to ALL nodes, as somehow it was decided (for the wrong reasons imo, as this broke the input passing paradigm) to exclude that toggle from some nodes, lik…

---

## [Is there any kind of variables in n8n?](https://community.n8n.io/t/is-there-any-kind-of-variables-in-n8n/60783)

<div class="topic-metadata">

**Author:** [@aleksdj](https://community.n8n.io/u/aleksdj)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 4:41pm UTC](https://community.n8n.io/t/is-there-any-kind-of-variables-in-n8n/60783 "2024-11-06T16:41:52Z")

</div>

Describe the problem/error/question Imagine I have a Http-Request node with a body parameter called “message” that is set to an expression value that holds the “message”, ie. {{ $json.chatwood\_message }} or {{ $any\_node.…

---

## [(Global) Variable editor: Show more of "value" by changing the space distribution](https://community.n8n.io/t/global-variable-editor-show-more-of-value-by-changing-the-space-distribution/57838)

<div class="topic-metadata">

**Author:** [@pls](https://community.n8n.io/u/pls)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 10:36am UTC](https://community.n8n.io/t/global-variable-editor-show-more-of-value-by-changing-the-space-distribution/57838 "2024-10-16T10:36:43Z")

</div>

I’m currently using n8n 1.55.3 embed with global variables. The feature itself is very helpful, but it feels like the usability of the variable editor could be improved: It would be great to be able to see more of th…

---

## [Using variables for further use within Chatbot workflow](https://community.n8n.io/t/using-variables-for-further-use-within-chatbot-workflow/43324)

<div class="topic-metadata">

**Author:** [@Zbynislav](https://community.n8n.io/u/Zbynislav)\
**Replies:** 4\
**Last updated:** [April 17, 2024, 10:00am UTC](https://community.n8n.io/t/using-variables-for-further-use-within-chatbot-workflow/43324 "2024-04-17T10:00:53Z")

</div>

Describe the problem/error/question I would like to store values that I get from a client who communicates with my chatbot to be able to use it later in the ongoing conversation (using multiple Switch components, getting…

---

## [How to escape a variable inside a Array for image upload into Airtable](https://community.n8n.io/t/how-to-escape-a-variable-inside-a-array-for-image-upload-into-airtable/40133)

<div class="topic-metadata">

**Author:** [@etiquetasio](https://community.n8n.io/u/etiquetasio)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 12:47pm UTC](https://community.n8n.io/t/how-to-escape-a-variable-inside-a-array-for-image-upload-into-airtable/40133 "2024-03-01T12:47:52Z")

</div>

Describe the problem/error/question I have this Array that Airtable attachament field require to upload a imagem: {{ \[{ “url”: ‘https://mydomain.com/typebot/806943350.png’}\] }} i want substitue the 806943350.png to thi…

---

## [How do you use global variables in the Code node?](https://community.n8n.io/t/how-do-you-use-global-variables-in-the-code-node/35092)

<div class="topic-metadata">

**Author:** [@fivemoreminix](https://community.n8n.io/u/fivemoreminix)\
**Replies:** 2\
**Last updated:** [January 10, 2024, 11:50am UTC](https://community.n8n.io/t/how-do-you-use-global-variables-in-the-code-node/35092 "2024-01-10T11:50:40Z")

</div>

I am currently on the 14 day trial version of web n8n. Maybe that’s why I’m having problems… I’m having trouble setting the value of a global variable, but I have no problem reading the variable. My goal is to be able t…

---

## [The global variables length is not enough](https://community.n8n.io/t/the-global-variables-length-is-not-enough/33175)

<div class="topic-metadata">

**Author:** [@anderson.wong](https://community.n8n.io/u/anderson.wong)\
**Replies:** 3\
**Last updated:** [November 21, 2023, 9:25am UTC](https://community.n8n.io/t/the-global-variables-length-is-not-enough/33175 "2023-11-21T09:25:27Z")

</div>

Is there any settings that can set the maximum length of the value for the global variables?

---

## [Variables section not available on selfhosted, npm n8n](https://community.n8n.io/t/variables-section-not-available-on-selfhosted-npm-n8n/29183)

<div class="topic-metadata">

**Author:** [@Martin\_Iluminatti](https://community.n8n.io/u/Martin_Iluminatti)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 8:57pm UTC](https://community.n8n.io/t/variables-section-not-available-on-selfhosted-npm-n8n/29183 "2023-08-09T20:57:48Z")

</div>

Hello there! I’ve been using n8n for some time, and now I’m jumping on using it directly as an npm app (installed using the instructions here: npm | n8n Docs) Unfortunately, I’m having some functionality limitation, tha…

---

## [Storing things that can be referenced by multiple flows](https://community.n8n.io/t/storing-things-that-can-be-referenced-by-multiple-flows/27325)

<div class="topic-metadata">

**Author:** [@RedPacketSec](https://community.n8n.io/u/RedPacketSec)\
**Replies:** 10\
**Last updated:** [June 21, 2023, 10:51am UTC](https://community.n8n.io/t/storing-things-that-can-be-referenced-by-multiple-flows/27325 "2023-06-21T10:51:39Z")

</div>

I have several flows that need to be different but all share some snippets or code or text that are the same, and if I need to edit one I need to edit them all. For example I have a HTTP node that takes data from previo…
