Set value on node

Describe the problem/error/question

Hello Team,

I’ve encountered a use case where I need to set the value after execution. For example, after the HTTP node executes, I receive a pageToken, and I want to pass this value. However, if Set setNextPage has a value, I want to pass that; otherwise, I want to keep it empty.

Could you please assist me in setting the value of pageToken? If it’s present, it should be set; otherwise, it should remain blank.

Thanks in advance!

What is the error message (if any)?

[ERROR: Referenced node doesn’t exist]

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

HI @Gouravdev

The docs should help you with how to set up the paging that is built into this node.

If you cannot use this, then the easiest thing would be to make sure the data you need exists in the node before.
Your issue is probably that the first run it doesnt find the node as you have not ran it before.

1 Like

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