# Automation Workflows

### Overview

Using Automation Workflows, you can run automated Actions on RUM Work based on **Trigger** and **Trigger Condition(s)**. For creating and running an automation workflow, it's necessary to select the Trigger (you can use only one trigger for single automation) and based on that; you need to choose condition(s) and define its values.

To access Automation Workflows, you can go to the **Automation** → **Automation Workflows** from your Dashboard.&#x20;

![Accessing Automation Workflows](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FzJrmK9qU3kWUeY2FP0ef%2FAccessing%20Automation%20Workflows%20Through%20Dashboard.jpg?alt=media\&token=78e68b12-39f3-4d7a-9577-ecbd3534f037)

Or, you can go to the Settings **→** then select **Automation Workflows**.

![Accessing Automation Workflows Using Settings](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FQ4lASyZJRPAEUvCaoWwi%2FAccessing%20Automation%20Workflows%20Through%20Settings.gif?alt=media\&token=7bb54169-4a95-4853-8dc6-11b3bc698cf6)

### Creating a Workflow

To create an automation workflow, you need to click the **Create Automation Workflow** button.&#x20;

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FCx042tf0qpB7sRSbnKgh%2FCreate%20Automation%20Workflow%20button.jpg?alt=media\&token=7a9c6b94-8d77-4ca4-be6d-acfa3032b7cf)

This will open the Create Automation Workflow modal with the options as -&#x20;

* Automation Name
* Trigger
* Channel / Service Integration (trigger dependent)
* Actions

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2F4f8NoyEQCG91y5A2r4XE%2FCreate%20Autmation%20Workflow%20modal.jpg?alt=media\&token=f70e2b36-f42a-4256-a59b-f17964c41279)

Learn more about workflow options at -&#x20;

{% content-ref url="automation-workflows/trigger" %}
[trigger](https://docs.rumwork.io/settings/automation-workflows/trigger)
{% endcontent-ref %}

{% content-ref url="../messaging-channels/channels-overview" %}
[channels-overview](https://docs.rumwork.io/messaging-channels/channels-overview)
{% endcontent-ref %}

{% content-ref url="../rum-work-modules/integrations" %}
[integrations](https://docs.rumwork.io/rum-work-modules/integrations)
{% endcontent-ref %}

{% content-ref url="automation-workflows/trigger-conditions" %}
[trigger-conditions](https://docs.rumwork.io/settings/automation-workflows/trigger-conditions)
{% endcontent-ref %}

{% content-ref url="automation-workflows/actions-steps" %}
[actions-steps](https://docs.rumwork.io/settings/automation-workflows/actions-steps)
{% endcontent-ref %}

#### Select Trigger

In the Create Automation Workflow modal, first, you need to define a name for the automation. Then, select a Trigger from the available options.

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2Fvxxu3tbkGRb0qkAGQi0e%2FSelecting%20Trigger%20Type%20in%20Automation%20Workflow.jpg?alt=media\&token=1f478d25-654c-4bb1-b9ec-781e18312da0)

After selecting the Trigger, you need to select either a Channel or Service Integration, based on your Trigger type.&#x20;

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2F4O1V919w1eWsNN38A1K9%2FSelecting%20a%20Channel%20for%20the%20Automation%20Workflow%20Trigger.jpg?alt=media\&token=5f3e0f2d-2486-4e05-b83e-53e2b407681c)

#### Select Trigger Condition

Based on your selected [Trigger](https://docs.rumwork.io/settings/automation-workflows/trigger), you get the Trigger Conditions. Simply select the required condition.&#x20;

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FH8JvP8PloCZPagsYpwBS%2FSelect%20Trigger%20Condition.png?alt=media\&token=a00f6292-0b61-4436-8eb4-002be3446f25)

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.

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FWMjBvDT1paM3vkTo1w0F%2FMatch%20string%20or%20text%20keywords.png?alt=media\&token=39081b5b-270c-4fcc-8a49-940401c274e1)

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

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FpR880X4lmtHv7WKVNVQz%2FIs%20Case%20Sensitive.png?alt=media\&token=0db44791-bef3-4a21-aa8f-e6ec35e642aa)

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

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2F5LzY2HljEarh0zycvDTo%2FAdding%20More%20Conditions.png?alt=media\&token=6fee2f24-05c5-4d16-80ce-347d100254d6)

Once you've added the Trigger Condition(s), you can proceed to add the Workflow Steps.

####

#### Add Steps

To add Workflow Steps, click the **Add Workflow Step** to access Action types.&#x20;

![Adding Workflow Steps](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2Fsipwl3P845z2pBB75uX9%2FAdding%20Steps%20to%20the%20Workflow.jpg?alt=media\&token=879e1ace-bca9-4c9e-a123-cf6f1b2eee22)

This will open the Workflow Steps modal with all the step types.&#x20;

![Selecting Workflow Step](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FAt4T3eYdqyIvQdlL1gp3%2FSelecting%20Workflow%20Step%20for%20Trigger.jpg?alt=media\&token=9fb9e744-173a-4b21-8734-a4c42957116d)

There are a total of 16 Workflow Steps you can select to assign them to an automation trigger. Simply select your Step from the given list and configure them accordingly. To learn how each step work and what's the best way to configure them, visit [Steps](https://docs.rumwork.io/settings/actions-steps#workflow-steps) documentation.

{% content-ref url="automation-workflows/actions-steps" %}
[actions-steps](https://docs.rumwork.io/settings/automation-workflows/actions-steps)
{% endcontent-ref %}

Once, you've saved the Step, it will appear in the Create Automation Workflow modal as the following.&#x20;

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FHraDR4wW02wyGBdFeHHp%2FSaved%20Workflow%20Step.jpg?alt=media\&token=3161cc7f-9289-40c5-a280-2e14b53e0be8)

To add more steps, you can simply click the Add Workflow Step button. Once you've added all the required steps, you can click Save to create your Automation Workflow.

![Saving Automation Workflow](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FAMRKEXuGUeU2yfVPwO7o%2FSaving%20Automation%20Workflow.jpg?alt=media\&token=af8cd7cd-19c5-4490-9644-9cc3e9811227)

And it will appear in the Automation Workflows library.&#x20;

![Saved Automation Workflow in the Library](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FtgbxVj4qdshEmcBUDXUv%2FSaved%20Automation%20Workflow.jpg?alt=media\&token=73a154ea-f107-404d-bf16-b1772dac4457)

### Editing a Workflow

To edit an Automation Workflow, click the Pen icon in the right corner.&#x20;

![Accessing Workflow Edit Option](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FZY6RzIHKdMI04LtY1D67%2FEditing%20an%20Automation%20Workflow.jpg?alt=media\&token=30de9e7d-4e89-4eaa-8b0d-4c77f6c6ba68)

This will open the Update Automation Workflow modal. Here, you can only make changes to the Channel, Trigger Condition and Steps.&#x20;

![](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FZ5DjRaUXfNj98049pRKs%2FEditing%20Automation%20Workflow's%20Channel%2C%20Condition%20and%20Step.jpg?alt=media\&token=fd5f9c02-9810-4b4e-9e6e-a53b1047b8d5)

You can add more conditions by clicking the Add More Condition button. Or you can change the current with another.&#x20;

For Step(s) you can edit it by clicking the Pen icon at the right side. When you edit the step, you can change the value for the selected Step type. Or you can choose another Step by simply clicking the Action Type field.&#x20;

![Saving an Edited Workflow Step](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FAqZ1kPJ0z7frhUozSGVd%2FUpdating%20the%20Step.jpg?alt=media\&token=59eac80c-093e-4939-80a6-1b76ecb712b7)

Once edited the Step, click Update to make changes.

![Deleting a Workflow Step](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FOtts0o7sFc9tc5KixmKP%2FDeleting%20the%20Step.jpg?alt=media\&token=ef671a43-1e97-4072-b2de-90294606a748)

If you want to delete a step, simply click the Trash icon.&#x20;

![Saving Edited Workflow](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FNK7iZIuPie7x9tboZtcX%2FSaving%20Updated%20Workflow.jpg?alt=media\&token=bbceb3ad-c8c1-4165-a98d-4e5cd4e4dc5f)

And after making all the changes, to save the edited Automation Workflow, you need to click the **Update** button.

### Deleting a Workflow

To delete an Automation Workflow, simply click the Trash icon next to the edit button.

![Deleting An Automation Workflow](https://1755261872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FZmFL5vEdasRURIv0tWiZ%2FDeleting%20the%20Workflow.jpg?alt=media\&token=6d176181-71e0-4739-9292-16eb8ffa0eac)

This will remove the workflow completely.
