Can't use expression in access token

Describe the problem/error/question

Used expressions in access token but can’t access it in the workflow

Have “Set Telegram Trigger Variables” in the workflow and variable called telegram_api_key but get an error “Set_Telegram_Varaiables node doesn’t exist”.


Error Image

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Information on your n8n setup

  • **n8n version:**1.5.1
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

Per our Discord conversation, a good work around for this is to use a fixed value in the access token with different names to differentiate the different tokens.

From there use the native JSON feature of the n8n code to CTRL+A your canvas to select all your nodes, and CTRL+C to copy and then paste into a text editor.

From there you can find and replace the credential name value and then copy the code back into a new workflow. This should allow for rapid deployment across different endpoints.


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