Marketing Bot Settings

Getting Started with Marketing Bot

The Marketing Bot is designed for ease of use and flexibility, making it accessible whether you're a small business or large enterprise managing multiple campaigns.

Prerequisites

For WhatsApp Business:

Important! Markleyo only connects with whatsapp business account. You won't be able to connect your personal account to it.

For Telegram:

Setting Up WhatsApp

WhatsApp integration uses Twilio as the service provider. Twilio manages WhatsApp connectivity and message delivery.

Step 1: Create or Access Twilio Account

  1. Go to twilio.com

  2. Create a free account or log in to existing account

  3. Complete phone number verification

  4. Your account is ready

Step 2: Get Your Twilio Credentials

  1. Log into Twilio Console

  2. Go to Account SettingsAPI Keys & Tokens

  3. Copy your Account SID (starts with AC)

  4. Copy your Auth Token (long alphanumeric string)

  5. Keep these secure—don't share publicly

Example:

Step 3: Get Your WhatsApp Phone Number

  1. In Twilio Console, go to MessagingWhatsApp

  2. You have two options:

For Sandbox (Testing):

For Business (Production):

  1. Copy your WhatsApp phone number

Step 4: Connect to Markleyo

  1. In Markleyo, go to Marketing BotWhatsApp

  2. Click "Connect WhatsApp" or "Settings"

  3. Enter your Twilio credentials:

  4. Click "Connect" or "Save"

  5. Your WhatsApp integration is now active

Troubleshooting WhatsApp Connection:

Issue

Solution

Connection failed

Verify Account SID and Auth Token are correct

Messages not sending

Check WhatsApp phone number is active in Twilio

Rate limiting

Ensure you're on production number, not sandbox

Incomplete verification

Complete WhatsApp Business verification on Twilio


Setting Up Telegram

Telegram integration is simpler—no third-party account needed. Just connect your Telegram bot directly.

Step 1: Create a Telegram Bot

  1. Open Telegram app on your phone, tablet, or desktop

  2. Search for "BotFather" (official Telegram bot management tool)

  3. Tap to open conversation with BotFather

  4. Send the command: /newbot

  5. BotFather asks: "Alright, a new bot. How are we going to call it?"

Step 2: Name Your Bot

  1. Reply with your bot name (e.g., "Markleyo Marketing Bot")

  2. This name is visible to users

  3. BotFather asks: "Good. Now let's choose a username for your bot."

Step 3: Choose Bot Username

  1. Reply with a unique username (e.g., @MarkleoMarketingBot)

  2. Username must end with "bot"

  3. Username must be unique (not already taken)

  4. BotFather confirms: "Done! Congratulations on your new bot."

Step 4: Receive Your Bot Token

BotFather sends you a message like:

Done! Congratulations on your new bot. Here are your bot details:

Name: Markleyo Marketing Bot
@MarkleoMarketingBot
Token: 123456789:ABCdefGHIjkLmnoPQRstuVWXyz

You can use this token to access the Telegram Bot API:
https://api.telegram.org/bot123456789:ABCdefGHIjkLmnoPQRstuVWXyz/getMe

Copy the Token (e.g., 123456789:ABCdefGHIjkLmnoPQRstuVWXyz)

Step 5: Connect to Markleyo

  1. In Markleyo, go to Marketing BotTelegram

  2. Click "Connect Telegram" or "Settings"

  3. Paste your Bot Token

  4. Click "Connect" or "Save"

  5. Your Telegram integration is now active

Step 6: Share Your Bot with Users

Users can now find and start your bot:

  1. Open Telegram

  2. Search for your bot username (@MarkleoMarketingBot)

  3. Tap your bot

  4. Tap "Start"

  5. Begin receiving messages