Development
Add a Custom Action to your extension
Within your action code, you will:
category
The category of your action. In Awell Studio, actions are logically grouped and shown to the user based on the category. Needs to be one of the predefined categories.
description
A human-readable description of your action.
fields
The configuration fields for your action. These configuration fields are displayed in Awell Studio when a user adds the action to a pathway. Learn more about action fields here.
key
A unique identifier for your action. We recommend using a camelCase string.
onActivityCreated
When your action is activated, the Awell system publishes a message that is received by the extension server, which will call the `onActivityCreated` function defined in your action. In this function you will write the logic to handle what needs to happen when your action is activated. Learn more about the `onActivityCreated` function here.
title
The title or name of your action. By convention, action titles should always start with a verb (eg: send sms, schedule appointment, generate random number, ...).
dataPoints
/
previewable
When set to `true`, your action will be executed in preview as it would be in orchestration. Defaults to `false`.
01