Automation

Learn how to create custom actions and automate business processes using Mapsly

Sergey Shurygin avatar Erik avatar
41 articles in this collection
Written by Sergey Shurygin and Erik
Actions

'Create record' action

Use 'Create record' action to create new records in your data source, including related records like check-in records.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Update record' action

Use 'Update record' action to change values in one or multiple fields of the record, or its related records referenced by lookup fields.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Match records' action

Find best-matching records based on complex criteria and execute complex scenarios with them, all without writing any code
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Delete record' action

Use 'Delete record' to remove a record.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Invoke URL' action

Use Invoke URL action to make outbound calls to any external APIs - REST, SOAP or entirely custom - and store its response in Context
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Send SMS' action

Use 'Send SMS' action to send SMS messages to persons' mobile phones with global coverage.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Open URL' action

Use 'Open URL' action to open an external webpage in a popup inside Mapsly or in a new tab.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Send email' action

Send emails with dynamic list of recipients, cc, bcc and content that may include data from one of multiple records.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

'Show message' action

Use 'Show message' action to show a message in the user interface with the result of your actions or to report an error.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago
Functions

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

Function SetGlobalParam()

Store data in a global persistent storage to pass it between execution sessions.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function GetGlobalParam()

Retrieve data from a global persistent storage. Use it to pass it between execution sessions.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Functions FirstDayOfCurrentMonth(), FirstDayOfCurrentYear()

Get the first day of the current month or the current year in your Mapsly account's time zone
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Functions IncrementGlobalParam(), DecrementGlobalParam()

Increment and decrement global parameters in a thread-safe way
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function SignUrl()

Sign your parameterized shared map's URL so users cannot change its parameters
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function Lookup()

Get a field value of a record from another object that is linked via a lookup field
Erik avatar
Written by Erik
Updated over a week ago

Function Do()

Execute an existing action with a custom input. Use it to call nested actions and create related records.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function GetC()

Retrieve a key's value from the specified context, or any other nested object
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function GetS()

Retrieve a key's value from the current level of the execution context without checking higher levels of the context
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function GetDataSourceUserID()

Get the data source user ID of the user who triggered the current automation session
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function Now()

Get the current datetime in the UTC time zone
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function CurrentRoute()

Use CurrentRoute() to get the traveling distance or time in your 'Match record' action
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function Today()

Get the current date in your Mapsly account's time zone.
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function Geocode()

Geocode your address into GPS coordinates, and "cleansed" address (reverse-geocoded from the coordinates)
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function CurrentDirectDistance()

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

Function Set()

Declare, initialize and update a variable in the automation execution context
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function DirectDistance()

Use DirectDistance() to get the direct distance between any two locations in your Mapsly org's distance units
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago

Function Route()

Use Route() to calculate traveling distance and time between any locations based on real-time and historic traffic and custom departure time
Sergey Shurygin avatar
Written by Sergey Shurygin
Updated over a week ago