# Trigger

A trigger in the Automation Workflows allows you to set different conditions to run automated actions.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FQCkC7zh23pmk6htJUm5B%2FRUM%20Work%20Automation%20Workflow%20Triggers.jpg?alt=media&#x26;token=5eb43b9c-cf70-4db5-b33c-42bd1dc109c7" alt=""><figcaption><p>Automation Workflow Triggers</p></figcaption></figure>

### Trigger Types

Using triggers, you can activate an automated action(s) based on the conditions fulfilled. It's highly useful to serve your customers in a timely manner and perform different actions when you're away from the platform. Or when you want to handle fewer tasks.&#x20;

At Rampwin, you can utilise 4 types of Automation Workflow Triggers:

#### 1. New Outgoing Message

You can use this trigger to set conditions to activate an automated action(s) when you or your teammate send a message to the client/customer/user using [Chat](broken://pages/yrp96aIUQEMCXnSNFzRi).

#### 2. New Incoming Message

Using this Trigger, you can activate an automated action(s) based on the conditions when you receive a message on the selected [Channel](broken://pages/2FV0sVYuPX6aU60pWzTk).&#x20;

#### 3. New Contact Created By Chat

If you or one of your teammates creates a new contact using Chat, then this trigger will run the automated action(s) based on the conditions met.

#### 4. New Facebook Lead Generated

Activate an automated action(s) when a new Facebook lead is generated through the selected integration while creating the automation workflow.

#### 5. When A Tag is Added/Removed

Create an Automation Workflow triggered by the addition or removal of the Tag from the contact's info.

### Conditions & Actions

During [creating an automation workflow](broken://pages/Vr2HSJYCpsSOiYkwHeN7#creating-an-automation-workflow), choosing Trigger [**(1)**](#1.-new-outgoing-message) or [**(2)**](#2.-new-incoming-message) will further open multiple **Trigger Conditions**.

Each Trigger has a different set of conditions. Once these conditions are fulfilled, the automated Actions run.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rampwin.com/english/trigger.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
