> For the complete documentation index, see [llms.txt](https://guides.d7networks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.d7networks.com/integrations/active-campaign/integrate-whatsapp-api.md).

# Integrate WhatsApp API

Make your customer communication easier by integrating D7 WhatsApp API from ActiveCampign.

## How to Use the D7-WhatsApp Extension on ActiveCampaign

Follow these steps to integrate and use the D7-WhatsApp extension within ActiveCampaign

1. **Add Action in Automations**

Navigate to the Automations section. Click on Add Actions

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

2. **Select D7-WhatsApp Endpoint**

In the search bar, type "D7". Select the desired WhatsApp endpoint you want to use.

<figure><img src="/files/3jOwmU63ptNsD0aoKApp" alt=""><figcaption></figcaption></figure>

3. **Generate and Add API Token**

You will be redirected to a window asking for an API token.&#x20;

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

&#x20;To generate a token, navigate to: <https://app.d7networks.com/api-tokens>. Create a new application named "ActiveCampaign".

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

&#x20;Click on Generate Token and copy it

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

Paste the token into the ActiveCampaign Automation window.

4. **Configure WhatsApp Message Details**

Click Next, and you will be prompted to enter the required details:&#x20;

Originator: Get it from <https://app.d7networks.com/whatsapp-meta/registered-numbers>.

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

Language & Template ID: Retrieve from <https://app.d7networks.com/whatsapp-meta/whatsapp-meta-template>.

<figure><img src="/files/5V4xDXCqkvuDBNPMnDii" alt=""><figcaption></figcaption></figure>

Fill in the remaining details.

<div><figure><img src="/files/dubDvpBzZi5adJJUcWft" alt=""><figcaption></figcaption></figure> <figure><img src="/files/mv7Eqm9Q2GCUVWxCEdXq" alt=""><figcaption></figcaption></figure></div>

5. **Activate the Automation**

Once the setup is complete, activate the automation.

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

6. **Monitor Automation Logs**

After a trigger is initiated, you can find the automation log under each contact’s Recent Activities section.

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