> For the complete documentation index, see [llms.txt](https://docs.rumwork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumwork.io/settings/automation-workflows/trigger-conditions.md).

# Trigger Conditions

### Overview

Trigger Condition(s) is the basis for an automated action(s) to run. When you select the *New Outgoing Message* and *New Incoming Message*, the Trigger Condition section appears. There are 8 types of Conditions, which, if fulfilled, the Action(s) will be executed.

![Trigger Conditions](/files/ppZg2k6m3J3LFBTyrLSJ)

For an automated action to run, you can set multiple conditions, and all those conditions need to be True or fulfilled. The Trigger Condition section has 4 elements that allow you to utilise it to the fullest. The elements are,&#x20;

![Trigger Condition Section](/files/1x5UJvE6ePdwmpCo5pYd)

1. **Trigger Condition** - Here, you can select one condition from the 8 condition types. <br>
2. **Match String** / **Text keywords** - Here, you can define the Message(text) or Keyword(s) that should be found in the New Outgoing/Incoming Message to qualify the Condition(s) as True or Fulfilled. If not, the Action(s) won't run. <br>
3. **Is Case Sensitive** - The Match String/Text Keywords Is Case Sensitive. If you set APPLE, then it should be APPLE, not Apple. Or you've set Purple; then it should be Purple, not pUrple. The text should match the Letter Case exactly to qualify the Condition as True.<br>
4. **Add More Condition** - Simply add more condition(s) to be checked and fulfilled for the Action to run when the trigger activates.&#x20;

### Trigger Condition Types

The eight types of Trigger Conditions you can use for the Automation Workflow at RUM Work are,

#### 1. Message text exactly matches

![Message text exactly matches trigger condition](/files/Fmijgu1fmDgVJTkdAZgO)

This trigger condition is available when you select the New Outgoing/Incoming Message Trigger. Under this condition, the message should exactly match the Match String to activate the trigger and run the action.

#### 2. Message text includes

![Message text includes](/files/8jJlDtHZmDEmBAURMl2S)

This trigger condition is available when you select the *New Outgoing/Incoming Message*. Under this condition, if the message includes the Match String, the trigger will be activated, and the action will run.&#x20;

The entire message doesn't need to be precisely the same as the Match String.

#### 3. Message text exactly matches any of keywords

![](/files/wSkNFTbRQcAl7XniuJKv)

You can activate the trigger using this trigger condition and run the action when the *New Outgoing/Incoming Message* includes the same keyword mentioned in the *Text keywords* field.&#x20;

#### 4. Message include any of keywords

![](/files/LJ0Z1MQzNTAQIFDQancr)

Under this trigger condition, the trigger will be activated, and the action will run when the *New Outgoing/Incoming Message* includes one/any of the mentioned Text keywords.

#### 5. List/Button Callback ID matches

![List/Button Callback ID matches](/files/HIXDOK3bLpSvdzcStzeJ)

Under this trigger condition, the automation will execute the action if the *New Outgoing/Incoming Message* is an Interactive Message and its List ID/Button Callback ID matches the Match String.

#### 6. Received outside business hours

![Received outside business hours](/files/1B4PmAsPnV2kmnNTSJk7)

Run an automation workflow action when the *New Incoming Message* is received outside the business hours.

{% hint style="info" %}
Set your business hours using the My Account settings.
{% endhint %}

{% content-ref url="/pages/Y4DDJZinXfn3TSjetG6i" %}
[Working Hours](/settings/my-account/working-hours.md)
{% endcontent-ref %}

#### 7. New Catalog Order Received

If you've created [Product Catalogs](/store-settings/whatsapp/catalog-settings.md) in the WhatsApp Store Settings, you can create Automation based on that. It will run when your contacts send a Catalog request after you send them the option to select products using the [Interactive Message](/messaging-channels/whatsapp-integration/cloud-api.md#buttons-options-product-messages).

<figure><img src="/files/naMZNdphcsAouqr5LRDt" alt=""><figcaption><p>Interactive Message sent by the Business Owner. </p></figcaption></figure>

<figure><img src="/files/FL9l8pQdLbRjU56Ew76c" alt=""><figcaption><p>Contact will select the product and then send it to the business. </p></figcaption></figure>

<figure><img src="/files/lwZgGhO2WXyWe3C86ILJ" alt=""><figcaption></figcaption></figure>

Based on the order received, you can run the automation. And to do that, select Trigger Condition as **New Catalog Order Received.**

<figure><img src="/files/NVMD7rZftEtkToE6yIr3" alt=""><figcaption></figcaption></figure>

#### 8. Very first message or message after 24hrs of last message

![Very first message or message after 24hrs of the last message](/files/jA4Um7Mz7xBK3BdYwEnc)

Set an action for the workflow that needs to be executed when the *New Incoming Message* received is the Very First Message or the Message after 24hrs of the last message in the selected channel.

### Working

Based on your selected [Trigger](/settings/automation-workflows/trigger.md), you get the Trigger Condition. Simply select the required condition.&#x20;

![](/files/S2B7jAqp2ZbW5EZBTTmB)

Then, provide the text or keywords for the Match String or Text keywords field - except in the case of Received outside business hours, New Catalog Order Received, and Very first message or message after 24hrs of the last message.

![](/files/mNG6RIYApvXHu88R4zQP)

Then check **Is Case Sensitive** if you want the Text or Keywords to exactly match.

![](/files/v1KerFCeNryUH1c2bCLa)

And if you want to use multiple conditions, click **Add More Condition**.

![](/files/Axifz81nX12NtOihbYJ5)

Once you've added the Trigger Condition(s), you can add your actions by clicking the ***Add Workflow Step***.

{% content-ref url="/pages/wltps3xu3uoabPvym7W1" %}
[Actions/Steps](/settings/automation-workflows/actions-steps.md)
{% endcontent-ref %}
