> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rasayel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Automations

[Salesforce Flows](https://help.salesforce.com/s/articleView?language=en_US\&id=sf.flow.htm\&type=5) automate your business processes and make your team more efficient. With **Flows**, you can automate certain tasks (actions) based on triggers you define.

Rasayel adds its own definition for a couple of actions to allow you to automatically send WhatsApp templates as part of your Salesforce Flows.

### Supported actions:

* Send a WhatsApp template message
* Send a proactive WhatsApp bot flow

### Start using WhatsApp template messages in Salesforce Flows

To start using the WhatsApp messages in your flows, head to your “Flows” page and:

1. Go to **New Flow** > choose **Record-Triggered Flow** > click **Create**.

   <img src="https://mintcdn.com/rasayel-0ad99d68/Znigw996N3FG_XUf/images/Record-TriggeredFlow.png?fit=max&auto=format&n=Znigw996N3FG_XUf&q=85&s=f4b45fad5f58a8152ffbb91153e28d2c" alt="Record Triggered Flow Pn" width="2180" height="1050" data-path="images/Record-TriggeredFlow.png" />
2. Select a supported object (e.g. **Lead**).
3. Click the **+** to add an element > choose **Action**.
4. From the **Rasayel** category, select **Send a WhatsApp Template**.

   <img src="https://mintcdn.com/rasayel-0ad99d68/Znigw996N3FG_XUf/images/Record-TriggeredFlow-2.png?fit=max&auto=format&n=Znigw996N3FG_XUf&q=85&s=5cc8449b0f957041315bcc2e4e6afd3a" alt="Record Triggered Flow 2 Pn" width="2180" height="1008" data-path="images/Record-TriggeredFlow-2.png" />
5. Add a label and fill in the required parameters:
   * **Channel**: Enter the exact name of your Rasayel channel ([find it here](https://app.rasayel.io/settings/channels)).
   * **Phone number**: Use the recipient’s number or map it from the object (e.g. Lead phone).
   * **Template**: Enter the name of your WhatsApp template ([find it here](https://app.rasayel.io/settings/templates)).
6. Click **Save**, label your flow, and you're done.

This way, whenever an object is created/updated/deleted, the action will execute properly and send a WhatsApp template.

There are many possibilities you can build using Rasayel’s Salesforce Flow Actions, we have only shown you one possibility as an example.
