hi guys! im having issue making this happen,so im basically transposing data from a website to another website, zip code abreviation in particular example website 1 says CA then fetch that data and transpose it to california then type it to website 2. thaks for this great tool btw
You can use Javascript to get a state name from abbreviation. In the example below I use a javascript object as a dictionary and access them with return states[${a}]
:
{
"Name": "abbr to state",
"CreationDate": "2021-3-23",
"Commands": [
{
"Command": "store",
"Target": "CA",
"Value": "a"
},
{
"Command": "executeScript_Sandbox",
"Target": "var states = {\"CA\":\"California\",\"NY\":\"New York\", \"OR\":\"Oregon\"}; return states[${a}]",
"Value": "s"
},
{
"Command": "echo",
"Target": "${a} is ${s}",
"Value": "green"
}
]
}