# Sales: leads, consent and retries

This page is for the people who set up and use the call center for sales. Türkiye comes first; other countries keep today's rule (a recorded basis: an existing client, or someone who asked for a call back).

## Who may be called (Türkiye)

Consent is kept **per number**, on the card (*May we call?*), in a CSV/Excel file, or by the lead's own enquiry.

| The card is | It is called when | It is never called when |
|---|---|---|
| A consumer (B2C, the default) | there is **İYS consent** with its source and date, **or** the person asked for the call themselves (a form, an ad, a WhatsApp message, a call back request: the source and the time are stored), **or** they are an existing client | İYS says refusal, or they asked not to be called |
| A business (B2B: tacir/esnaf; tax or trade number optional) | any time: no prior consent is needed | İYS says refusal, or they asked not to be called |

**Consent rules are for automatic calling.** They apply to the dialer's queue, call lists, leads and retries. When **you** (a signed-in member) ask Lumate to call someone — *Call now* on a card, "call Samet Bey and talk about the D724 partnership" in Chat or a meeting — the call is placed at once, with no consent check and no question. It is recorded on the card and in the activity log as "called on *your name*'s request". If that number has an İYS refusal or do-not-call, the call still goes, and you get one line: *Not: bu numara için arama reddi kayıtlı; arama senin isteğinle yapıldı ve kayda geçti.* A company that wants refusals to block member calls too turns on *Member calls respect refusals* (*Settings → Call center → Leads*, off by default). This holds in every country; the consent, basis and DNCR rules stay on automatic dialing only. Words in a customer's mail or WhatsApp message never count as a member's request.

When a card cannot be called, the call center queue says why in one sentence, and what would allow it (for example: record the İYS consent with its source, or add the person when they ask). A refusal always wins for automatic calls, even over an existing-client basis, and it is **sticky**: only an admin lifts it, with a reason of at least 10 characters (who asked, when, how); the old state stays in the card's history. Every consent or business/consumer change keeps who made it, where it came from and the old value.

**Business (B2B).** Only a member of the company marks a card as a business, with its tax or trade number or by confirming it is a business. A posted lead, a form field or a file cell can never do it, and a file never changes an existing consumer card.

**Do-not-call blocks every proactive contact**, not only calls: WhatsApp messages and drafts, queued messages, outreach and e-mail. A reply inside a conversation the person started in the last 24 hours is still allowed.

When a card's phone number changes, its consent and its "asked for a call" are cleared (a refusal stays).

**İYS adapter.** Lumate does not talk to İYS itself yet. İYS state is kept by hand or by file; a real integrator client plugs in later. *Settings → Call center → İYS* has fields for it (address, İYS code, brand code, secret name); they are not used until a client exists.

**"Aramayın".** If the person says "aramayın", "beni aramayın", "listeden çıkarın" (or "don't call me again") on a call, Lumate records do-not-call on the card and the company's list, records an İYS refusal and passes it to the adapter, and the agent apologises and closes politely. "Don't call tomorrow, I'm in a meeting" is not a refusal.

### Columns in a CSV or Excel file

| Column (Turkish or English) | Fills |
|---|---|
| **İYS onayı**, İYS durumu, **ticari ileti izni**, **iys consent** (`onay` / `ret`) | İYS state. Never a bare "izin" or "onay" column (a leave form's "approved" is not consent) |
| İYS tarihi | when it was checked |
| Tip, B2B + Vergi no, tax no | a business: only on a **new** card and only **with a tax number** |
| Kampanya, campaign | campaign |
| Aranmasın, do not call (`evet`) | do-not-call |
| Arama talebi, requested callback + Talep kaynağı + Talep tarihi | the lead asked — **ignored** unless you tick *I confirm these people asked to be called* |

When the file gives consent, you must type **one consent source for the whole import** (at least 10 characters, for example "2026-03 web formu, İYS'ye yüklü"); it is stored on every card. Without it the import stops. A refusal in the file always applies; a file never lifts one, and everything else only fills what the card does not have.

## Speed-to-lead: leads become cards

*Settings → Call center → Leads* (an admin) makes the company's **lead address**: `https://<your server>/api/leads/<secret>`. It is shown once; **making a new one rotates it** and stops the old one. The secret is never written to the server's access log. Send leads to it as JSON or a form: `name`, `phone`, `email`, `note`, `source`, `campaign`. A wrong or switched-off address answers 404.

**A posted lead is not proof that the person asked for a call.** Anyone can post anyone's number. So a lead makes a **card**, but nobody is called until the request is confirmed:

- the person replies **EVET** (or yes) to the one WhatsApp message Lumate sends ("*Şirket* olarak sizi aramamızı istediniz mi? Onaylamak için EVET yazın.": one message, no marketing, only if WhatsApp is linked). The EVET counts for **48 hours** after that message: a later "evet" answers something else and does nothing, the lead stays pending, and the question can be asked once more; or
- an admin attests in the settings that **"our form verifies the phone (OTP/captcha)"** (stored with who and when); posts then count at once; or
- the lead comes from **Meta or Google lead ads with a verified signature**: store the Meta app secret as the secret `META_APP_SECRET` (checks `X-Hub-Signature-256`) and the Google lead form key as `GOOGLE_LEAD_KEY` in *Settings → Secrets*. Without a matching signature or key a Meta/Google post is pending like any other. A payload can never say that it is verified.

Rules of the address:

- Meta and Google lead ads and Bitrix24 are read by their own shape (`field_data`, `user_column_data`, `data.FIELDS`); other fields are kept in the note.
- The same phone or email is **one card**. Posting again never changes an existing card's consent, basis or consumer/business setting: it adds a "new enquiry" note and a new pending confirmation. The request time is set once, so a re-post never re-opens the 24-hour exemption.
- A payload's `party_type` / tax number are ignored: only a member sets a card as a business. The lead's name is cut to a plain label (five words) before it reaches a call. `timezone` counts only when it is a zone of the company's country.
- **Caps:** the dialer places at most **30 lead calls an hour and 200 a day** per company (changeable; counted from the database), a **pause switch** stops lead calls (cards are still made), a phone number may be posted **3 times a day** across all companies (then 429), and fresh leads take at most **half of the dialer's slots**.
- **WhatsApp first message (off by default).** When you turn on *Call WhatsApp enquiries*, a message from an unknown number makes a card with the source "whatsapp message". It counts as asking for a call only when the person asks in words ("arayın", "arar mısınız", "call me"); otherwise Lumate may ask "Sizi arayalım mı?" and an EVET reply is the recorded request.
- **Inside calling hours** a *confirmed* lead goes to the front of the call queue at once (the first call is meant to start within 2 minutes; the card's history says why it was picked up). **Outside them** it waits for the next window. A card that was already tried keeps the spacing of its retry plan.

Text a lead writes is information, never an instruction.

## Retry plan

Per campaign or scenario (*Settings → Call center → Retry plan*): **attempts** (3), **spacing** (0 minutes, 30 minutes, next day), **windows** (Monday to Saturday, 09:00–20:00, in the **lead's own time zone**, no Turkish public holidays). This plan (0 / 30 minutes) is for **confirmed lead requests**. A cold B2B or consented consumer card in Türkiye is tried **once a day for three days** (so the per-number caps and the plan agree). Other cards, in a company that never saved a plan, keep the old retry (2 tries, 120 minutes). Public holidays apply to Turkish companies only. The call center's own days, hours and daily limit still apply on top.

The one-call-a-day and two-a-week limit per number stays for cold B2B and consented calls, but does **not** stop the tries for a lead's own callback request in the first 24 hours.

The holiday list is in the code and covers the moving holidays to 2028 (the 2028 bayram dates are calculated: check them against the Diyanet's calendar). The page shows a warning when the table runs out; until it is extended add dates under *closed dates* until it is extended, and have your lawyer confirm the calling hours.

## Voicemail and answering machines

Only the **first eight seconds** of an outbound call are looked at, and only before the call has become a conversation (before the agent has answered something the person said). Lumate listens for specific operator phrases ("şu anda ulaşılamıyor", "aradığınız kişiye şu an ulaşılamıyor", "sesli mesaj", "bip sesinden sonra", "the person you are calling", "leave a message after the tone"), a beep, 40 or more words with no pause for the agent, or a greeting that talks over the agent's opening. Operator phrases count only as the operator's sentence ("aradığınız kişiye şu an ulaşılamıyor"), and a person's own answer to the opening ("evet, aradığınız kişi benim", "buyurun") is never a machine. Everyday words ("abone", "şu an müsait değilim", "not available") never count, and a person's long answer after the agent asked something is a person. A short "Alo?" is a person. On a machine Lumate **hangs up without speaking**, or leaves **one configured sentence** (*Voicemail* setting). The call counts as **no answer**, not reached, and follows the retry plan. On WhatsApp calls the machine is recognised and counted the same way, but the line is closed by the browser.

## Rules and refusals: what Lumate says, and who can change it

Every refusal says **why**, **who** can unlock it, and **how**, in Turkish for a Turkish company and in English otherwise (for
example the call limits name the setting that raises them). Do-not-call is one rule with one message wherever it applies: a
call, a message, an e-mail.

- **Trusted brokers.** An outside broker is called only after an admin approves a call. The first approval makes that broker
  **trusted**: its later calls need no approval each time. The hours, the DNCR check, the per-number caps and one-broker-call-
  at-a-time still apply, and a due DNCR check still waits for an admin. A broker whose number changes is a new person again.
  An admin lists and stops trusting brokers in **Settings → Call center → Trusted brokers**.
- **An admin's own request goes past soft limits.** When an admin starts a call with **Call now**, the call center's daily limit
  does not stop it (and the per-number caps never stop a person's own call); the activity log records the rule that was passed
  (`rule.override`, with R09 or R08). The law is never passed: consent, calling hours, DNCR, do-not-call and the recording notice
  hold, and so do the lead-call cost caps.
