Activities correspond to actions executed by workflows. Often they only do one action but sometimes an activity can do make a variety of actions. Actions can be anything; from sending an email to a new user after registering to optimizing an image when a large size image is sent.
The most basic template for an activity is the following:
All activities are registered on the KanvasWorkflowSynActionCommand and are added to the actions list:
Run the following command to sync the newly added activity with the Kanvas database:
php artisan kanvas:workflow-sync-actions