Services
Performance MarketingFunnel CreationLanding PagesMarketing AutomationLead Generation
Products
CRM + AI Email MarketingWhatsApp APIAI Voice CallingAuto DialerForms, Live Chat & Bot
Company
Ad budget calculatorPricingSolutionsDocsAboutContactBook a strategy call

CRM + AI Email Marketing

Complete guide to the Convrly CRM and its built-in AI Email Marketing studio: installation, leads, the calling screen, customers and payments, reports, ROAS, team roles and email campaigns. Product overview

Overview

The Convrly CRM is a self-hosted web application (PHP 8 + MySQL) that manages your whole sales cycle: leads come in from ads and forms, your team follows them up by phone, WhatsApp and email, converted leads become customers with payments and receipts, and every rupee of ad spend is tied back to revenue.

AI Email Marketing ships alongside the CRM on the same server and lets you write, design and send email campaigns with AI, then track opens and clicks.

AreaWhat it covers
LeadsPipeline stages, scoring, assignment, follow-ups, My Day, calling screen, recycle bin
CaptureLead webhook, CSV import (Meta Ads exports), public enquiry form, UTM tracking
CustomersCustomer records, products/plans, payments, instalments, discounts, receipts
MoneyAd spend, other income, expenses, monthly reports, funnel & ROAS
TeamAdmin / manager / staff roles, activity log, password policy
AI EmailAI email writer, campaigns, contacts, drip sending, analytics, unsubscribes

Requirements

ComponentRequirement
HostingLinux VPS or shared hosting (Hostinger, cPanel or similar) — 1st year included with your purchase
PHP8.1 or higher with PDO MySQL and cURL
DatabaseMySQL 5.7+ or MariaDB 10.3+
HTTPSSSL certificate on your domain (forced automatically by .htaccess)
CronOne cron job every minute for email sending
Email serviceA Brevo account (free tier: 300 emails/day) with a verified sender
AI (optional)An Anthropic API key for the AI email writer

We install and configure everything for you as part of your purchase. The steps below are for reference and for re-installing on a new server.

Installation

  1. Create a MySQL database and user in your hosting panel (hPanel → Databases → MySQL Databases).
  2. Upload the CRM files to your web root (for example public_html/ or public_html/crm/). Make sure the hidden .htaccess file is uploaded.
  3. Copy config.local.sample.php to config.local.php and fill in DB_HOST, DB_NAME, DB_USER, DB_PASS. The CRM refuses to start without this file.
  4. Generate a webhook token with openssl rand -hex 32 and paste it into WEBHOOK_TOKEN in the same file.
  5. Make sure the data/ and uploads/ folders are writable by PHP (755).
  6. Log in as admin. You are sent straight to migrate.php — press Run migration. It only adds tables and columns, never deletes anything, and is safe to run more than once.
  7. Open Staff and create your team (see Team & roles).

Verify: opening https://yourdomain.com/config.local.php in a browser must return 403 Forbidden.

First-time setup checklist

  1. Settings → Payment & Email Setup: add your email service key, sender email and sender name, and your payment links.
  2. Settings → message templates: edit the WhatsApp and email templates your team sends from each lead (course/product details, “we tried calling you”).
  3. Products / plans: add what you sell with its duration and price (the “Courses” page).
  4. Staff: add every team member with the right role.
  5. Automatic lead capture: connect your ads and website forms to the lead webhook.
  6. Ad Spend: start recording what you spend per campaign so ROAS works from day one.

Lead pipeline & stages

Every lead has a stage. The default funnel order is:

StageMeaning
New LeadJust arrived, nobody has contacted them yet
ContactedA team member has spoken to or messaged them
Demo ConfirmedThey agreed to a demo / meeting / consultation
No ResponseTried, could not reach
Demo AttendedThey showed up
Demo No-ShowThey booked but did not show up
EnrolledConverted to a paying customer
Not EnrolledLost — a lost reason is recorded
Follow-upInterested, needs another contact later

Change a stage from the lead page or the calling screen. Every change is written to the lead's activity history with who changed it and when.

Lead fields

  • Full name and WhatsApp/phone (required)
  • Email, state, current status
  • Interested product / course
  • Desired start date
  • Assigned team member
  • Source and UTM fields (source, medium, campaign, content, term)
  • Follow-up date
  • Lost reason when marked “Not Enrolled”

Lead scoring & My Day

Each open lead gets a score and a Hot / Warm / Cold band, calculated from its stage, how complete its contact details are, how engaged it has been and how old it is. The rules are plain, readable code in the configuration, so they can be tuned to match what actually predicts a sale in your business.

My Day

My Day is each team member's call list for today, split into four buckets:

  • Overdue — follow-up date has passed
  • Due today — follow-up date is today
  • New, never contacted — fresh leads with no follow-up date
  • Next 7 days — what is coming up this week

Each row shows the score, stage and due date, with Call and WhatsApp buttons. Staff see only their own leads; admins and managers can filter by team member.

Calling screen

The Dialer page turns your lead list into a focused calling session — one lead on screen at a time.

  1. Filter by stage or search by name/number.
  2. Tap Call — on a phone this opens the dialer with the number filled in.
  3. After the call, choose the call outcome, write notes, set a follow-up date and optionally move the stage.
  4. Press Save & Next → to log everything and jump to the next lead, or Skip.

From the same screen you can send a pre-filled WhatsApp message (“we tried calling you” or product details) with one tap.

Need to dial hundreds of numbers back-to-back? Use the Auto Dialer Android app, included free with the CRM.

WhatsApp & email from a lead

Every lead page has quick actions to contact the lead:

ActionWhat happens
CallOpens the phone dialer (click-to-call)
WhatsApp — product detailsOpens WhatsApp with your “product details” template, personalised with the lead's name and product
WhatsApp — we tried callingOpens WhatsApp with your missed-call template
EmailSends an email from your verified sender. The recipient is always the email on the lead record.

Templates support the placeholders {name} and {course} (the product the lead is interested in). Edit them in Settings.

Emails are throttled to 60 per user per hour to protect your sender reputation. 10-digit phone numbers are treated as Indian (+91) numbers for WhatsApp links — include the country code for other countries.

Importing leads (CSV)

Leads → Import accepts a CSV file — a Meta Ads Manager lead export works as-is.

  • Columns are matched automatically: Name, Phone / WhatsApp / Mobile / Contact number, Email, State.
  • At least a name and a phone column are required.
  • Phone numbers are normalised, so +91 93154-57961 and 9315457961 are recognised as the same person and duplicates are skipped.
  • Choose a team member to assign all imported leads to, or leave them unassigned.

Automatic lead capture (webhook)

Send leads from your website, Zapier/Make, Meta Lead Ads or Google Lead Forms straight into the CRM. Your webhook URL is shown under Settings → Automatic lead capture:

POST https://yourdomain.com/webhook_lead.php?token=YOUR_WEBHOOK_TOKEN

The token can also be sent in an X-Webhook-Token header. JSON and form-encoded bodies are both accepted. Recognised fields:

FieldAccepted names
Namename, full_name, or first_name + last_name
Phonephone, whatsapp, mobile, phone_number
Emailemail
Otherstate, current_status
Attributionutm_source/source/platform, utm_medium/medium, utm_campaign/campaign/campaign_name, utm_content, utm_term

Meta's nested field_data format is flattened automatically. Example:

curl -X POST "https://yourdomain.com/webhook_lead.php?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Riya Mehta","phone":"+919876543210","email":"riya@example.com","utm_source":"meta","utm_campaign":"oct-leadform"}'
ResponseMeaning
201 createdNew lead added and auto-assigned
200 duplicateSame phone already exists — merged into the existing lead
422 rejectedMissing name or phone
401 unauthorisedWrong or missing token
429 rate limitedMore than 300 requests per hour from one IP

New leads are assigned round-robin to the team member with the fewest open leads. Every webhook call is logged.

Public enquiry / enrolment form

The CRM includes a public form (enroll.php) you can link from ads and your website. It collects name, date of birth, gender, email, WhatsApp number, address, state, PIN code and the product chosen, optionally a payment screenshot, then sends the person to the payment page.

  • Protected with a CSRF token, a hidden bot trap and a limit of 5 submissions per IP per hour.
  • Duplicate phone numbers are detected.
  • UTM parameters in the link are saved with the lead for attribution.
https://yourdomain.com/enroll.php?utm_source=meta&utm_medium=cpc&utm_campaign=oct-cold

Deleting & restoring leads

Deleting a lead moves it to the Recycle Bin instead of destroying it. From there you can restore one lead, restore all, or empty the bin permanently. “Delete ALL leads” requires typing a confirmation phrase, and permanent deletion needs a second typed confirmation.

Customers

When a lead buys, create a customer record (the “Students” section). A record holds:

  • Full name, date of birth, gender, WhatsApp number, email
  • Full address, district, state, PIN code
  • Optional guardian / parent names and qualification
  • Product / plan (“course”) and batch
  • Total fee — auto-filled from the product price, editable
  • Discount with a reason (scholarship, offer…)
  • Status: Active, Completed, Dropped or Revoked
  • Optional ID number (masked to the last 4 digits everywhere except the edit form)

Import existing customers from CSV (the header row is skipped and duplicates on phone are ignored), and export them anytime. Dropped and revoked customers are listed separately with what they paid and what was written off.

Payments, instalments & receipts

Each customer page shows the fee, discount, amount paid and balance due. Add a payment with:

FieldOptions
Payment forRegistration Fees, Full Payment, Instalment 2, Instalment 3, Other
MethodCash, UPI, Bank Transfer, Card, Cheque
Amount & datePayments above the outstanding balance need an explicit confirmation tick
  • Send payment link — sends your saved payment link for the selected instalment to the customer on WhatsApp.
  • Public payment page — a page listing your payment options and links.
  • Receipts — printable receipt for every payment; use “Print / Save as PDF”.
  • Confirmation email — send a registration confirmation with product, batch, timing and start date, with live preview.

Products / plans

The Courses page is your product catalogue: name, duration in months and total price. The price auto-fills new customer records, and each product shows how many customers are enrolled. Rename the labels to match what you sell — services, packages, memberships or courses.

Income, expenses & reports

PageWhat it does
Other RevenueRecord income that is not a customer payment (source, amount, date, note)
ExpensesRecord spending by category: Salary, Rent, Utilities, Marketing, Equipment, Software, Misc
ReportsMonth-by-month: customers enrolled, fees billed, collected, pending, other revenue, expenses and net

Reports include completed and revoked customers, so past months never shrink.

Ad spend, funnel & ROAS

This is how you prove which ads make money.

  1. Put UTM parameters on every ad link or lead form, e.g. utm_source=meta&utm_campaign=oct-cold.
  2. Record what you spend under Ad Spend: date, platform (Meta, Google, YouTube, LinkedIn, Other), campaign name, amount and note. The campaign name must match utm_campaign exactly — the page suggests names it has already seen on your leads.
  3. Open Funnel & Attribution.

For each campaign and each team member the Funnel page shows:

MetricMeaning
LeadsLeads received
DemosLeads that reached a demo stage
EnrolledLeads that became customers
Conv.Conversion rate
SpendAd spend recorded
Cost / leadSpend ÷ leads
Cost / enrolmentSpend ÷ customers
RevenueMoney actually collected (not just billed)
ROASRevenue ÷ spend

It also shows a stage-by-stage funnel with conversion percentages, a breakdown of lost reasons, and a leaderboard per team member.

Team & roles

RoleCan see
AdminEverything: leads, customers, money, reports, settings, staff
ManagerAll leads and the funnel reports — no money, customers or settings
StaffOnly their own leads, My Day and the calling screen
  • New users must change their password at first login.
  • Admins can reset passwords and deactivate users — deactivated users can't log in but stay in reports.
  • Every user can change their own password (minimum 8 characters).

Activity log

Activity Log records who did what, when and from which IP — logins, lead changes, deletes, payments and settings. Filter by area and person.

Security & backups

  • Login rate limits: 10 attempts per IP and 5 per username every 15 minutes.
  • Hardened sessions with an 8-hour idle timeout.
  • HTTPS forced, directory listing disabled, configuration and data files blocked from the web.
  • Uploads verified as real images, renamed randomly, capped at 5 MB, and never executable.
  • Export / Backup downloads every table plus a leads CSV. Take a backup before any update.

Overview

AI Email Marketing is the email campaign studio included with the CRM. It runs as its own module on the same server and sends through your email service (Brevo) with an AI writer (Claude).

PageWhat it does
DashboardCampaigns, emails sent, contacts, click rate and queue status
Create CampaignWrite or AI-generate an email and send or save as draft
ContactsImport and manage your email list
Campaign HistoryStatus, progress, pause / resume, delete
AnalyticsOpens, clicks, top links, unsubscribes, failed sends
SettingsKeys, sender identity, sending limits, test email, password

Email setup

  1. Visit the email module (e.g. https://yourdomain.com/email/) — the first visit opens setup to create the admin login.
  2. Open Settings and add your Brevo v3 API key and your Anthropic API key (for AI writing; choose the Claude model).
  3. Set the sender email — it must be a verified sender in Brevo. Authenticate your domain with SPF and DKIM in Brevo: this is the single biggest factor in landing in the inbox.
  4. Enter your company name and address — required in the footer of bulk email.
  5. Set a random cron secret key, a batch size per run and a daily send cap.
  6. Press Send test to confirm sending works.
  7. Add the sending cron job (every minute):
php /home/USER/domains/yourdomain.com/public_html/email/cron/worker.php
# or, if CLI cron is not available:
wget -q -O /dev/null "https://yourdomain.com/email/cron/worker.php?key=YOUR_CRON_KEY"

Brevo's free plan allows 300 emails a day, so the daily cap defaults to 290. A 500-person campaign then drips out over two days. Upgrade Brevo and raise the cap to send faster.

AI email writer

In Create Campaign → AI Email Generator, describe what you want and the AI writes the complete email:

You enterYou get
Business name*, industry, product / service*Subject line
Offer, target audience, goal of the emailPreview text
Tone: Formal, Friendly, ProfessionalResponsive HTML design
Primary link / CTA URLPlain-text version, call-to-action button and footer
  • Regenerate as many times as you like.
  • Edit the HTML or text by hand and see a live preview.
  • Or start from a ready template: Sales, Promotional, Follow-up, Reminder.
  • Add your logo (replaces {{logo_url}}) and attachments up to 8 MB each.

Campaigns & sending

A campaign has a name, subject, preview text, sender name, reply-to, the HTML and plain-text body, logo and attachments. Choose recipients (all contacts, or upload / paste a list of up to 500), then Save draft or Send.

Sending is done by the cron worker in batches, never above your daily cap, so large lists drip out safely. Pause, resume or delete any campaign from Campaign History.

Merge tags

TagFilled with
{{name}}Recipient's name
{{email}}Recipient's email
{{unsubscribe_url}}One-click unsubscribe link
{{cta_url}}Your primary link
{{logo_url}}Your uploaded logo
{{company_address}}Your company address

If you remove the unsubscribe tag, a compliant unsubscribe footer is added automatically.

Contacts & unsubscribes

  • Upload a CSV or paste emails (one per line, or email,name) — up to 500 per import.
  • Duplicates are removed automatically.
  • Each contact shows its status; unsubscribed contacts are never emailed again.
  • Unsubscribe is one click from any email.

Analytics

Per campaign: sent, opens and open %, clicks and click %, top clicked links, unsubscribes and failed sends with the error.

Open tracking uses a pixel and is unreliable (Apple Mail pre-loads images). Clicks are the number to trust.

Troubleshooting

ProblemFix
“Database connection failed”Check the DB values in config.local.php
Sent to migrate.php after loginPress Run migration — the database needs new columns
Emails not sendingCheck the cron job, the Brevo key, that the sender is verified, and the daily cap
Cost per lead shows nothingThe Ad Spend campaign name must exactly match the leads' utm_campaign
Webhook returns 401The token in the URL/header does not match WEBHOOK_TOKEN

FAQ

QuestionAnswer
Is there a user or lead limit?No. Unlimited users and leads, limited only by your server.
Can I rename “Courses” and “Students”?Yes — labels can be changed to Products and Customers to fit your business.
Who owns the data?You. It lives on a server in your name.
What does support cost after 3 months?Pay only when you need help — no yearly contract.

Need help? Every purchase includes three months of support. Contact us and we'll walk you through it.