# Set Parameter

You can use the Set Parameter node when you are looking to have a set value for a parameter - and don’t want the caller to fill it in. We can either input the value manually or use a placeholder sign "$" and the name of the parameter you are referring to ("$PARAMETER\_NAME).&#x20;

![](https://3877181490-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_81A0PNZfdawu_TPAO%2F-Mb1hoas81DaA6cfWhk9%2F-Mb1jCGhOes_Ux_todzW%2FScreen%20Shot%202021-05-31%20at%2017.00.54.png?alt=media\&token=3953e347-798d-4849-8456-bdadc3aeffce)

You can add multiple parameters to the node by clicking on "Add parameter".

![](https://3877181490-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_81A0PNZfdawu_TPAO%2F-MeQl7Awkv9Iy3tOEXzC%2F-MeQlLyyDd36NUseuH1V%2FScreen%20Shot%202021-07-12%20at%2020.28.26.png?alt=media\&token=d22ced21-790f-4a49-a200-ae8a58e541d8)

## Best Practices - When to use Set Parameter?

### Influence the conversational flow

You can use the set param to tag that the user went through a specific part in the flow, and do a condition so he won’t go through it again.

For example, if the user is has got to the “missed” tab in the classification node, we can set a parameter that lets us know it was triggered once, and add a condition that has a different logic:<br>

**Steps:**

1. Create a parameter and set a value in the set param node.

![](https://lh5.googleusercontent.com/FkaNGbhZywgwH7ReElXvwL0KY1kOqWI-p5tQwN43eXZZeYOyAxxuUqZUotU2p9KLOaF4N5H5crjFHIS0AbfFYWbChvmGr0b8AqDipRAe94peK0tQG15mUbK9nibRJgE72odJJcXC)

2\. Create a condition node that if the parameter has a value/is equal to the value you set in the set param node.

![](https://lh4.googleusercontent.com/FMMPffnCrueEdBdBvPxwhqnya0vwF4OWLgeFZA8Nowm2W-ROR3UtUMyktmYxwxFc9XiSDDfdNbBeeBPf8zMiKXn3GPVZwppQDE3uLfLb19yYxQKfoSZ9ACP3ChNcuKBATFKWIxVk)

3\. Attach the “missed” in the classification node to the condition node.

4\. Attach the “default” to the logic you want the user to go first.

5\. Attach it to the set param node.

6\. Attach the set param node to the original classification node.

7\. Attach the condition you created to the logic you want the user to go to the second time.

### Set a specific parameter, not the user input

Another use case you can use the set param node is when you need to set a specific parameter after an intent (in the classification node) and not the user’s input. For example, when the parameter values need to be the same from all callers.

All you need to do is to attach the set param node after the intent and set the value you want.&#x20;

Usually, we set the intent’s name as the value of the parameter.\ <br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://studio.docs.ai.vonage.com/voice/nodes/telephony/set-param.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
