Operations (sample payloads)

Main operations
Copy

Execute Script
Copy

Execute some python code.

Sample Input

1
{
2
"variables": [
3
{
4
"name": "name",
5
"value": "John Doe"
6
},
7
{
8
"name": "age",
9
"value": 30
10
},
11
{
12
"name": "city",
13
"value": "New York"
14
}
15
],
16
"script": "def executeScript(input):\n name = input['name']\n age = input['age']\n city = input['city']\n return f'{name} is {age} years old and lives in {city}.'"
17
}

Sample Output

1
{
2
"result": "John Doe is 30 years old and lives in New York."
3
}