Functions

Use Mapsly system functions in your actions - to address more complex automation scenarios

Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

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()

Date/time functions

Today(), alias: StartOfCurrentDay()

FirstDayOfCurrentMonth(), alias: StartOfCurrentMonth()

FirstDayOfCurrentYear(), alias: StartOfCurrentYear()

Distance & routing functions

Working with files

Other functions

Custom Twig filters

json_decode

Did this answer your question?