This skill points you to Kentico's automation-customization documentation. Use it to implement a custom automation process action.
Pieces of a custom action
- Action class – inherits
AutomationAction(no configuration) orAutomationAction<TProperties>(marketer-configurable); implements the logic inExecute. - Properties class – implements
IAutomationActionProperties; public properties annotated with admin UI form components define the configuration dialog. - Registration – the
RegisterAutomationActionassembly attribute (identifier, display name, icon, description) makes the action appear in the Automation Builder. - Runtime context –
AutomationProcessContextgives access to the processed contact, the process, and trigger data. - Process data –
IAutomationProcessDataimplementations share typed data between steps of the same process.
How to use
- Read
references/docs.mdand fetch the docs pages listed there.
Gotcha
- Form-component and validation attributes come from the
Kentico.Xperience.Admin.*.FormAnnotationsnamespaces — never fromKentico.Forms.Web.Mvc, an obsolete Form Builder namespace with matching class names. - Use
ILogger<T>for logging.EventLogServiceis obsolete — don't use it.