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
Complete conversion guide for migrating existing JSONPath state machines to JSONata. Covers fields, states, intrinsic functions, common pitfalls, and the end-to-end conversion workflow.
| JSONPath | JSONata |
|---|---|
InputPath | Not needed — use $states.input directly in Arguments |
Parameters | Arguments |
ResultSelector | Output (reference $states.result) |
ResultPath | Assign (preferred) or Output |
OutputPath | Output (return only what you need) |
TimeoutSecondsPath | TimeoutSeconds with {% %} |
HeartbeatSecondsPath | HeartbeatSeconds with {% %} |
ItemsPath | Items with {% %} |
"key.$": "$.field" | "key": "{% $states.input.field %}" |
$ or $.field (state input) | $states.input or $states.input.field |
$$ (context object) | $states.context |
$$.Execution.Input | $states.context.Execution.Input |
$$.Task.Token | $states.context.Task.Token |
$$.Map.Item.Value | $states.context.Map.Item.Value |
$variable (workflow var) | $variable (unchanged) |
Before (JSONPath):
"ProcessOrder": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"InputPath": "$.order",
"Parameters": {
"FunctionName": "arn:aws:lambda:us-east-1:123456789012:function:Process:$LATEST",
"Payload": { "id.$": "$.orderId", "customer.$": "$.customerName" }
Next to this one in the catalogue, plus more from the same author.