Using variables

Hi guys.
I am getting certain data from my SQL database.
I want to pass that data to an API.
The data I get from the database contains this variable:
{{ $input.item }}
the problem is that I can not send the value of that variable and it got sent like this:
{{ $input.item }}
Can any one help me solve this?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Mohammadali_Mo!

I don’t really see what you’re describing in the workflow you shared, however we do have plenty of resources here in the community for using variables inside of MySQL and for transmitting values retrieved by SQL to subsequent nodes.

Here are some links that should help you keep moving:

Happy building!

2 Likes

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