Custom functions are particularly useful when a workflow requires rich text-formatted inputs, or if a workflow outputs rich text-formatted content. Function inputs can be rich or plain text, and you can choose whether outputs should be rich or plain text as well. Note that your function should accept Markdown if you require rich text inputs.
This feature is compatible with functions that take a single string as input, and have an output of type string, Boolean, date, double, float, integer, or long.
To use custom functions in Notepad, you must first create a function. Functions can be written in TypeScript or Python; refer to the function documentation for use cases, supported features and guides on function creation. Once you have created a custom function, follow the steps below to use it in Notepad:
If AIP is not enabled for your enrollment, custom functions in Notepad are still available. Instead of Edit with AIP, select Edit with functions in the toolbar and disregard step two.