Migrating WhatsApp channels
Last updated
Last updated
Bird CRM provides tools to seamlessly migrate your WhatsApp channels and templates from the Connectivity Platform (CP) to the Bird CRM. Whether through the user interface or programmatic methods, this guide walks you through the migration and synchronization process.
This guide covers:
1. Using the Bird CRM UI for migration.
2. Using programmatic migration of WhatsApp channels from CP to the Bird CRM
3. Synchronizing WhatsApp templates programmatically.
This section provides a detailed guide on accessing and using the Migration Tool in the Bird CRM UI, enabling you to seamlessly migrate your WhatsApp channels.
Log in to Bird CRM.
Locate your organization's logo displayed in the top-left corner of the dashboard.
Click on the logo to open the navigation menu.
Select Manage Channels option to access the channel settings page.
Alternatively, you can directly navigate to: https://app.bird.com/settings/channels.
Select WhatsApp Connectivity Migration to open the migration tool.
In the WhatsApp Connectivity Migration tool, input your CP AccessKey and click Get Channels
This key allows the system to identify channels that need migration.
Select the channels you wish to migrate and click Migrate selected channels.
To begin migrating WhatsApp templates from the Connectivity Platform (CP), click Migrate all templates.
Select WhatsApp and choose the WhatsApp Business Accounts for template migration and click Sync Templates.
This structured process ensures a smooth and thorough migration from the CP to the Bird CRM, enabling a seamless transition of channels and templates.
The migration tool provides real-time status updates for each channel. Ensure all channels show a completed migration status.
To verify template migration, click on Message Templates in the navigation panel.
You should see all templates successfully migrated from the CP to the Bird CRM.
This section explains how to programmatically migrate WhatsApp channels from the Connectivity Platform (CP) to Bird CRM using API requests and a Go implementation. The process includes retrieving channels from CP, creating equivalent channels in Bird CRM, and verifying the migration to ensure a seamless transition.
Use the CP AccessKey to fetch all WhatsApp channels associated with your account.
Optionally, allow user input to decide which channels to migrate.
Use the Bird CRM API to create new WhatsApp channels in the Bird CRM workspace, using CP channel details.
Confirm the migration by reviewing the created connectors in Bird CRM.
1. Retrieve WhatsApp Channels from CP
Endpoint:
Headers:
Authorization: AccessKey <CP_ACCESS_KEY>
Content-Type: application/json
2. Create a WhatsApp Channel in the Bird CRM
Endpoint:
Headers:
Authorization: AccessKey <BIRD_CRM_ACCESS_KEY>
Content-Type: application/json
This section provides a detailed explanation of how to programmatically synchronize WhatsApp templates from the Bird CRM using an example Go implementation. The process includes identifying WhatsApp Business Accounts (WABAs) in the Bird CRM and triggering template synchronization via API requests.
Use the Bird CRM AccessKey and Workspace ID to fetch channel groups.
Identify groups corresponding to WhatsApp Business Accounts (WABAs).
In the channel groups response:
platformGroupId corresponds to the WABA ID.
platformGroupName represents the Business Account Name.
Only records where platformId
is "whatsapp" are relevant.
For each WABA, make a request to start template synchronization.
Monitor and verify synchronization status in the Bird CRM UI.
Endpoint:
Headers:
Authorization: AccessKey <BIRD_CRM_ACCESS_KEY>
Endpoint:
Headers:
Authorization: AccessKey <BIRD_CRM_ACCESS_KEY>
Content-Type: application/json
Payload: an empty JSON object ({}
).