Essential JavaScript methods for using in your Cargo expressions
nodes.start.email = "john.smith@acme-corp.com"
"acme-corp.com"
nodes.start.companyName = "ACME Corporation"
"acme corporation"
nodes.start.country = "us"
"US"
nodes.array = ["John Smith", "Sarah Johnson", "Mike Davis", "Lisa Chen"]
4
nodes.start.product = "posters"
["posters", "calendars", "books", "cards"]
true
nodes.apollo.stakeholders = "John", "Sarah", "Mike", "Lisa", "David", "Emma", "Tom"]
["John", "Sarah", "Mike", "Lisa", "David"]
nodes.start.urls = ["https://example.com/case-studies/tech", "https://example.com/blog", "https://example.com/case-studies/finance"]
["https://example.com/case-studies/tech", "https://example.com/case-studies/finance"]
nodes.start.countries = ["US", "CA", "UK", "DE"]
"US, CA, UK, DE"
nodes.apollo.stakeholders = [
{"name": "John", "title": "CEO"},
{"name": "Sarah", "title": "CTO"}
]
nodes.start.domain = "acme.com", nodes.hubspot.companyId = "12345"
[
{"name": "John", "title": "CEO", "domain": "acme.com", "hubspotId": "12345"},
{"name": "Sarah", "title": "CTO", "domain": "acme.com", "hubspotId": "12345"}
]
nodes.start.countries1 = ["US", "CA"], nodes.start.countries2 = ["UK", "DE"]
["US", "CA", "UK", "DE"]
"2024-01-15T10:30:45.123Z"
"1/15/2024"
nodes.start.wins = 15, nodes.start.total = 50
30
nodes.start.score = 85
"High Priority"
nodes.start = {
"user": {
"address": {
"city": "San Francisco"}
}}
"San Francisco"
nodes.start = {
"user": {
"preferences": null
}}
"default"
/
on your keyboard{{ expression }}