Integrating WbizTool with Albato

Introduction

WbizTool provides a powerful REST API that can be integrated with Albato to automate your WhatsApp business messaging workflows. This guide will show you how to set up the integration and configure the Send Message API action in Albato.

Prerequisites

Before setting up the integration, you need to have:

  • A WbizTool account with an active subscription
  • A connected WhatsApp client in your WbizTool dashboard
  • Your WbizTool API credentials (Client ID, API Key, and WhatsApp Client ID)
  • An Albato account

Setting Up the Connection in Albato

Follow these steps to create a new connection to the WbizTool API in Albato:

  1. Log in to your Albato account
  2. Create a new automation or edit an existing one
  3. Click "Add an action" and select "HTTP Request/Outgoing webhook"
  4. Create a new connection with a unique name (e.g. "Wbiztool Connection")
  5. Enter the WbizTool API endpoint: https://wbiztool.com/api/v1/send_msg/
  6. Select "POST" as the request method
  7. Set "Content-Type" to "JSON"

Required Authentication Fields

For every request to the WbizTool API, you need to include the following authentication parameters:

  • client_id (Integer) - Your Client Id (Found on API Keys page)
  • api_key (String) - Your Api Key (Found on API Keys page)
  • whatsapp_client (Integer) - Your WhatsApp Client Id (Found on Whatsapp Setting page)
Client Id & Api Key can be found on the API Keys Page
WhatsApp Client Id can be found on the Whatsapp Setting Page

Configuring the Send Message API Action

To send a WhatsApp message using Albato, configure the following parameters in your HTTP POST request:

Basic Parameters

  • msg_type (Integer) - 0 for Text message, 1 for Image with message, 2 for File with message
  • phone (String) - Recipient's WhatsApp number with country code (e.g., 919632066772)
  • country_code (String) - Recipient's country code (e.g., 91 for India, 1 for USA)
  • msg (String) - The message text content

Optional Parameters for Media Messages

  • img_url (String) - Required when msg_type is 1. URL should end with a valid image extension (.png, .jpg, .jpeg)
  • file_url (String) - Required when msg_type is 2. URL from which the file can be directly downloaded
  • file_name (String) - Required when msg_type is 2. Name of the file

Additional Optional Parameters

  • expire_after_seconds (Integer) - Message will expire if not sent within this time
  • webhook (String) - Webhook URL where message status updates will be posted

Example: Setting up an Albato Workflow

Here's an example of how to configure a webhook in Albato to send a WhatsApp message:

Step 1: Set Up Google Sheets as a Trigger

You can use Google Sheets as a trigger to send messages when a new row is added:

Step 2: Configure HTTP POST Request

Configure the HTTP webhook with the required parameters:

Step 3: Set Request Parameters

For a simple text message, set up the parameters like this in the request body:

{
  "client_id": "YOUR_CLIENT_ID",
  "api_key": "YOUR_API_KEY",
  "whatsapp_client": "YOUR_WHATSAPP_CLIENT_ID",
  "msg_type": 0,
  "phone": "RECIPIENT_PHONE_WITH_COUNTRY_CODE",
  "country_code": "COUNTRY_CODE",
  "msg": "Your message text here"
}

You can map fields from your Google Sheet to the request parameters:

Step 4: Handle the Response

The API will return a JSON response with the following fields:

  • status (Integer) - 1 for success, 0 for error
  • message (String) - Description of the request result
  • msg_id (Integer) - Unique message ID for tracking (when successful)

Common Use Cases

Here are some common scenarios for integrating WbizTool with Albato:

  • Form Submissions - Send WhatsApp notifications when someone fills out a form on your website
  • New Customer Welcome - Automatically send welcome messages to new customers
  • Order Updates - Send order confirmations and shipping updates
  • Appointment Reminders - Send automated reminders before appointments
  • Lead Notifications - Alert your sales team about new leads via WhatsApp

Troubleshooting

If you encounter issues with your Albato integration, check these common problems:

  • Authentication Errors - Verify your Client ID, API Key, and WhatsApp Client ID are correct
  • Invalid Parameters - Ensure all required parameters are included and formatted correctly
  • WhatsApp Client Status - Confirm your WhatsApp client is connected in the WbizTool dashboard
  • Media URLs - For image or file messages, ensure the URLs are publicly accessible

For additional support, contact the WbizTool support team or visit our complete API documentation.