Use functions and custom Twig filters described below in actions' Twig fields - to implement complex automation scenarios.

Note. Implementation of custom business logic using the Mapsly automation suite is included in your Mapsly subscription free-of-charge including writing Twig code. Simply contact us in chat or at [email protected] to discuss your needs, and our engineers will implement them within hours.

Setting/getting variables

Set()

GetS()

GetC()

SetGlobalParam()

GetGlobalParam()

IncrementGlobalParam(), DecrementGlobalParam()

Date/time functions

Now()

Today(), alias: StartOfCurrentDay()

FirstDayOfCurrentMonth(), alias: StartOfCurrentMonth()

FirstDayOfCurrentYear(), alias: StartOfCurrentYear()

Distance & routing functions

Route()

CurrentRoute()

DirectDistance()

CurrentDirectDistance()

Geocode()

Advanced functions

Do()

SignUrl()

GetDataSourceUserID()

Lookup()

Custom Twig filters

json_decode

Did this answer your question?