# Actions/Steps

Overview

Actions in an automation workflow are the Tasks that get executed when Trigger activates, and Trigger Condition(s) are fulfilled.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FOfMa8OGCNv3u940nI2fo%2FAdding%20Workflow%20step%20.png?alt=media&#x26;token=a6d42df9-63e8-4496-b694-4697cbb60415" alt=""><figcaption><p>Adding Workflow Step</p></figcaption></figure>

To add an action to an automation workflow, first, you need to select a [Trigger](broken://pages/QcnEm11A8RWGV2t3tcaZ#trigger-types), then the [Channel](broken://pages/2FV0sVYuPX6aU60pWzTk#introduction) in which you want to trigger the automation. After that, add [Trigger Condition](broken://pages/cRFz7hRe3cGo69UJ9lFj#trigger-condition-types)(s), and once you've added all, click the **Add Workflow Step** to access Action types and add them.&#x20;

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2F5ORwPyOFqC5p0H99q1vi%2FRUMWork%20Automation%20Workflow%20Steps.png?alt=media&#x26;token=767bda61-cf98-44a5-ab01-1c548241077b" alt=""><figcaption><p>Workflow Steps/Actions</p></figcaption></figure>

There are a total of 24 Actions for the Automated Workflow; based on those, you can run automated tasks at Rampwin.

### Workflow Steps

The 24 Workflow Steps or Actions you can utilize at Rampwin are,

#### Starting Point: Trigger Node

* **Define your trigger**: This could be an incoming message, a specific user action, a scheduled time, or an event from another system (e.g., new customer sign-up).

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

#### Workflow

* **Criteria Router**: Route the workflow based on specific criteria such as message content, user attributes, or other conditions.

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

* **Jump to Automation**: Jump to a specific automation flow based on criteria.

<figure><img src="/files/8BGYmV9xGkfFFOMGvNO6" alt=""><figcaption></figcaption></figure>

* **Delay Execution**: Introduce delays where necessary to control the timing of actions.

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

#### Messaging

* **Auto Reply Template Message**: Set up automated responses using predefined templates.
* If you've created a WhatsApp Template Message and want to send it automatically based on Trigger and its Condition, you can use the **Auto Reply Template Message** in the Workflow Step. This Automation only works for WhatsApp Official API Channels:
* Click on the Add Workflow Step **→** then select **Auto Reply Template Message** in the Action Type.
* After selecting the action type, select the template you've created before.&#x20;
* Then, preview your message template and click **Add**.

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

* **Auto Reply Button/Option/Products**: Send automated replies that include buttons for options or product selections.

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

* **Auto Reply and Collect User Inputs**: Automate responses that also collect inputs from the user for further processing.
* If you want to ask users bot questions and want to save their responses in the contact fields, you can use this Workflow Step.

<figure><img src="/files/07xs6CxecwEdnzaziaoc" alt=""><figcaption></figcaption></figure>

Under this, you've to define a question in the *Question* field, and for the answer, you need to select a contact field from the *Save To Contact Attribute* option.

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

There are a total of 11 Contact Attributes you can select from to save the answer.&#x20;

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

For multiple questions, you can click the button **Add More Questions**, and once done, click **Add**.&#x20;

#### `Customer` Interaction

* **Add To Drip Campaign**: Add users to a drip campaign for sequential automated messages.

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

* **Remove From Drip Campaign**: If the contact is in a Drip Campaign, and if you want to remove it from that based on the Trigger Condition(s) fulfillment, you can use this particular Automation Workflow Step.

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

Simply select the Drip Campaign from the list and click **Add**.

* **Add Contact List**: The automation Workflow can add the contact to a list under this Workflow Step when the automation trigger is activated.

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

* **Set Contact Attribute**:&#x20;

If you like to save a message using the automation workflow, you can do that. The Action/Workflow Step provides you with the option to save a particular message to the Contact Attribute.&#x20;

Update user attributes (e.g., set a tag, update a profile field).

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

* **Set Conversation Status**: Change the status of a conversation (e.g., open, closed, pending).

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

* **Mark Blacklisted**: Mark users as blacklisted to prevent further communication. If you want to avoid false Leads, Contact creation, or Incoming or Outgoing messages, you can put that on the blocklist using this particular Automation Workflow Step.

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

* **Assign To Team Member**: Whether you receive a new incoming message or send an outgoing, or perhaps a lead is generated. Therefore, based on the Trigger and its condition, if you want it to be reviewed or taken into notice by a Team Member, you can use this Automation Workflow Step.

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

There are two options it provides:

* Assign to Specific Team Member

* Assign One by One (Round Robin Method)

* **Unassign From Team**: Remove an assignment from a team member when necessary.

<figure><img src="/files/6sv3n9GKRKA5XeKs9vfX" alt=""><figcaption></figcaption></figure>

#### Security

* **Hide The File**: Secure sensitive files shared in the conversation.

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

* **Mark The Text Messages As Per Regex**: Use regex patterns to identify and mark specific text messages for follow-up or categorization.

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

#### Technical

* **Call REST API**: Integrate with external systems by calling REST APIs. Likewise sending information to the Rest API using the Push To CRM action type, you can also call/add the API of a 3rd party software or platform when needed using the automation for the particular Trigger.

<figure><img src="/files/AxGdSvkGVInyfnfW4dxA" alt=""><figcaption><p>Select <strong>Call REST API</strong> as the Action Type.</p></figcaption></figure>

Then, according to your requirements and the platform's compatibility, add the REST API details. For instance,

* Type for URL as POST, GET, PUT, and DELETE.
* Input Header Key(s) and Value(s).
* Select Data Type as URL Encoded, JSON, or FORM.
* Then, add the JSON Data using the parameter fields, and once done, click **Add**.
* **Eval**: Execute custom scripts or code snippets for advanced processing.

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

#### Tagging

* **Add Tags**: To automatically assign tags to the contact, you can utilize this particular Automation Workflow Step.

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

Simply select the existing tags or define new ones and then click **Add**.

* **Remove Tags**: Create an automation step to remove tags from the contact.
* Select the tag(s) you want to remove and click **Add**.

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

#### Payment Processing

* **Send Payment Link**: Automate the sending of payment links to users.
* Based on your payment partner selected in the respective channel, you can create an automation rule to send a payment link when the trigger activates and all the conditions are met.

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

With the payment link, you can also add a custom message if needed. Explore the following settings to set up the payment link.&#x20;

#### WhatsApp Chat Commerce

**Send Cart Confirmation Message**

* **Confirm orders**: Send messages to confirm cart contents and orders.

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

**Send WhatsApp Notification**

* **Alert and update**: Send notifications for order status, promotions, or updates.

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

#### 1. Auto Reply

Using this particular Workflow Step, define a message to send it as an auto-reply when trigger condition(s) is fulfilled.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FHQV6sNV6JOQlJsYZN5Zo%2FAuto%20Reply%20Workflow%20Step.png?alt=media&#x26;token=7675a143-d8b2-4f47-aa72-810c8e7e0b89" alt=""><figcaption><p>Auto Replay Workflow Step</p></figcaption></figure>

To use this Workflow step, simply add the text, use contact fields, insert any file you want to by clicking the Choose File button and once done, click **Add**.&#x20;

{% hint style="info" %}
When you select the Trigger type as New Facebook Lead Generated, then in the Auto Reply Step, you have to select a Channel as well.
{% endhint %}

#### 2. Auto Reply and Collect User Inputs

If you want to ask users bot questions and want to save their responses in the contact fields, you can use this Workflow Step.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FoQXjzgjNi7IoX8KNR0BE%2FCollect%20User%20Inputs%20and%20Auto%20reply.png?alt=media&#x26;token=08211e0c-059a-4843-b0c1-9270b2cde320" alt=""><figcaption></figcaption></figure>

Under this, you've to define a question in the *Question* field, and for the answer, you need to select a contact field from *Save To Contact Attribute* option.&#x20;

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FhXzxtvGhrfbBatkiHn2U%2FContact%20Attributes.png?alt=media&#x26;token=3dd23ea2-82a0-48bd-b0f4-c76e9bb009f3" alt=""><figcaption></figcaption></figure>

There are a total of 11 Contact Attributes you can select from to save the answer.&#x20;

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FozVzEgftKVTj0qd4Vf0h%2FAdding%20more%20questions%20to%20the%20User%20input%20step.png?alt=media&#x26;token=86f05df8-3cdf-4bde-9ade-5198f9f85ac0" alt=""><figcaption><p>Adding More Questions</p></figcaption></figure>

For multiple questions, you can click the button **Add More Questions**, and once done, click **Add**.&#x20;

#### 3. Add Contact to List

The Automation Workflow can add the contact to a list under this Workflow Step when the automation trigger is activated.&#x20;

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FSlcZIHHCjHuT0NXVK1Kd%2FAdd%20Contact%20to%20List%20Workflow%20step.png?alt=media&#x26;token=76c1b824-b431-43b8-9d82-a66ae779ef8f" alt=""><figcaption></figcaption></figure>

You can either create a new list or choose an existing one. Once the Trigger is activated and all the defined conditions meet, it will automatically add the contact to the selected list.

#### 4. Send Payment Link

Based on your payment partner selected in the respective channel, you can create an automation rule to send a payment link when the trigger activates and all the conditions meet.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2Fws6GIRmkJFqY5FODhtzY%2FSend%20Payment%20Link%20Workflow%20Step.png?alt=media&#x26;token=214efb59-a6f0-42e9-8b55-554d483e364f" alt=""><figcaption></figcaption></figure>

With the payment link, you can also add a custom message if needed. Explore the following settings to set up the payment link.&#x20;

#### 5. Save Message Text to Contact Attribute

If you like to save a message using the automation workflow, you can do that. The Action/Workflow Step provides you with the option to save a particular message to the Contact Attribute.&#x20;

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FbN7EgxsqXzWX3QTXtwAj%2FSave%20Message%20Text%20to%20Contact%20Attribute.png?alt=media&#x26;token=903a77d2-2170-4dea-b306-846c42d87ed4" alt=""><figcaption></figcaption></figure>

Select the **Save Message Text to Contact Attribute** in the Action Type.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhElFPtMZjXYjDDMBT5q2%2Fuploads%2FBeeEAZhEBqkBbVWToVkA%2FSelecting%20Contact%20Attribute%20to%20Save%20Message%20Text.png?alt=media&#x26;token=b2b18923-23b7-4cd3-9ac3-c5ef07ea19b1" alt=""><figcaption></figcaption></figure>

Then, select a particular contact attribute in which you'd like to save the message. The automation workflow step provides you with the default attributes and custom ones you've created using the Custom Field.

#### 6. Auto Reply Template Message

If you've created a WhatsApp Template Message and want to send it automatically based on Trigger and its Condition, you can use the **Auto Reply Template Message** in the Workflow Step. This Automation only works for WhatsApp Official API Channels:

* [Cloud API](/english/cloud-api.md).

Click on the Add Workflow Step **→** then select **Auto Reply Template Message** in the Action Type.

After selecting the action type, select the template you've created before.&#x20;

In the Workflow Step / Actions section, select **Auto Reply Button/Options/Products** as the Action Type.

The Round Robin method will work per the configuration in the [Chat Settings](broken://pages/NkGJspKFw6xEpK0rcJKB).


---

# 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/actions-steps.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.
