Composing action payloads with utility functions
You can use utility functions to compose the remote action input payload templates, for example to escape JSON, encode URLs, and encode binary data.
On this page:
- 1 Utility functions
- 1.1 Syntax
- 1.1.1 Shorthand notation
- 1.1.2 Formal notation
- 1.2 Functions
- 1.1 Syntax
- 2 Actions
- 3 How-to Articles
Utility functions
You can use utility functions to compose the remote action payload templates.
Syntax
There are two different syntactical notations to refer to functions:
Shorthand notation
The shorthand notation is $util.function() – using this shorter notation is usually preferable for brevity, and also required within the Automate with AWS post function.
Formal notation
The formal notation is ${util.function()} – using this longer notation is optional in general, but not supported within the Automate with AWS post function.
Functions
The currently available functions in the $util namespace are:
Actions
You can use utility functions in the following actions: