Activation trigger
The Activation trigger node gets triggered when an event gets fired by Robbot Automation or a workflow.
!!! warning The Activation trigger node has been deprecated. It has been replaced by two new nodes - the Robbot Automation trigger and the Workflow trigger node. For more details, check out the entry in the breaking changes page.
!!! note "Keep in mind" If you want to use the Activation trigger node for a workflow, add the node to the workflow. You don't have to create a separate workflow.
The Activation trigger node gets triggered for the workflow that it gets added to. The Activation trigger node can be used to trigger a workflow to notify the state of the workflow.
Node Reference
- Events
- Activation: Run when the workflow gets activated
- Start: Run when Robbot Automation starts or restarts
- Update: Run when the workflow gets saved while it is active
Example Usage
This workflow allows you to receive a message on Mattermost when a workflow is updated. You can also find the workflow on Robbot Automation. This example usage workflow uses the following nodes.
1. Activation trigger node
Open the workflow where you want to add the activation workflow. Add the Activation trigger node to the workflow.
The Activation trigger node will trigger the workflow when the workflow gets updated.
- Select 'Update' from the Events dropdown list.
2. Mattermost node (post: message)
This node will send a message in the workflow
channel on Mattermost.
First of all, you'll have to enter credentials for the Mattermost node. You can find out how to enter credentials for this node here.
Select a channel from the Channel ID dropdown list.
Click on the gears icon next to the Message field click on Add Expression.
Enter the following message in the Expression field:
The workflow {{$workflow.name}}, was updated.
.$workflow.name
returns the name of the workflow.Click on Save to run the workflow.