---
description: Sending SleekFlow WhatsApp messages on Salesforce marketing cloud user journey
---

# Salesforce Marketing Cloud

To send WhatsApp messages on Salesforce marketing cloud journey, you must first add SleekFlow as a Salesforce package.

## Install SleekFlow as a Salesforce package

1. Login [**Salesforce Marketing Cloud account**](https://mc.exacttarget.com/) > Settings > Platform Tools > Apps > Installed Packages>  Select <mark style="color:blue;">**`New`**</mark> on the top right

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2F7JVgiFrTktDMjDVnjVF4%2Fimage.png?alt=media&#x26;token=7c3a4c95-79e0-43f6-8db5-d69f8ec59cc6" alt=""><figcaption></figcaption></figure>



2. Input a name for the new package. e.g. “Send messages with SleekFlow”

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2FNSw4wIckWExXRUUUJg5Z%2Fimage.png?alt=media&#x26;token=27b45c54-9090-43dd-9857-aea21bb979ef" alt=""><figcaption></figcaption></figure>

3. Once a package is created, you can <mark style="color:blue;">**`Add Component`**</mark>

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2FZOFC1WPPxCVzyoHkAsVR%2Fimage.png?alt=media&#x26;token=8968ab56-fb87-4f1e-8754-8b8be0bbc5f5" alt=""><figcaption></figcaption></figure>

4. Select <mark style="color:blue;">**`Journey Builder Activity`**</mark>

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2F6QE9CzbK0ksLppMQTyVn%2Fimage.png?alt=media&#x26;token=f5b6f53e-098f-40fc-a08f-5a6ab80e1469" alt=""><figcaption></figcaption></figure>

5. Input the Endpoint URL

{% hint style="info" %}
Endpoint URL can be copied from [**Channels**](https://app.sleekflow.io/en-US/channels) > Automation tools > Salesforce Marketing cloud > Add > Endpoint URL
{% endhint %}

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2FlLtwmV5m6TG7uKts4CSO%2Fimage.png?alt=media&#x26;token=6a92e26c-a296-4682-8829-962c96ca1048" alt=""><figcaption></figcaption></figure>

## Setup Send WhatsApp Message on Salesforce

1. You can select **“SleekFlow send message”** from the left panel as an activity and drag the action to the journey

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2FhTYOePDmzhF9xXAik2NN%2Fimage.png?alt=media&#x26;token=a88827c1-b0db-426c-a96c-76ab1ae438fa" alt=""><figcaption></figcaption></figure>

2. Construct the message payload directly

**API Key:** Enter your unique API key

{% hint style="success" %}
Can be copied from [**Channels**](https://app.sleekflow.io/en-US/channels) > Automation tools > Salesforce Marketing cloud > Add > Unique API key
{% endhint %}

**WhatsApp Phone Number:** Your connected WhatsApp number with country code. e.g. 85298765432

**Message Type:** Selec **Template**

**Message Payload:** Paste the template payload from Sleekflow

{% hint style="success" %}
**Copy Payload Steps:**

Settings > Official WhatsApp > [**Template manager**](https://app.sleekflow.io/en-US/settings/templates) > Select Specific template > **Copy Payload**
{% endhint %}

<figure><img src="https://2668153669-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LosG_4OO9klOz6PLJKB%2Fuploads%2FmsH4vjgoVL6knMMJSWQA%2Fimage.png?alt=media&#x26;token=2a9f8d7a-030a-45dd-aaf8-2bfd0b7bef56" alt=""><figcaption></figcaption></figure>

3. Click <mark style="color:blue;">**`Done`**</mark> and <mark style="color:blue;">**Activate**</mark>! You may now run a test to send messages.
