Actions
Base Actions
Actions that are built into Stubber in the _adam template
Overview
Certain actions are built into Stubber.
These actions are called "base actions" and are defined in the _adam template.
These actions are available on all templates in the Stubber Framework.
These actions are used for base layer functionality that is common to all processes.
Categories
Base actions fall into some of the action categories
Examples
Examples of actions that are defined on the _adam template are:
Extending Base Actions
To extend the functionality of base actions, you can create a new action with the exact name of the base action you want to extend, including the leading underscore.
For example, to extend the _update_from_whatsapp
action, create a new action called _update_from_whatsapp
in your template.
When a new WhatsApp message is sent to a stub, your _update_from_whatsapp
action will be ran, and will also run any tasks/notifications/metrics you have added to the action in your template.