Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds AWS Step Functions state machines in Amazon States Language using JSONata, covering states, error handling, and JSONPath migration.
82% 95%+14 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 18 of 22 without it.
3 of 3 safety checks passed
Not used yet
JSONata expressions are written inside {% %} delimiters in string values:
"Output": "{% $states.input.customer.name %}"
"TimeoutSeconds": "{% $timeout %}"
"Condition": "{% $states.input.age >= 18 %}"
Rules:
{% (no leading spaces) and end with %} (no trailing spaces).Type and Resource must be constant strings.{% %} is treated as a literal value.'text'), not double quotes. The expression is already inside a JSON double-quoted string, so double quotes would break the JSON.( expr1; expr2; ...; finalExpr ) where semicolons separate sequential expressions and the last expression is the return value.$ or $$ at the top level.$parse() instead $eval for deserializing JSON strings."Output": "{% 'Hello ' & $states.input.name %}"
"Condition": "{% $states.input.status = 'active' %}"
Never use double quotes inside the expression:
❌ "Output": "{% "Hello" %}"
✓ "Output": "{% 'Hello' %}"
:=Next to this one in the catalogue, plus more from the same author.