Skip to content

Shoptet

Bring the customers and orders of your Shoptet e-shop into the Daktela CRM, so agents know who is calling and what they ordered β€” without opening the Shoptet administration.


What it does and when to use it

The Shoptet integration regularly imports data from the XML exports of your Shoptet e-shop into a Daktela CRM database:

  • Registered customers become Daktela CRM contacts.
  • Companies from the customers' billing details become Daktela CRM accounts, and each contact is linked to its company.
  • Orders become Daktela CRM records of a record type you choose, with the order's details and items. Each order is linked to a contact β€” if the order has a phone number, to an existing contact with the same phone number or e-mail; otherwise, or if none matches, to a new contact created from the order.

Data flows one way, from Shoptet to Daktela. Shoptet stays your master system; Daktela keeps a copy that agents work with and refreshes it about every 12 hours.

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 and company right away.
  • Answer order questions. When a customer asks about an order, the agent finds it in Daktela's CRM β€” with its number, status, price and items β€” without opening Shoptet.
  • Jump to the shop. Contacts and orders can carry a link that opens them in the Shoptet administration.
  • Serve B2B customers. Customers who buy for a company are grouped under one account by the company ID.

Tip

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


Prerequisites and setup

Prerequisites

  • In Shoptet: an administrator account that can export customers and orders.
  • In Daktela: an administrator account with access to Settings β†’ Integrations, and a CRM database to import the data into.
  • For orders: a CRM record type in Daktela for the imported orders.

The integration reads three permanent export links from Shoptet β€” one for customers and two for orders. Each link contains a secret hash that you copy into Daktela.

  1. In the Shoptet administration, click Customers.

    Customers menu in the Shoptet administration

  2. Click Export Customers.

    Export Customers option in Shoptet

  3. Keep the XML export type and uncheck Allow only for concrete IP address. Copy the permanent public link. The part after hash= is the value for the Hash field in Daktela.

    Customer export with the IP restriction unchecked and the customer hash highlighted

  1. Click Orders.

    Orders menu in the Shoptet administration

  2. Click Export Orders.

    Export Orders option in Shoptet

  3. Select the Shoptet - XML export type. Daktela expects exactly the structure of this export.

    Shoptet - XML export type selected in the order export

  4. Under Included orders, select All and uncheck Allow only for concrete IP address. Copy the permanent public link. From it you need:

    • the value after patternId= for the Orders pattern field;
    • the value after hash= for the Orders hash field.

    Order export for all orders with the IP restriction unchecked and the link highlighted

  5. Now select Only new or updated and again uncheck Allow only for concrete IP address. The link changes to the order feed (ordersFeed.xml). The value after hash= is for the Orders feed hash field.

    Order feed for new or updated orders with the IP restriction unchecked and the order hash highlighted

If your export links contain a partnerId parameter, note its value too β€” you'll need it for the Partner ID field.

Step 3: Connect Shoptet in Daktela

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

    Field What to enter
    CRM Database The Daktela CRM database the data is imported into.
    CRM Record type The record type for the imported orders.
    Instance URI The base address of your e-shop, for example https://12345.myshoptet.com or your own domain.
    Partner ID The value of the partnerId parameter from the export links.
    Hash The customer export hash from Step 1.
    Orders hash The hash of the order export for all orders from Step 2.
    Orders feed hash The hash of the order feed for new or updated orders from Step 2.
    Orders pattern The patternId value from Step 2.
  3. Click Authorize. Daktela checks the settings by downloading the customer export and the order feed.

Step 4: Pair the fields

  1. A list of your Daktela CRM fields opens. Choose the Shoptet field that fills each Daktela field:
    • Contact pairing β€” contact fields from the customer export (name, e-mail, phone, billing and shipping addresses, customer group, price list and more), and account fields from the company in the billing details.
    • Order pairing β€” CRM record fields from the order export, including the order items.
  2. 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 imports the first five customers and orders right away and shows how many were processed.


Technical details

Topic Behaviour
Direction One-way, Shoptet β†’ Daktela. Nothing is written back to Shoptet.
Connection Daktela passes the settings to the Daktela integration service, which downloads the Shoptet XML exports on its behalf. The exports must not be restricted to specific IP addresses.
Authentication The secret hashes in the export links. No Shoptet user name or password is needed.
Endpoints Customers: <Instance URI>/export/customers.xml?partnerId=…&hash=…. Orders, first run: <Instance URI>/export/orders.xml?patternId=…&partnerId=…&hash=… (Orders hash). Orders, later runs: <Instance URI>/export/ordersFeed.xml?patternId=…&partnerId=…&hash=…&updateTimeFrom=… (Orders feed hash).
Schedule About every 12 hours. The large XML exports make a more frequent sync impractical.
Incremental sync Customers: every run downloads the whole customer export. Orders: the first run downloads all orders, later runs only the orders changed since the previous run (the updateTimeFrom parameter of the order feed). A failed run counts as a run too, so orders changed before it aren't requested again β€” use Complete sync if orders are missing.
Complete sync To download all orders again β€” for example after you changed the pairing β€” open the configuration, check Complete sync and save. The next run reads everything.
Order of entities Companies (accounts) are created together with the contacts, then orders are imported.
Batch size The integration service downloads each export once per run and hands the records to Daktela in pages of 100.
Not supported Products, invoices and other Shoptet data. Records deleted in Shoptet are not deleted in Daktela.
Multiple configurations You can connect more than one e-shop, or import into more than one CRM database. Each configuration has its own tile, titled with its Instance URI.

How records are matched

  • Every imported contact, account and record gets the Daktela unique name <configuration ID>_<Shoptet ID>. Daktela remembers this pairing, so later changes in Shoptet update the same Daktela record instead of creating a duplicate.
  • Contacts: the customer's GUID always fills the unique name and the full name from the billing address always becomes the contact title β€” these two are paired automatically. First name and Last name are taken from the first and last word of that name. The e-mail and phone come from the customer's login accounts, so a customer can have several. All other fields follow your pairing from Step 4.
  • Accounts: when a customer's billing details contain a company, the company ID always fills the account's unique name and the company name its title; you can also pair the VAT ID. Customers with the same company ID share one account. Customers without a company are imported without an account.
  • Orders: the order ID always fills the unique name and the order code always becomes the record title. Every imported order gets the stage OPEN, even on later updates. Shipping and payment lines are left out of the order items. For an order with several items, each item gives one value; in a single-value Daktela field, the values are joined with spaces.
  • Order β†’ contact: an imported order isn't tied to a Shoptet customer. If the order's phone number is paired to a record field with the internal name number (and its e-mail to email), Daktela first looks for an existing contact with the same phone number or e-mail and links the order to it. Otherwise it creates a new contact for the order, titled with the billing name β€” so guest orders, or orders without a phone number, create a contact of their own.
  • URL: contacts can link to <Instance URI>/admin/zakaznici-detail/?id=<ID> and orders to <Instance URI>/admin/objednavky-detail/?id=<ID> in the Shoptet administration.
  • If you delete an imported record 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 download an export, Shoptet rejects a hash, or some records can't be saved β€” the Shoptet 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 can't connect or download an export, administrators also receive an e-mail notification β€” once, and not again until a run connects successfully.

Integration sync error warning banner

Common causes:

  • Invalid file returned or Invalid instanceUri β€” Shoptet returned an error page instead of XML. Check the Instance URI and the hashes, and that Allow only for concrete IP address is unchecked on every export.
  • Couldn't get file in time β€” Shoptet didn't start sending the order export within 15 seconds. The run continues with the other data; if orders are missing afterwards, run a Complete sync.