Automate responses to event outcomes with powerful conditional actions that trigger based on success, failure, or custom conditions.
Conditional actions allow you to automatically trigger responses based on the outcome of your events. Whether an event succeeds, fails, or meets specific conditions, you can configure automated actions to handle the results appropriately.
Send notifications via email, Slack, or Discord when events complete
Chain events together to create complex automation workflows
Conditional actions can be triggered based on different event outcomes. Choose the appropriate trigger type for your automation needs.
Triggers when the event completes successfully without errors.
Triggers when the event fails, times out, or encounters errors.
Triggers regardless of the event outcome - success or failure.
Triggers when a custom condition is met using cronium.setCondition().
Cronium supports two main types of conditional actions that can be triggered based on event outcomes.
Send notifications through various communication channels
Send HTML or text emails with custom templates
Post messages with rich formatting and blocks
Send webhook messages with embeds
Execute other events to create automation chains
Event Chaining
Trigger other events based on the current event's outcome
Workflow Automation
Create complex multi-step automation processes
Send Message actions allow you to notify team members or external systems about event outcomes. Each message type supports templates with dynamic content from your event execution.
All message types support Handlebars templates with event data, variables, and runtime helpers. See the Templates documentation for detailed information on template syntax and available variables.
The "Run Another Event" action allows you to chain events together, creating complex automation workflows that respond dynamically to different outcomes.
Create multi-step automation by triggering follow-up events
Select which event to run from your available events
Choose when to trigger: Success, Failure, Always, or Custom Condition
Conditional actions are configured in the event form under the "Conditional Actions" section. You can add multiple actions with different trigger conditions for comprehensive automation.
Select when the action should trigger: On Success, On Failure, Always, or On Condition
Choose between "Send Message" for notifications or "Run Another Event" for chaining
Set up message content and credentials for Send Message, or select target event for Run Another Event
Add the conditional action to your event and test the automation workflow
Use descriptive templates
Include event name, status, and relevant context
Test your workflows
Verify conditional actions work as expected
Use system templates
Leverage built-in templates for consistency
Create infinite loops
Avoid events that trigger themselves
Ignore error handling
Always set up failure notifications
Hardcode values
Use templates and variables for flexibility