What does CRM integration connect?
CRM integration brings customer data from your web form, WhatsApp, email and ERP into one customer record that shows who asked for what and when. Three decisions shape the setup: how you recognize the same person, which system owns each piece of data, and who notices when a record fails to transfer. If you are still choosing the CRM, read our comparison of ready-made, ERP-linked and custom CRM first.
What data does each channel bring?
| Channel | Incoming data | Typical trigger | Equivalent in the CRM |
|---|---|---|---|
| Web form | Name, email, phone, subject, source page, consent boxes | Form submission | New lead or a request on an existing record |
| Phone number, message, time | Customer message | Conversation history, request if needed | |
| Sender address, subject, attachment | Incoming message | Conversation history, quote follow-up | |
| ERP | Customer account, order, invoice, balance | Account or order change | Sales and risk data on the customer card |
The first three channels create new requests. The ERP feeds the commercial status of an existing customer. This difference also sets the direction of data flow.
Recognizing the same person: the matching rule
The most common outcome of an integration is one customer with three records: by email from the form, by phone from WhatsApp, by company name from the ERP. Decide first which field counts as identity. Ready-made products usually use email; for example, HubSpot's documentation states that contacts are deduplicated by email address and companies by domain name, and that a form submission with an existing email is added to the existing contact.
In B2B this may not be enough, because several people write from the same company and a WhatsApp message carries no email. We suggest a two-layer rule:
- Person: email, or the phone number converted to E.164 format (one spelling with the country code).
- Company: tax number or ERP account code; domain name if neither exists.
When the rule finds no exact match, flag a "possible match" instead of merging automatically. Separating two wrongly merged customers takes more work than cleaning a duplicate.
Web forms: store the source and the consent
Three things cannot be added later to a form record: the page it was sent from, campaign parameters (UTM) if present, and the consents. If the submission cannot be written to the CRM (maintenance, API errors), the record must not be lost: store it on your side first, then retry.
Consent involves two separate jobs. Processing personal data falls under Turkey's data protection law (KVKK) and needs a privacy notice and, where required, explicit consent. Commercial electronic messages (campaign SMS, email, calls) require prior approval of the recipient as a rule under Article 6 of Law No. 6563 (in Turkish). The same article says no separate approval is needed for messages about changes, use and maintenance of goods or services supplied to a recipient who gave contact details to be contacted, and that merchants and tradespeople may be sent messages without prior approval. According to the Message Management System (İYS) FAQ, merchant and tradesperson addresses still have to be registered in İYS before sending. Keep channel, date, source and text version for every consent in the CRM, and remove a recipient from all lists the same day an opt-out arrives. This section is not legal advice; have your legal advisor approve your texts.
WhatsApp: window and template rules
Messages in the WhatsApp app on a personal phone cannot be transferred to a CRM in a structured way. Integration uses the WhatsApp Business Platform (Cloud API), and the platform's rules shape the flow:
- When a customer messages or calls you, a 24-hour customer service window opens; each new message restarts it.
- While the window is open you can send free-form messages; once it closes, only pre-approved template messages go out.
- You may only message users who have opted in.
- Template messages are priced by category and Meta changes pricing from time to time; check the current table on Meta's pricing page.
In CRM terms: every conversation should show when its window closes, and a closed window should offer approved templates instead of a free text box.
Messages reach your server from the platform as webhooks (event notifications). As Meta's webhook documentation describes, each notification carries a SHA-256 signature in the X-Hub-Signature-256 header; verify it with your app secret and answer the request with 200. Responding quickly and leaving processing to a queue stops a slow CRM from blocking the message flow.
Email: do not transfer every message
Connecting the whole sales inbox to the CRM makes history visible, but newsletters, auto-replies and internal mail come with it. Our suggestion: link correspondence with known contacts automatically, send messages from unknown addresses to a review queue and keep personal mailboxes out of scope. Decide up front who can see attachments and sensitive information.
The ERP connection: a data ownership table
If the ERP and the CRM write the same field in both directions, soon nobody knows which value is right. Give each field one owner. An example split (our suggestion):
| Data | Owner | Direction |
|---|---|---|
| Lead, opportunity, call note | CRM | Does not go to ERP |
| Account code, legal name, tax data | ERP | ERP to CRM |
| Contacts and their details | CRM | To ERP if needed |
| Quote | CRM or ERP (only one) | Becomes an order when approved |
| Order, invoice, balance | ERP | Read-only in CRM |
When an opportunity is won, the flow works like this: the CRM asks the ERP to create the account or find the existing one; the ERP returns the account code; the code is written to the CRM record and all later matching uses it. For connection methods (REST service, database staging table, file transfer) and how they apply to Turkish ERP products, see our dealer portal and ERP integration article.
Error handling: silent loss costs the most
You see the quality of an integration when it fails. Ask these five questions when you request a quote:
- Where does a failed record wait, and who sees it?
- How many retries happen, and at what interval?
- If the same notification arrives twice, is a second record created?
- If one system is down for a day, how is the backlog completed?
- Is there a log of who changed which field and when?
Instead of opening all four channels at once, start with the web form and test the matching rule on real data. It reduces the cleanup work on the later channels.
Frequently asked questions
Which channel should a CRM integration start with?
The one where requests get lost most often. In many businesses that is the web form or WhatsApp. The web form is technically simpler and a good first step for testing matching rules.
Do WhatsApp messages reach the CRM on their own?
With the WhatsApp Business Platform, incoming messages are delivered to your server by webhook and can be written to the CRM. Chats in employees' personal apps do not arrive this way.
Can I add a form submitter to my campaign list?
Filling in a form does not by itself count as approval for every kind of commercial message. The exceptions in Law No. 6563 (messages about supplied goods and services, merchant and tradesperson recipients) are limited, and İYS registration is required as well. Have your legal advisor check your consent text and checkboxes.
Are ready-made connectors enough, or do I need custom integration?
Your CRM's connectors for forms and email are often enough. On the ERP side, account matching, dealer-specific fields or a local ERP product may need a custom middle layer. Ask the five error questions about ready-made connectors too.
If you want to find where your customer data gets lost, see our automation software and custom software development pages, or get in touch.
Sources: Deduplicate records in HubSpot (HubSpot Knowledge Base), Law No. 6563 on the Regulation of Electronic Commerce (Turkish Legislation Information System, in Turkish), Frequently asked questions (İleti Yönetim Sistemi, in Turkish), Service messages (Meta for Developers), Pricing on the WhatsApp Business Platform (Meta for Developers), Getting Started: Webhooks from Meta (Meta for Developers)
Cover photo: Unsplash