Rule Action

Overview

Once you have configured your rule or scheduler, you would be prompted to setup rules action along with it.

Syntax

Rule action can be defined in the following format.

@integration_name-name

Example Rule Actions

For example you can trigger a notification to slack using the following format

@slack-channel_name
@slack-wallet-cashin

You can also trigger a workflow with the following format

@workflow-workflow_name
@workflow-transfer_money_to_restaurant_and_driver

If you need to pass in variable from the even into the workflow you can do so in the following format

@workflow-workflow_name(amount=$event.amount, currency=$event.currency)