> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/aisera-platform/what-can-my-bot-do/ai-automation-optimize-flow/ai-workflow-studio/workflow-reference-guides/workflow-nodes/operations-nodes/set-variable.md).

# Set Variable

The Set Variable node is used to assign values and set a parameter name so those values can be used wherever they are required in a workflow.

<figure><img src="https://3281977978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvBFXjH9S1CAy9f5hzg5Q%2Fuploads%2FQI8BHUr5bqf3fvvFZNoZ%2Fimage.png?alt=media&amp;token=9fb160e0-bf62-4d5c-b5d0-c30dad65da49" alt=""><figcaption></figcaption></figure>

The screenshot above shows the user declaring a ticket id variable within a ‘View tickets’ workflow. In this scenario, the user knows the ticket ID before this step and that ID is passed as a variable name called `theticketId`.

See [**Bot Conversation Variables**](https://docs.aisera.com/aisera-platform/crafting-the-conversation/how-to-edit-conversation-key-messages/bot-conversation-variables) also.
