Ensemble trigger#
The Ensemble trigger node gets triggered when the Ensemble instance is started or restarted. The Ensemble trigger node can be used to notify when the Ensemble instance starts.
Node Reference#
- Events
- Instance started: triggers when the Ensemble instance is started or restarted
Example Usage#
This Pathway allows you to receive a message on Mattermost when your Ensemble instance starts. This example usage Pathway uses the following nodes. - Ensemble trigger
1. Ensemble trigger node#
The Ensemble trigger node will trigger the Pathway whenever Ensemble starts.
- Select 'Instance started' from the Events dropdown list.
The node triggers the Pathway when the Ensemble instance starts.
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:
Your Ensemble instance started at {{$json["timestamp"]}}.
. - Click on Execute Node to run the workflow.
The node sends a message to Mattermost.
Activate Pathway for production
This example Pathway uses the Ensemble trigger node, which is a trigger node. You'll need to save the Pathway and then click on the Activate toggle on the top right of the screen to activate the workflow.