Skip to content

WooCommerce

Bring the customers of your WooCommerce store into the Daktela CRM, so agents know who is calling or writing before they answer β€” without opening WordPress.


What it does and when to use it

The WooCommerce integration regularly imports the customers of your WooCommerce store into a Daktela CRM database:

  • Customers become Daktela CRM contacts, with their e-mail, billing phone number, billing and shipping address and other customer details.

Data flows one way, from WooCommerce to Daktela. WooCommerce stays your master system; Daktela keeps a copy that agents work with.

Typical use cases

  • Recognise shoppers. An incoming call, e-mail or chat is matched to the synced contact, so the agent sees the customer's name right away.
  • Give agents context. Agents see the customer details you choose β€” for example the billing address or whether the customer has already paid for an order β€” while they handle the interaction.
  • Keep one source of truth. Customers keep registering and editing their details in your store; new customers reach the contact centre automatically within half an hour.

Tip

Daktela offers similar integrations for other e-commerce platforms, such as Prestashop, Shoptet and Shoper. See CRM Synchronisation Integrations for the full list.


Prerequisites and setup

Prerequisites

  • In WooCommerce: a WordPress administrator account that can create WooCommerce REST API keys, and a store reachable over HTTPS from the internet.
  • In WooCommerce, for Step 3: at least one customer. Daktela reads the list of available WooCommerce fields from it.
  • In Daktela: an administrator account with access to Settings β†’ Integrations, and a CRM database to import the data into.

Step 1: Create a WooCommerce REST API key

  1. In WordPress, go to WooCommerce β†’ Settings β†’ Advanced β†’ REST API.
  2. Add a key, choose the WordPress user it belongs to and set Permissions to Read.
  3. Generate the key and copy the Consumer key and Consumer secret β€” WooCommerce shows the secret only once.

The WooCommerce documentation describes these steps in detail: WooCommerce REST API.

Step 2: Connect WooCommerce in Daktela

  1. In Daktela, go to Settings β†’ Integrations and click Configure under WooCommerce.
  2. Fill in the connection form:

    Field What to enter
    CRM Database The Daktela CRM database the customers are imported into.
    CRM Record type Leave empty β€” importing orders isn't supported (see Technical details).
    Instance URL The address of your WordPress site, including https:// and without a slash at the end, for example https://myshop.com.
    Key The Consumer key from Step 1.
    Secret The Consumer secret from Step 1.
  3. Click Authorize. Daktela checks the key by reading one customer from your store.

Step 3: Pair the fields

  1. A list of your Daktela CRM fields opens. Under Contact pairing, choose the WooCommerce customer field that fills each Daktela contact field β€” for example email for the e-mail and Phone for the phone.
  2. Leave Order pairing at its defaults.
  3. Click Activate.

The first synchronisation runs within 30 minutes. To try the pairing straight away, open the configuration again and click Test Run (from version 30.0.0): it immediately imports the first five customers and shows how many were processed.


Technical details

Topic Behaviour
Direction One-way, WooCommerce β†’ Daktela. Nothing is written back to WooCommerce.
Connection Daktela passes the credentials to the Daktela integration service, which calls the WooCommerce REST API on its behalf.
Authentication HTTP Basic authentication with the consumer key and consumer secret.
Endpoints GET <Instance URL>/wp-json/wc/v3/customers?role=all&orderby=id&per_page=100&page=…&after=…. The key is verified with GET <Instance URL>/wp-json/wc/v3/customers?per_page=1 when you click Authorize.
Schedule Every 30 minutes.
Incremental sync Each run sends the time of the previous run (in UTC) as the after parameter. The first run reads everything. To read all customers again, open the configuration, check Complete sync and save.
Batch size Customers are read in pages of 100, ordered by ID.
Which users All WordPress users are requested (role=all), not only users with the Customer role.
Not supported Orders: the form offers Order pairing, but WooCommerce orders aren't imported correctly in the current version. The URL field offered in the pairing doesn't build a reliable link to the customer. Customers deleted in WooCommerce are not deleted in Daktela.
Multiple configurations You can connect more than one store, or import into more than one CRM database. Each configuration has its own tile, titled with its Instance URL.

How records are matched

  • Every imported contact gets the Daktela unique name <configuration ID>_<WooCommerce customer ID>. Daktela remembers this pairing, so later changes in WooCommerce update the same Daktela contact instead of creating a duplicate.
  • The customer ID and name are always paired automatically: the ID fills the unique name, and the customer's first and last name become the contact title. All other fields follow your pairing from Step 3.
  • Phone: WooCommerce customers have no phone number of their own; Phone is the phone number from the billing address.
  • Addresses: billing and shipping are each imported as one text, with the parts of the address separated by commas.
  • If you delete an imported contact in Daktela, the next run does not recreate it; it reports it as an error instead.

Sync errors

If a run fails β€” the integration service can't reach your store, WooCommerce rejects the key, or some contacts can't be saved β€” the WooCommerce tile in Settings β†’ Integrations shows a warning. Open it to download an error file (CSV) listing each failed record with its title, unique name, entity type and the reason. When the integration service reports a connection error, administrators also receive an e-mail notification β€” once, and not again until a run connects successfully.

Integration sync error warning banner

Common causes:

  • Unable to perform contact lookup, the response did not contain what was expected β€” WooCommerce returned an empty list, typically because nothing new was found since the previous run. Daktela reports this as a connection error, but the data that was returned has still been synchronised.
  • Errors in the form <code>:<message> β€” WooCommerce rejected the request, and its error code and message are passed on. Check that the key still exists, has at least Read permission and belongs to a user who may read customers.