Skip to main content

Reference Guide

Complete syntax reference, troubleshooting guide, and quick-lookup tables for JSON Path mapping.

Quick Syntax Reference

Core Operators

QuivaWorks-Specific Extensions

The pipe operator (|) is a QuivaWorks custom extension not found in standard JSONPath implementations.

Array Operations

Array Access Methods


Filter Expressions

Filter Syntax Patterns


Filter Expression Variables

Special Variables Reference

Special Functions


Comparison Operators

Complete Operator Table

Important Differences:
  • Use === (triple equals) not = (single equals)
  • Use !== not ! for inequality
  • Strings in comparisons must be quoted: 'value' or "value"

Operator Precedence

From highest to lowest priority:
  1. Grouping: ()
  2. Property Access: ., []
  3. Logical NOT: !
  4. Comparison: <, >, <=, >=
  5. Equality: ===, !==, ==, !=
  6. Logical AND: &&
  7. Logical OR: ||

Common Patterns Quick Reference

Pattern Library

Basic Property Access

Array Operations

Concatenation

Filtering

Deep Scanning

Wildcards

Complex Filters

Combining Patterns


Troubleshooting Guide

Common Errors & Solutions

Symptoms: Path returns undefined, filter returns empty array [], or property seems to exist but isn’t found.Common Causes:Incorrect Node ID
Case Sensitivity
Array Index Out of Bounds
Property Doesn’t Exist
Solutions: Verify node ID matches exactly in flow, check property names in Flow Debugger, test with simpler paths and build up, and use .length to check array sizes.
Symptoms: Filter returns wrong items, filter returns nothing, or comparison seems correct but fails.Common Causes:Using = Instead of ===
Missing Quotes on Strings
Wrong Comparison Type
Forgetting @ in Filter
Solutions: Always use === for equality (not =), quote string values in comparisons, use @ to reference current node, and check data types match in comparisons.
Symptoms: Comparison fails unexpectedly, filter returns empty when data exists, or inconsistent results.Common Causes:String vs Number
Boolean as String
Null vs Undefined
Solutions: Check source data types in debugger, use loose equality == if types vary, and convert types in earlier flow nodes if needed.
Symptoms: Pipe concatenation not working, literal | appears in output, or parts missing from concatenated string.Common Causes:Spaces Around Pipe
Empty/Undefined Values
Wrong Pipe Type
Solutions: Remove spaces around pipes, check all referenced values exist, and remember that | is a QuivaWorks custom extension (not standard JSONPath).
Symptoms: Slow flow execution, timeouts on large datasets, or high memory usage.Common Causes:Deep Scan on Large Data
Multiple Filters
Unnecessary Wildcards
Solutions: Use specific paths instead of deep scan, combine filter conditions, limit array slicing ranges, and process data in smaller batches if possible.
Symptoms: Properties with special characters not accessible, syntax errors with property names, or unexpected undefined results.Common Causes:Spaces in Property Names
Hyphens/Dashes
Special Characters
Numeric-Starting Names
Solutions: Use bracket notation ['property'] for special characters, spaces, hyphens, @, $, etc., and for properties that start with numbers.

Error Messages Reference

Common Error Messages


Best Practices

Do’s and Don’ts

Do These Things:✅ Use specific paths when possible: $.NODE.user.name✅ Use triple equals in filters: ?(@.status==='active')✅ Quote strings in filters: ?(@.type==='premium')✅ Check array length before accessing: $.items.length✅ Use bracket notation for special characters: ['user-id']✅ Combine filters with && and ||: ?(@.a && @.b)✅ Use meaningful node IDs in flows for clarity✅ Test paths with Flow Debugger before deploying✅ Use array slicing for pagination: [0:10]✅ Validate data structures in earlier nodes when possible

Testing Strategies

How to Test Your Paths

1

Start Simple

Begin with basic property access and verify it works:
2

Add Complexity Gradually

Add one feature at a time (arrays, then filters):
3

Use Flow Debugger

Test each path in the Flow Debugger to see actual results before deploying.
4

Test Edge Cases

Test with empty arrays [], missing properties undefined, null values null, and different data types.
5

Verify Output Format

Check if you need an array [...] or single value, and adjust accordingly:

Migration from Other Systems

From Zapier

From Make (Integromat)

From n8n

Key Difference: QuivaWorks uses standard JSONPath syntax with custom extensions, making it more powerful for complex data transformations.

Keyboard Shortcuts & Tips

Flow Builder Shortcuts

Debugging Tips

Start Small

Test basic path first, then add complexity one step at a time.

Use Console

Test JSONPath expressions in browser console with sample data.

Check Types

Use typeof or Flow Debugger to verify data types before filtering.

Log Intermediate Results

Create intermediate nodes to see transformation steps.

Next Steps

Examples

See real-world usage examples

Advanced Techniques

Learn power user strategies

Filters & Expressions

Deep dive into filtering

Basic Syntax

Review the fundamentals

Quick Reference Card

Bookmark this page! This reference guide contains everything you need for JSONPath mapping in QuivaWorks flows.