# Trigger & Send Automate WhatsApp Messages

With WhatsApp4Dynamics, automate sending messages through workflows within Dynamics 365 CRM. Users can set up triggers and actions based on specific events, such as sending automated WhatsApp messages for order confirmations or appointment reminders. This automation saves time, reduces manual effort, and ensures timely communication.

**For Example:** Here we have set an automated **WhatsApp Trigger** message on **Order Creation**. Which means every time an order is created in CRM, the respective contact number associated to the order will receive an automated message.

* In order to set triggers and automate workflow, click on the Settings Icon and navigate to **Advanced Settings.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fz2zMzUrDoXW7QDBMyGij%2Fchats3.png?alt=media&#x26;token=5e3c1b9f-e63a-4033-8110-d56281a2e03a" alt=""><figcaption></figcaption></figure>

* Dropdown the **Settings** and click **Processes**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FgxR2aeGED7IHheVydMR9%2Fchats4.png?alt=media&#x26;token=f8e0cbd7-112e-471f-a199-1c902a4796fc" alt=""><figcaption></figcaption></figure>

* You can create ‘Workflow’ as per your requirements, by clicking the +**NEW button.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FhKVn4KxEJIU3m2wLeym7%2Fchats5.png?alt=media&#x26;token=8ab8dac0-84fd-4612-862a-f8b7698c6b87" alt=""><figcaption></figcaption></figure>

* Mention **‘Process Name’**, select Category as **‘Workflow’** and ‘Entity' as per your preference.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FZgS0oBTZw4TBiurtz2Cp%2Fchats6.png?alt=media&#x26;token=37cf40f9-e424-4e2a-8f38-d324fc65f029" alt=""><figcaption></figcaption></figure>

* After clicking **OK**, a new window will appear, as shown below. You will already see the **Process Name**, **Activate As,** **Entity**, and **Category**, as added in the previous window.
* And configure the **‘Workflow’** as per your requirements.
* You now need to ‘**Add Step’** in the **Workflow** to select and configure messages to be sent. The step will represent a specific task, that the workflow will perform when triggered by a defined event /condition. Here we have navigated to **Create Record** and selected **Outbox** to set the **Properties**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FaqplePpJo48EQv66weg1%2Fchats7.png?alt=media&#x26;token=837443b6-1ca8-4784-9047-a8feb2b5ee14" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Users can set multiple trigger points, depending on their requirements and workflows.
{% endhint %}

Each trigger that you create for a selected Entity can have a customized template.

* A new window will pop up when you click on **Set Properties**, as shown in the screenshot below.
* You need to enter the details like **Name, Message Template, From** (the configured number) and **Regarding** as well as To Entities as per your requirements.
* Once done, **Save and Close** the workflow.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FzE6osdM17JsgdFW5nItA%2Fchats8.png?alt=media&#x26;token=28617e5f-428d-46a2-9575-ec4e60f1c8ac" alt=""><figcaption></figcaption></figure>

* Users can choose the preferred **Message Template**. If not created, follow this [link ](https://docs.inogic.com/whatsapp4dynamics/configuration/configuring-message-templates)to know how to **Configure & Create Message Template.**

·       Once added, click **Activate**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FYbrizm5PPcnkU82aDiwZ%2Fchats9.png?alt=media&#x26;token=39a96ccc-5804-4af3-8341-4aa9438c7e42" alt=""><figcaption></figcaption></figure>

* Once trigger is activated, the messages will be automatically sent on order confirmations, appointment reminders etc. as shown in the screenshot below.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FKKBcBTUgkWqnnOF0wNKN%2Fchats10.png?alt=media&#x26;token=4da1f366-6979-48b9-9ad9-0a8527bea7d1" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}
