Direct Message Gateway

Scale your reach with localized broadcast automation.

Auto-normalizing to Local Region (91).

System Insight

Secure End-to-End

All payloads are encrypted prior to Meta handoff.


Network Latency 14ms

Live Connection Matrix

Customer Engagements

Polling Contact Stream...
Welcome Illustration

Bridge Active Flow

Synchronize with a conversation node to reveal the historical message chain.

U
919873028739
Node Sync Active

Modular Logic Library

Communication Assets

Architect New Asset
Lowercase + Underscores only.
Variables like {{1}} are dynamically injected at runtime.
Live Asset Cluster
NAMESPACE PRIMARY LOCALE META STATUS NODE ID ORCHESTRATION

Event Logs

Communication History

TIMELINE NODE DESTINATION ASSET TYPE PAYLOAD FRAGMENT FLOW DELIVERY

Infrastructure Management

Global Webhook Gateway

Sync Engine v2.0

Connect your Meta Cloud Infrastructure to this node for real-time engagement syncing.

https://chatpilot.codepilotx.com/api/webhook.php

This URL is automatically synchronized with your current environment.

my_secure_token_123

Meta API & Webhook Master Guide

1
Meta App & Business Portfolio

Go to Meta Dashboard. Create an App of type **"Other"** -> **"Business"**. Link it to your Meta Business Account.

2
Activate WhatsApp Product

In your App Dashboard, find **"WhatsApp"** in the "Add Products" section and click **Set Up**. This creates your testing environment and default WABA setup.

3
Generate Permanent Access Token
  1. Go to Business Settings > System Users.
  2. Add a System User (Admin role).
  3. Click **Generate New Token**, select your ChatPilot App.
  4. Permissions required: whatsapp_business_messaging, whatsapp_business_management.

Paste this token into your config.php immediately.

4
Extract Cluster IDs

Go to WhatsApp > API Setup. Copy the Phone Number ID and WhatsApp Business Account ID into your config.php. These identify your specific node in the Meta cluster.

5
Configure Callback Handshake

Go to WhatsApp > Configuration. Click **Edit**. Paste:

  • Callback URL: The URL displayed on the left of this tab.
  • Verify Token: my_secure_token_123

6
Subscribe to Logic Events

In the configuration screen, click **Manage**. You **must** subscribe to: messages (received replies) and message_template_status_update (approval alerts).

7
Go Live & Scale

Switch your app from **"Development"** to **"Live"** in the top navigation bar. For production, ensure your Business Portfolio is verified by Meta to remove messaging limits.

Live Domain Control

Update your domain here to instantly generate the correct Webhook links below for Meta integration.

Enter your Domain Name only. Clicking Save will update your config.php permanently.

CORE SETTINGS TRANSITION
1
Meta Dashboard:

Whenever you change the domain here, you must also update the Webhook URL in your Meta App Dashboard to keep receiving messages.

Connectivity Check

Meta requires an SSL (HTTPS) connection for webhooks. Ensure your Hostinger hosting has an active SSL certificate.

Zero Meta Surcharge

Webhooks are free and unlimited. They only consume standard server bandwidth.